mzur / gnome-shell-wsmatrix

GNOME shell extension to arrange workspaces in a two-dimensional grid with workspace thumbnails
GNU General Public License v3.0
458 stars 58 forks source link

Matrix in ubuntu 21.10 and gnome mouse events #197

Closed icegood closed 2 years ago

icegood commented 2 years ago

Pre-conditions: 1) extension v 31 is installed over gnome 40 in ubuntu 21.10 2) 9 static workspaces are defined

Use case:

1) Locate mouse button over left bpanel with applications and start to scroll

Expected result: either no actions happen or 'smart' scroll within workspaces occur in matrix mode.

Actual result: occurs 'native' scrolling within desktops. Moreover, not all WS's are scrolled: scrolled only one horizontal line defined in matrix for which active workspace belongs to. I.e. if active workspace in 3x3 is #6 then 4-5-6 are reachable within scrolling. See picture below

ScrollMouseOverLeftPanel

ebeem commented 2 years ago

Yup, I noticed that scrolling in the overview skips the rows, but where are you scrolling in your case? Is this some other extension you have installed? I am not aware of a way to scroll workspaces with the mouse wheel other than the overview.

icegood commented 2 years ago

Scrolling is on 'dash panel' with applications as it was mentioned in the use case. Sorry, the mouse arrow is not captured by screenshot. This panel doesn't belong to any extension

ebeem commented 2 years ago

I think Ubuntu uses this extension https://github.com/micheleg/dash-to-dock/ If it's the one you're using, then it's probably hard to fix as integration between extensions isn't always easy. So if I am not mistaken, this dash you have is not part of gnome-shell right? its just an extension.

icegood commented 2 years ago

no, i've just installed this extension to see if something changes. Same effect

icegood commented 2 years ago

Unistalled back. Played a bit with build-in ones. Found "Ubuntu dock" is a one!

icegood commented 2 years ago

https://extensions.gnome.org/extension/1300/ubuntu-dock/

ebeem commented 2 years ago

Yes, what I am trying to say is, because dash-to-dock or the dash panel or ubuntu-dock (which is a fork of dash-to-dock) you have is a 3rd party extension (not gnome-shell built-in). Then it's hard to make it integrate well with wsmatrix (this extension). We will have to basically add a lot of code to ensure that all the available extensions are integrated well which is out of the scope of wsmatrix.

Of course there's nothing stopping you from modifying the code to get the behavior you want, but that's probably something you will need to tweak in dash-to-dock and not wsmatrix.

icegood commented 2 years ago

OK, tnx. Anyway now I know a reason...

ebeem commented 2 years ago

Sure, thanks for reporting this.