-
-
Notifications
You must be signed in to change notification settings - Fork 61
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
[WIP] initial gnome 40 support #152
Conversation
I removed all files related to the overview for now (they're now in the I think a (clean) working implementation for the popup can be merged into master and released as beta version. We can then move on and work on the remaining features (which will be quite complex I assume). I did the same with the workspace overview (Super+W) -> |
Thanks @mzur, settings are working great now. |
Great! I'll continue to tinker with this branch a bit. |
… into gnome-40 � Conflicts: � wsmatrix@martin.zurowietz.de/schemas/gschemas.compiled
I modified the option scale and its default value, now it reflects the scale of the switcher rather than the thumbnails themselves, the thumbnails will adjust accordingly (I feel this makes much more sense). |
The original scale value of 0.1 set the size of each thumbnail. A new default of 0.6 seems too large. I'll need to dig more into the code. Give me a few days 😉 Currently, the aspect ratio of the thumbnails seems off to me (on my system, if I increase the size so I can recognize something). |
@mzur it's not thumbnail scale anymore, it's switcher workspace popup scale. |
Setting the size of the whole switcher is definitely easier than setting the size of each thumbnail. I'll have to take a closer look at that, yet. For now, I just removed code that I want to take care of later. I'll get back to this PR in the next days. |
@mzur I followed the same approach we had earlier, I think your approach makes much more sense but I am not sure why the |
@ebeem Thanks, I didn't notice that somehow. I think your approach is just fine. I've only changed the call to "remove" since the popup can be destroyed by other things than the "confirm" action as well. |
Mouse click always works, so the settings option is vor mouse hover only.
…ell-wsmatrix into pnkov-fix-popup-styling
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Finally done with my review! Sorry it took me so long.
Updated list of issues:
- The popup disappears even though the mouse is still moving over it (with the "enable hover" option in the settings activated). Only use "enable hover" option for the Ctrl+W popup #174
- The animation of the active workspace indicator at the top of the overview is wrong when switching to a lower row. Fix animation of active workspace indicator in overview #175
- The log says "Source ID xxx was not found when attempting to remove it" whenever the popup is destroyed. Strangely this does not happen if the popup is opened with
toggle=true
. Investigate log warning message #176 - In the overview, you can switch to a workspace in the first row with a click but not in the second row of workspaces. Fix workspace thumbnails box size in overview #177
- In the overview you can drag and drop a window in the first row but not to the second row of workspaces. Fix workspace thumbnails box size in overview #177
- When dragging and dropping a window from and to the same workspace thumbnail in the overview the window disappears (behind the wallpaper?). You can still DnD them, though. Fix drag and drop of a window to the same workspace in the overview #178
- The workspace overview seems to break if the extension is disabled and the overview override was enabled. Overview breaks if extension is disabled #179
- The workspace thumbnails in the overview are not reset if the extension is disabled, then enabled again and then "Show workspace grid in overview" is switched off. They still show the wallpaper. They also don't reset if the whole extension is disabled in this case. Fix reset/destroy of workspace thumbnails in overview #180
- The workspace thumbnails in the overview should have vertical padding (same as horizontal). Fix padding of workspace thumbnails in overview #181
- The switcher popup without thumbnails should have the same style/look than the default switcher popup. Fix style of popup if thumbnails are disabled #182
- Implement 2D workspace display in the overview (see comment in
workspacesView.js
). Implement 2D layout of workspaces in overview #183
Other changes I did:
- Reorganized the settings and made options labels more consistent
- Disabled mouse hover over the popup by default
- The workspace overview popup keybindings work again
wsmatrix@martin.zurowietz.de/workspacePopup/workspaceManagerOverride.js
Outdated
Show resolved
Hide resolved
wsmatrix@martin.zurowietz.de/workspacePopup/workspaceManagerOverride.js
Outdated
Show resolved
Hide resolved
This will be tracked in a separate PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we're good to go with this one. I've extracted the remaining things to their own issues. Each of them can be handled later whenever someone is willing do some work. I've also removed GNOME 41 support again from the metadata. I'll open a separate PR for that, as I would like to have the opportunity to test and update the code there, too.
@ElijahLynn If your offer still stands, all the credit goes to @ebeem 😉
@ebeem A huge thanks again for all your work 👏 Please merge whenever you like.
Thanks to you @mzur and everyone else who contributed, the branch now is way more stable. |
I don’t know if this one is reported yet : What happens is that when I slide a workspace (always horizontally, as I said), it re-plays the animation afterward, which is a somewhat awkward. |
@MonsieurLanza Thanks for reporting. Could you please open a separate issue for that? Everyone else: If you want to report bugs related to GNOME 40, please open a new issue. |
Please report bugs/issues or discuss features in the discussion accompanying the alpha release for GNOME 40 support.
Still has many bugs, and only the switcher is implemented (no overview).
bugs/missing features:
gnome
's) toswitch workspace
andmove workspace
andworkspace selection
(working but not as expected, main modifier for moving to workspace isshift
which works only for arrows now since other keys will change into another character withshift
probably just needs to be added to the configuration)._keyPressHandler
inWorkspaceSwitcherPopup.js
_onScrollEvent
).minor improvements & extra features:
what's good about this branch:
_keyPressHandler
, we can have more configs and fix Add missing keybindings to system settings #150 here)Currently, this implements the switcher using a modifier key. I think this implementation will help us fix a lot of issues and have more flexibility. I am not going to be able to work on this gnome#40 support for about 3 weeks, I will look at it after that and try to fix current bugs.
Any contributions are welcomed. We will probably not merge this into master, once we finalize it, it's better to create a new branch because this one will probably have a lot of dirty code in it.
fixes #146