-
-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
horizontal thumbnail representation in overview #32
Comments
This sounds like an option for the 2D workspace list in the activities overview that is planned in #13. You are welcome to support the development there. |
I don't seem to have any ability to reopen a closed issue. That said, isn't a horizontal representation just a grid of 1 row by n columns (which #50 should be able to do, yes?) but displayed along the bottom of the overview instead of the side? |
Correct but #50 does not implement a switch to move the workspace list to the bottom so this issue is not addressed there. I'll reopen this issue for you. |
Indeed, understood. My point was just that the "extra code" for that should be minimal. Just a toggle and different placement code (of the grid) based on the toggle. |
Feel free to contribute to #50. After that we can talk about extra code 😉 |
I would but JS isn't one of the languages I am fluent in and neither is gnome-shell an environment I'm familiar with. |
so I checked this out, the PR you sent seems to not show the grid in a horizontal way, but rather, just displays the grid on the bottom of the screen. In other words, if you have 2 rows and 4 columns, it will look nice, but if you have 4 rows and 2 columns, it will look ugly. the code that's used in the PR is very simple, anyone can try it out. let controls = Main.overview._controls;
controls._group.remove_actor(controls._thumbnailsSlider.actor);
let bin_thumbnails = new St.Bin({
child: controls._thumbnailsSlider.actor,
x_align: St.Align.MIDDLE
});
Main.overview._overview.add(bin_thumbnails); |
Yeah, pasting that into Looking Glass does put the thumbnails on the bottom, but as you say, it looks ugly with the default 1 column and (in my case) 3 rows. Would I need #50 to switch that to 1 row and 3 columns? |
maybe switching rows and columns can fix it, but the ultimate solution will probably be redesigning the overview or the switcher to handle grid/matrix workspaces. Otherwise, there will always be some scenarios where the grid/matrix can't fit the overview. if we can improve the switcher to handle all the DnD, then we will probably not need the overview to handle workspaces anymore. Check this comment for more info #13 (comment) |
Any thoughts on the excessive space usage? Other than that, I'd not see why this solution couldn't be formalised into a knob for this extension. |
I think it still needs a lot of improvement before releasing it |
@ebeem Could you expand? Are you referring to the overly aggressive space use of the horizontal thumbnails or other stuff? |
yes, space utilization and layout management For now, I see these problems in the provided solution. 1- The position of the 2- The |
@ebeem I disagree with point #1. I think the position of the box is more an artefact of the physical screen dimensions, not the workspace layout. But that is just my opinion, which differs to yours. That suggests to me that this is going to be subjective and probably just needs a user-toggle knob to let the user decide which he likes best. I think your point number 2 is just re-iteration of my observation of the space usage/wastage, yes? |
yeah, the screen dimensions is probably another factor that we will have to consider before deciding the position of thumbnails box, I think we can just keep the default right position and allow users to change the behavior in preferences to top/right/bottom/left as you said. yes, the observation is the same. Please feel free to add any other points or comments so we create a list of tasks for this feature in case someone is willing to contribute. |
In all honesty, my only (minor enough that I use it as is) issue is the extra space below my 3 horizontally configured workspaces in the thumbnails. |
So for everyone asking for a solution for only one row of horizontally configured workspaces here is my solution: in OverviewOverride.js: add the following import at the top:
add the following (note the 150 for the height of 1 single row)
add the following
I would be glad if anyone more familiar with gnome-shell extensions improved the code further and made it available through a commit or similar... |
Note: this doesn't seem to persist after standby. |
@JoeKays Suggestion works here. I noted that 150 was too small and increased it to 450. Better. There's still space wastage under the row of thumbnails at the bottom though. Still better than the wastage on the side of a monitor in portrait orientation. |
@JoeKays figuring out how we can make it persists after suspend is not hard, I can look that up when I have some time. The @brianjmurrell has a portrait-oriented monitor, this makes his thumbnail size totally different than what we usually get in normal cases. so assuming the height of each thumbnail =
I think in most cases we will have |
@JoeKays hack in #32 (comment) doesn't seem to work on the latest version. It results in no workspace thumbnails, just thumbnails for the windows in the current workspace. |
I'll close this issue as we don't plan to implement such a feature here. Custom implementations can be maintained in a fork. |
There was a PR on the workspace-grid project to optionally put the workspace thumbnails horizontally at the bottom of the overview screen.
For certain layouts, this can actually be much better use of screen real estate.
I wonder if you'd consider implementing such a feature in the workspace-matrix extension.
The text was updated successfully, but these errors were encountered: