Skip to content
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

Minimizing apps running on XWayland leads to strange animation #2085

Open
astrocaat opened this issue Aug 29, 2023 · 8 comments
Open

Minimizing apps running on XWayland leads to strange animation #2085

astrocaat opened this issue Aug 29, 2023 · 8 comments

Comments

@astrocaat
Copy link

The minimizing animation works as intended with any GTK app I tested. I have some Electron and QT ones (Telegram, Spotify, Notion, etc.) and with those there is some kind of artifact when minimizing which leads the app to both go down in the dock and at the same time up in the hot corner of Activities.

Some screenshots where you can see the strange behaviour of the minimizing window:

Screenshot from 2023-08-28 17-44-31
Screenshot from 2023-08-29 10-53-10

i'm on ArchLinux with GNOME 45 and Dash-to-dock v87.

@vanvugt
Copy link
Collaborator

vanvugt commented Aug 30, 2023

Please:

  1. Attach a recording or video of the bug.
  2. Check that the same bug does not occur without the extension.

@astrocaat
Copy link
Author

The bug does not occur without the extension and I do not have any other installed besides Dash-to-dock. When minimizing windows, they correctly and smoothly minimize in the hot corner of Activities (instead of going down, as there is no dock). After enabling the extension, the bug starts occuring and windows get minimized both up in corner and down in dock.

GNOME’s built-in videorecording does not work for me in a Wayland session, so I switched to X11 and strangely I noticed that there the bug occurs also with GTK apps (on Wayland GTK ones all minimize correctly down in the dock without that animation artifact).

screencast-from-2023-08-30-15-35-22.webm

@vageliskatsiotis
Copy link

Confirming this on Arch with Deluge too.

@taoky
Copy link
Contributor

taoky commented Sep 25, 2023

GNOME’s built-in videorecording does not work for me in a Wayland session, so I switched to X11 and strangely I noticed that there the bug occurs also with GTK apps (on Wayland GTK ones all minimize correctly down in the dock without that animation artifact).
screencast-from-2023-08-30-15-35-22.webm

This screen recording looks like #1881 and my MR to gnome-shell (https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2968) might solve (or workaround maybe?) this animation issue. Though I cannot reproduce "minimizing which leads the app to both go down in the dock and at the same time up in the hot corner of Activities" in my testing env...

@vanvugt
Copy link
Collaborator

vanvugt commented Sep 27, 2023

We're tracking this bug in https://gitlab.gnome.org/GNOME/mutter/-/issues/2317 - I don't think it's a dash-to-dock bug. Although dock extensions do change the minimize destination so it may be a factor in triggering the bug.

@astrocaat
Copy link
Author

I wanna add that I found out I was wrong about the GTK vs Electron/Qt apps thing. Even if it seemed to be the case, it's simply a matter of Wayland vs XWayland: apps running on the former animate correctly while they have that bug on the latter. Most if not all GTK apps run natively on Wayland and that's why they didn't seem to be affected. As a matter of fact, lunching Electron apps with --enable-features=UseOzonePlatform --ozone-platform=wayland flags solved the issue for me.

@astrocaat astrocaat changed the title Minimizing non-GTK apps leads to strange animation Minimizing apps running on XWayland leads to strange animation Oct 31, 2023
@muhammad-halimov
Copy link

This strange behavior of windows still not fixed or i didn't find any solution maybe... ? Anyway there's decent solution for this, https://extensions.gnome.org/extension/1680/animation-tweaks/, install this extension and enjoy your life, of course set it up for your pleasure, there's tons of animations.

@taoky
Copy link
Contributor

taoky commented Jan 22, 2024

This strange behavior of windows still not fixed or i didn't find any solution maybe... ? Anyway there's decent solution for this, https://extensions.gnome.org/extension/1680/animation-tweaks/, install this extension and enjoy your life, of course set it up for your pleasure, there's tons of animations.

It's impossible to disable minimize animation while not affecting others in GNOME 45, as it adopts ESM modules for extensions, and thus not allowing overriding the constant controlling minimization speed.

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

No branches or pull requests

5 participants