jnsh / arc-theme

A flat theme with transparent elements (actively maintained fork)
GNU General Public License v3.0
900 stars 77 forks source link

Shell Theme: GNOME Overview won't zoom out enough (GNOME 40) #125

Closed ljrk0 closed 3 years ago

ljrk0 commented 3 years ago

Before submitting

Details

When using the Arc Shell theme and many windows open, the overview often stops "zooming out" to show all windows next to each other, c.f. the following screen shots done with Adwaita/Default v. Arc

image Screenshot from 2021-04-18 20-31-59

(I did try restarting the GNOME Shell after changing to Arc, despite these screenshots being taken in the same session.)

Also, as long as the zoom-out is in the broken state, typing in order to search is broken:

image

Ironically, taking a screenshot fixes the problem by forcing a re-paint/refresh of the scene(?). Thus, just after the screenshot was taken, the "zooming process" is unfrozen (or the search results are correctly displayed):

image

jnsh commented 3 years ago

When using the Arc Shell theme and many windows open, the overview often stops "zooming out" to show all windows next to each other, c.f. the following screen shots done with Adwaita/Default v. Arc

image image

I think you posted the same screenshot twice. I haven't experienced anything similar to what you described myself, so I'm not 100% sure what's happening.

Also, the way the windows are arranged in overview doesn't look normal in your not-bugged screenshots. Are you by any chance using some extension that changes this? If so, can you test whether the problem persists with that extension disabled (and/or with all your extensions disabled, for good measure).

ljrk0 commented 3 years ago

Oh, I switched out the screenshots because of personal identifying information of others but missed that -- I fixed that.

I totally forgot about the extensions as I didn't consciously enable them, but I fumbled around with a custom package which enabled them on install (and didn't deactivate on removal). Indeed, after deactivating "native window placement" this does not occur anymore, so that's where the incompatibility seems to lie.

The issue definitely didn't occur before GNOME 40, but unfortunately my memory is a little hazy whether that was also the time "native window placement" could have been enabled.

Either way, "for me" the issue is fixed as I don't need the extension, thank you very much for that! I'm not sure though where the root cause dies.

jnsh commented 3 years ago

Thanks for testing. At least this revealed the root cause of the issue, although it seems odd that this would only happen with Arc, and not with Adwaita...

Is this upstream issue for native window placement extension identical to what you're experiencing? https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/issues/309

There's also: https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/issues/307 https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/issues/295 https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/issues/301

ljrk0 commented 3 years ago

Yep, I only discovered this being kindof-ish related to the theme since I temporarily switched back to Adwaita before the first GNOME 40 compatible release a few days ago and when I switched back this broke.

I definitely see that it isn't smooth as described in the issues you linked, however, with Arc it's simply worse: The animation isn't only stuttery, it won't even play completely, but stops before the "zoom out process" is finished. I suspect it's at least related and hope that a fix for those issues would fix this one as well.

Annoyingly, after deactivating and re-activating native window placement I cannot reproduce the issue on my laptop anymore (my desktop still has it) ...

Thanks for the links, this helps a great deal (and for maintaining this awesome theme!)

EDIT: I'm not sure whether it makes sense for you to keep this open, I think, if the issue persists even if the linked ones are fixed, one could re-open it?

jnsh commented 3 years ago

Indeed, it seems that the native window placement extension is very broken with GNOME 40 at the moment, so I think this can be considered an upstream bug.

FWIW, I wasn't able to reproduce this after activating the extension, so maybe re-activating it somehow fixes this.

If there are remaining problems after the upstream issues are fixed, and that aren't present with Adwaita, I'll look at resolving them.

Thank you for letting me know about this nevertheless :)