Skip to content

Signal window not 'manageable' after restoring from the 'tray' window #1145

@hipnoizz

Description

@hipnoizz

Describe the bug
After running Signal (https://signal.org/), closing it and reopening PaperWM is not able to manage the Signal window - it can't be really moved or resized etc.

To Reproduce
Steps to reproduce the behavior:

  1. Install Signal.
  2. Run it (signal-desktop).
  3. File->Preferences, then General->System, and check Minimize to system tray.
  4. Close the window, and run Signal again (I think this is needed to the apply the above setting). You should see the Signal icon in the tray now.
  5. Close the Signal window.
  6. Click on the tray icon and click 'Show'.

Now Signal window looks our of order - see the image below (the red rectangle is just the obscured contact list, ignore it please). With many windows it won't be even visible - in the windows overview it will be placed in some weird location between workspaces. It cannot be really moved - after clicking on the title bar and moving the mouse it will disappear until the button is released. It won't react to PaperWM shortcuts (move the window left or right etc.).

Image

System information:

Distribution: Ubuntu 24.04.4 LTS (Noble Numbat)
GNOME Shell: 46.0
Display server: Wayland
PaperWM version: 49.0.1
Enabled extensions:
- switcher@landau.fi
- clipboard-indicator@tudmotu.com
- eepresetselector@ulville.github.io
- paperwm@paperwm.github.com
- ubuntu-appindicators@ubuntu.com
- ubuntu-dock@ubuntu.com

Additional context

Alt+F2, then lg and collecting a bit of windows info via JS shows (sorry, I don't know how to copy from the Looking Glass console):

Image

So the height/width of the Signal window is 0.

I added the following winprop rule to PaperWM - that forces the width = 600 px and seems to work around the issue:

Image

I didn't dig deeper - I think that Signal is an Electron app, maybe it resizes the window in some weird way after restoring from the tray.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUndesirable behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions