-
-
Notifications
You must be signed in to change notification settings - Fork 28
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
Workspace switcher #361
base: main
Are you sure you want to change the base?
Workspace switcher #361
Conversation
This is mostly ready functionally-wise. I would appreciate if anyone tested this for any bugs/crashes.
|
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.
This is dope. Definitely gonna have to use it regularly in practice to see how this changes things. But I like it a lot already.
Biggest problem is it crashes whenever there's an open file portal
One thing I'm thinking right away is that it's redundant with the adding non-pinned launchers to the dock. It seems like we don't need to do that anymore since they're already added to the workspace switcher. Thoughts?
I think the "new workspace" button should remain static always at the end instead of fading in a new one. This feels more obvious with my styles branch that it kinda feels like the button is running away or something.
This comment was marked as resolved.
This comment was marked as resolved.
This is ready for review now |
Installed here. Running it on metal, and will test it for a while. Looks pretty solid some papercuts: |
I would prefer to implement window sorting in a follow up branch
Fixed!
Can you give me an example of such app? I cannot reproduce the issue on my side :( |
Yeah fair. Youve already done a lot in a short time too.
I cannot reproduce it consistently, it happened on "old notejot" as a startup app, upon opening the session |
This comment was marked as resolved.
This comment was marked as resolved.
This reverts commit 1c60d30.
@danirabbit sorry, I didn't test well enough. Should be fixed now |
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 this looks good to me to get into main and do some more thorough testing etc :)
Great job! 🚀
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.
Sorry for the long delay, exams for this semester have started so I'm kinda limited on time right now :/
This looks pretty good, i just added some minor comments. Another thing: Have you tested for memory leaks? I think I remember bindings being a problem sometimes not sure whether it's the case here though.
I'll have some time in a day or two so I'll do a proper review then and check for mem leaks, etc. :)
@leolost2605 I didn't find any memory leaks, every destructor of |
I noticed there are many bind_property... I guess we don't need to do Here's the source code of constructor of GLib.Binding
It creates strong references via |
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.
There are some minor quirks (e.g. I get warnings WorkspaceSystem.vala:51: WorkspaceSystem.sync_windows: Unexpected window workspace index: 3
when moving windows between workspaces) but I'm with @danirabbit here lets goo :)
Fixes #335
Fixes #224
Closes #347
Requires elementary/gala#2265
There are some things that are not ideal, i.e. only four windows are shown, no separator between apps and the workspace switcher but I'll leave them for later because this PR is already too big.