G-dH / vertical-workspaces

V-Shell is a GNOME Shell extension that allows you to customize the layout and behavior of the Shell UI.
GNU General Public License v3.0
229 stars 19 forks source link

[FEATURE] With adaptive grid folder maximum size is too big #148

Closed meybonomme closed 4 months ago

meybonomme commented 5 months ago

The folder fits on the screen, but it is too big and there is basically almost no empty area that you can click on to exit the folder with the mouse/touchpad.

Screenshot from 2024-04-28 16-55-55

G-dH commented 5 months ago

You can use the secondary mouse button inside the folder to close it or you can click on panel or dash. You can also set the grid size dimensions.

meybonomme commented 5 months ago

Thanks, I didn't realize that a second click inside the folder can also be used to exit the folder. That said, the maximum folder width could be narrower, as the app grid aren't stretched with adaptive grid from edge to edge of the screen either.

I suggest that with an adaptive grid, the maximum number of icons per row in a folder could be the same as in the main app grid. With my screen size and fractional scaling it is 9, but inside of folder it is 12. More "air" and empty space feels much more GNOME-like and less pressed together.

G-dH commented 5 months ago

Btw, I've been refactoring and fixing the whole app grid module for the last couple of days. What about changing the folder grid dimensions options to Max Columns/Rows, so it will stay adaptive within the limits, instead of the fixed grid?

meybonomme commented 5 months ago

Sounds like a very good idea!

The built-in screen of my laptop is 15.6" 1920x1080 and I use 100% scaling there, while the external 24" 2560x1440 uses 125% scaling, so a fixed grid is not suitable for both. In the case of your proposed solution, it would be possible to adjust the folder grid to suit both.

G-dH commented 5 months ago

Please, let me know how the latest update works for you.

meybonomme commented 5 months ago
G-dH commented 5 months ago

Thanks. I sent another commit that fixes app search results highlighting and adds close button to app folder dialogs.