gala icon indicating copy to clipboard operation
gala copied to clipboard

Cycling windows floods log with assertion failures

Open jessestricker opened this issue 3 years ago • 1 comments

What Happened?

When cycling windows the system log gets flooded with warnings about two failed assertions in clutter. You can see the warnings below, they get repeated constantly until I release Alt+Tab and switch to the next window and back again.

I run the Pantheon desktop on the latest NixOS-unstable and I've observed this behavior when switching between Firefox and VS Codium.

Steps to Reproduce

  1. Run journalctl --follow
  2. Open firefox
  3. Open codium
  4. Press and hold Alt+Tab
  5. Observe warning flood

Expected Behavior

no warnings

OS Version

Other Linux

Software Version

Latest release (I have run all updates)

Log Output

clutter_paint_volume_set_width: assertion 'width >= 0.0f' failed
clutter_paint_volume_set_height: assertion 'height >= 0.0f' failed
...

Hardware Info

No response

jessestricker avatar Apr 19 '22 13:04 jessestricker

This is also reported in https://github.com/NixOS/nixpkgs/issues/159981 and I have no idea yet :crying_cat_face: For context NixOS is shipping mutter 3.38.6 with these patches carried.

bobby285271 avatar Apr 19 '22 15:04 bobby285271

@jessestricker @bobby285271 can you still reproduce this issue in your distributions?

lenemter avatar Feb 11 '23 12:02 lenemter

I am no longer able to reproduce this. Bisect suggests this is likely fixed by https://github.com/elementary/gala/pull/1417. I am shipping that patch in NixOS right now. Asked in downstream issue to confirm.

https://github.com/NixOS/nixpkgs/blob/193d10b/pkgs/desktops/pantheon/desktop/gala/default.nix#L51

bobby285271 avatar Feb 11 '23 13:02 bobby285271

Yes, it was fixed in #1417. I can reproduce the bug by reverting it. Thanks @bobby285271 :heart:

lenemter avatar Feb 11 '23 13:02 lenemter

I no longer use the Pantheon desktop, so I can't reproduce the bug, sorry. Glad to know it's fixed though. Regarding the distro, it's also NixOS, so the setup should be similar to @bobby285271's.

jessestricker avatar Feb 11 '23 20:02 jessestricker