axxapy / gnome-ui-tune

Tunes overview UI of the gnome 40 a bit
GNU General Public License v3.0
102 stars 10 forks source link

Workspaces going out of bounds #7

Open MrNinso opened 3 years ago

MrNinso commented 3 years ago

workspaces_going_out_of_bounds

axxapy commented 3 years ago

It would be nice if you could provide at least some description of the bug: Steps to reproduce among with some basic general info like your distributive, etc.

Also, one thing you should try is to disable all other extensions, restart your system and check if bug still persists. There is high chance that it is caused by the extensions' conflict(s).

MrNinso commented 3 years ago

Sorry, I was kinda hurry and forgot to give the context A brief description: I'm using Fedora 34 with gnome 40.1 When I create +11 workspaces they are going off the screen, and I did the same test with all other extensions disabled and the bug still persists

and in this second test I'm going to be a little extreme and I created +26 workspaces:

WTF2

when the workspaces are resized they go to the right instead of the left

axxapy commented 3 years ago

I see. Thank you for the explanation. I tried with vanilla gnome 40 - same thing. It simply does not support that many workspaces:

Screenshot from 2021-06-01 21-22-26

I'll keep this bug open for case if easy fix will be found (PR is welcome) but don't think it's actually worth looking into

lacereation commented 3 years ago

This has nothing to do with this extension. The same thing happens without this extension.

I was disappointed with the tiny size of the workspace sizes so I appreciate this extension. However they are still too small for my liking so in modScaleThumbnails.js I experimented with changing

workspaceThumbnail.MAX_THUMBNAIL_SCALE = 0.1

I am working with 8 Workspaces. I was able to increase the size...

workspaceThumbnail.MAX_THUMBNAIL_SCALE = 0.13

I get the margin on the left side too. It looks like something that could be tweaked in the CSS. The Workspace thumbs probably need to be centered and resized based on the width of the monitor and the number of the thumbnails. That does not seem like a small, easy job! I've done web js + css, but do not know my way around the Gnome ecosystem. I am interested in dialing it in, perhaps I will come up with something.

The first thing to be done should probably be a gnome bug report.