Skip to content

Allow to disable workspace switch animation in AppearanceConfig#2030

Open
andude10 wants to merge 1 commit intopop-os:masterfrom
andude10:introduce-setting-to-disable-workspace-switch-animation
Open

Allow to disable workspace switch animation in AppearanceConfig#2030
andude10 wants to merge 1 commit intopop-os:masterfrom
andude10:introduce-setting-to-disable-workspace-switch-animation

Conversation

@andude10
Copy link

This PR introduces a new setting to disable the animation that happens when switching between workspaces. Putting it inside AppearanceConfig allowed minimal changes, but I'm not sure if it is a good place for it in general.

I've been using this for a few days, but there's one issue with cosmic-workspace-applet (Numbered Workspaces), which happens in overview mode as well. The workspace number becomes highlighted only after some delay, you can see it in a video. It happens because the applet is not immediately notified, I think. I couldn't debug it, unfortunately, but I figured that adding 'state.common.refresh();' right after 'shell.move_window' fixes the issue.

Showcase: https://github.com/user-attachments/assets/32cf4201-02d5-4426-8ec6-25d50a5af001
Happy to hear any feedback. Feel free to reject if you have a different implementation in mind.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant