gnome-shell-wsmatrix icon indicating copy to clipboard operation
gnome-shell-wsmatrix copied to clipboard

workspace-overview-confirm behaves unexpectedly with custom keybindings

Open cryhot opened this issue 1 year ago • 1 comments

I wanted to redefine my keybindings to close the overview popup to Super+W, because why would I have two different shortcuts for opening and closing where I could have one, and keep my fingers on the same keys?

As specified in the wiki, I redefined workspace-overview-confirm, and found several bugs. In the following I assume that I have workspace-overview-toggle to the default value ("['<Super>w']"), but behavior is the same if switching ws and us in every keybinding.

  • workspace-overview-confirm="['<Super>w']" (same as workspace-overview-toggle) :red_circle: Simply does not work. The popup will not close when pressing Super+W.
  • workspace-overview-confirm="['<Super>u']" (different keybind) :yellow_circle: Weirdly, Super+U has no effect, but Super+U+U does the job.
  • workspace-overview-confirm="['u', '<Shift><Super>u', '<Shift><Super>w']" (any of these) :green_circle: Works as expected, no repetition required.

By the way, workspace-overview-toggle doesn't toggle the popup, it only opens it. I don't know if it is a bug or a feature, but definitively misleading.

cryhot avatar Oct 13 '23 00:10 cryhot

Thanks for the report! I'm not sure if anything can be done about this, as it might be the default behavior with all keybindings (e.g. if you set the same keys for different actions). But someone could definitely have a look if this can be improved.

mzur avatar Nov 04 '23 19:11 mzur