Closed sluedecke closed 3 years ago
A patch like this might do the trick patch-workspace-buttons-switch.txt
That's of course a possibility. I thought about that when I created these workspaces buttons. But I don' t see a case in which this new behavior could be better:
So I'm open if I see here that the new behavior allows easier clicks.
It probably depends on personal preference.
case 1: sometimes I don't want to raise a specific task, just switch to the workspace. For that the workspace button is easier to target with the mouse. Personally I appreciate and use both options: simply switch to a WS (e.g. to return to a browsing session or a video player) and switch to a specific task on a WS (e.g. to raise a tool window from a bunch of open windows, all parked on a "tool" workspace)
case 2: I agree for default configurations. Since I also use the "dash to dock" extension, I have the dock with my favorites shown on empty desktops anyways. Also I can have a look at my wallpaper in full, which is a welcome 'break' moment from time to time before I open the next task (yes, the overview shows it too, but it is not at full size)
Thinking about it, I make a lot of use of the workspace buttons and they are a lot easier to hit for me. In terms of visual categories it also makes sense to me: thinking "switch workspace" maps to "target a workspace" and the buttons are clearly distinctive from task buttons. Thinking "switch to task XYZ" maps to target a specific task icon which are visually distinctive, too.
Ok I will make a preference.
Great, sounds good, thanks a lot!
It's already reviewed. So you should get a GNOME extensions update notification soon.
That was fast :)
To quickly switch between workspaces the clicks on workspace names could be differentiated between: switch to workspace and show overview (current behaviour for any mouse button) and switch only.
Right now it requires two clicks to just switch the workspace (or a single one on a task, but this is not always desired).
So the feature request is to have different behaviour in
_toggle_ws(ws_index)
based on the mouse button.