GNOME 3 “Always on top” keyboard shortcut not toggling off

gnome3keyboard shortcuts

This is not a big issue, but, a little annoying, and, above all intriguing.
I run a Debian 9 stable machine with Xfce 4.12 for a while, and I am setting up a GNOME desktop in parallel to try it out.

On Xfce I have a custom keyboard shortcut wmctrl -r :ACTIVE: -b toggle,above that has been working for ever toggling focused windows on top and on same level as others.

I tried the same one on GNOME 3.22 in System settings / Keyboard , I can only toggle the focused window on top of others, it does not toggle it back to same level as other windows. I have to right click the window's frame, and uncheck the "Always on top" option.

Does anyone have any idea why this could happen?

Best Answer

I noticed this too at April 2016, my workaround is use 2 keys to toggle, e.g.:

wmctrl  -r :ACTIVE: -b add,above
wmctrl  -r :ACTIVE: -b remove,above
Related Question