elementary / gala

Gala Window Manager for elementary OS and Pantheon
https://elementary.io
GNU General Public License v3.0
272 stars 77 forks source link

Dock flickering #2080

Open Letterus opened 1 month ago

Letterus commented 1 month ago

What Happened?

Dock sometimes gets in "flickering" mode when using an app in full screen. When moving the cursor to the bottom of the screen it appears shortly and immediately disappears so you can't click an icon anymore.

Steps to Reproduce

Hard to reproduce. It appears with apps in full screen mode (Firefox f.e.), but not always.

  1. Open an app in full screen mode (f.e. Firefox).
  2. Try to use the dock (it may be in "flickering mode")
  3. You can stop the flickering mode by enabling the application menu once, f.e.

Expected Behavior

Dock should always appear smoothly and stay to await my clicks.

OS Version

8.x (Early Access)

Software Version

Latest release (I have run all updates)

Log Output

No response

Hardware Info

Thinkpad X280 Wayland session, 1.25x scale, i915 graphics driver.

lenemter commented 1 month ago

I tried fixing this issue but to no avail. I feel like there is some mutter bug that doesn't set dock windows on top automatically and this issue occurs.

Letterus commented 4 weeks ago

So we need som debugging of libmutter? Have you got a hint on which path to look for? I could try setting some breakpoints and dig into it.

teamcons commented 2 weeks ago

Reproduced it. Flickering was stopped by going out of fullscreen, and moving a window below who was also clipping in "dock space" out of it moving said window below dock and going fullscreen again did however not enable the flickering anew

leolost2605 commented 2 weeks ago

With "fullscreen" do you mean actual fullscreen (so that the top panel isn't visible) or maximized (the top panel is still visible but otherwise the window covers everything)?

leolost2605 commented 2 weeks ago

If we are talking about maximized here (which I assume we are since with fullscreen the dock shouldn't show at all) two ways I can currently reproduce this is the one fixed in #2081 and ~right after gala was started~ if there is no window on the workspace if the first launched window is maximized (although that's not 100% of the time but quite often)

leolost2605 commented 2 weeks ago

if there is no window on the workspace if the first launched window is maximized (although that's not 100% of the time but quite often)

This should be fixed by #2070 although that's purely coincidental :)