shell icon indicating copy to clipboard operation
shell copied to clipboard

Floating Window Exceptions dialogue is tiled by default on Wayland

Open erazemk opened this issue 4 years ago • 9 comments

This is more of a feature request, than a bug (tried using chat.pop-os.org but got stuck with "No teams are available to join").

My proposition is to add the pop-shell-exceptions (the exception chooser) WM_CLASS to floating window exceptions. I haven't found a way yet to add it by myself since it only shows other windows and doesn't allow to manually specify a WM_CLASS.

erazemk avatar Nov 06 '20 10:11 erazemk

Why change the class?

mmstick avatar Nov 06 '20 12:11 mmstick

Why change the class?

Not change the class, add the class to the list of exceptions, so that when you open the Floating Window Exceptions program it is automatically floating.

Screenshot from 2020-11-06 13-31-29

^ | ----- I propose this window is floating by default (WM_CLASS pop-shell-exceptions)

erazemk avatar Nov 06 '20 12:11 erazemk

It's a dialog window, so it is floating by default.

mmstick avatar Nov 06 '20 13:11 mmstick

It's a dialog window, so it is floating by default.

I can't record it, since I'm on Wayland, but when clicking the "Floating Window Exceptions" button, it automatically opens it in tiling mode, not as a floating window. I have to manually press Win+G to make it floating.

erazemk avatar Nov 06 '20 13:11 erazemk

image I'm on Wayland and since the very beginning Floating Window Exceptions is always tiled. Can you have look into this?

kgarlicki avatar Nov 07 '20 08:11 kgarlicki

Any update on this? This issue is still present on Wayland and can't be bypassed, since you can't manually specify a class to add to floating window exceptions.

erazemk avatar Aug 12 '22 23:08 erazemk

since you can't manually specify a class to add to floating window exceptions.

You should be able to do so by editing the config file at ~/.config/pop-shell/config.json.

jacobgkau avatar Aug 12 '22 23:08 jacobgkau

You should be able to do so by editing the config file at ~/.config/pop-shell/config.json.

Thanks :)

Edit: adding "class": "pop-shell-exceptions" doesn't work.

erazemk avatar Aug 12 '22 23:08 erazemk

@erazemk Adding { "class": "pop-shell-exceptions" } inside float works for me (on Ubuntu 22.04). Anyway it should really be floating by default.

Lun4m avatar Aug 24 '22 17:08 Lun4m