raonetwo / MaximizeToWorkspace

Moves windows to new workspace when Maximized and moves them back when Unmaximized. Inspired by https://github.com/rliang/gnome-shell-extension-maximize-to-workspace with history support
MIT License
32 stars 10 forks source link

Telegram image preview opens as full screen app #6

Open SaucySauce opened 3 years ago

SaucySauce commented 3 years ago

Whilst using the Wayland session with Telegram in Wayland mode, the image preview is recognized as an independent window and as such will move to another workspace, clicking away won't go back to the main Telegram window.

This is a Wayland issue and after talking to Telegram devs they said it's not caused on their side.

Could it be possible to add exceptions to the extension so the preview feature isn't recognized by the extension or maybe force the closing of the preview window to shift back to main Telegram window?

raonetwo commented 3 years ago

Hi, I will look into it, next month, I am a bit busy in March. Also since I do not use telegram and am not sure how image preview works there, I will have to create an account and test that out. I am using Ubuntu 20.04 which does not use wayland (yet) by default, so I will have to set that up as well.

It should be a check on windowtype/frametype, but will test and confirm. I am also willing to accept a PR if someone wants to try their hand at this earlier.

raonetwo commented 3 years ago

Was busy last two months, Let me see what can be done, this weekend.

SaucySauce commented 3 years ago

Thank you.