| Summary: | System Tray triggers constant repaints on Wayland | ||
|---|---|---|---|
| Product: | [Plasma] plasmashell | Reporter: | Martin Flöser <mgraesslin> |
| Component: | System Tray widget | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | normal | CC: | kde, materka, nate, vlad.zahorodnii |
| Priority: | NOR | Keywords: | wayland-only |
| Version First Reported In: | master | ||
| Target Milestone: | 1.0 | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | Wayland debug output | ||
|
Description
Martin Flöser
2020-10-24 19:52:33 UTC
Hi, if that is the System Tray, it might be one applet/application that is causing repaints. Can you disable all applets (from System Tray settings) and close all applications, then run one by one? Does QSG_VISUALIZE=changes plasmashell --replace tell use anything? It's effectively client side show paint (In reply to David Edmundson from comment #2) > Does > > QSG_VISUALIZE=changes plasmashell --replace > > tell use anything? Nothing repaints... (In reply to Konrad Materka from comment #1) > Hi, if that is the System Tray, it might be one applet/application that is > causing repaints. Can you disable all applets (from System Tray settings) > and close all applications, then run one by one? yep, none is causing it. Created attachment 132718 [details]
Wayland debug output
Run with WAYLAND_DEBUG=1 - we can nicely see the constant repaints.
Cannot reproduce on X11 FWIW. Can confirm this issue. I found that disabling the bluetooth applet reduces the number of draw calls issued by latte-dock. What's even more weird is that if I disable and then enable the bluetooth applet the number of repaints drops down to reasonable values. ... and stays at that level. (In reply to Martin Flöser from comment #3) > yep, none is causing it. Do I understand correctly, that even if you disable all applets and close all applications (s) just empty System Tray), it still causes constant repaints? (In reply to Vlad Zahorodnii from comment #6) > Can confirm this issue. I found that disabling the bluetooth applet reduces > the number of draw calls issued by latte-dock. Latte dock uses it's own fork of system tray, please report any issues with Latte in a separate bug report and assign it to correct product/component. (In reply to Konrad Materka from comment #9) > (In reply to Martin Flöser from comment #3) > > yep, none is causing it. > Do I understand correctly, that even if you disable all applets and close > all applications (s) just empty System Tray), it still causes constant > repaints? I disabled one after another, checked whether it changed the state and then re-enabled it. So I never was in a state with empty System Tray. Currently (after a system restart) I am not able to reproduce. I'm monitoring the situation to notice when it happens again. (In reply to Konrad Materka from comment #9) > Latte dock uses it's own fork of system tray, please report any issues with > Latte in a separate bug report and assign it to correct product/component. Disabling bluetooth applet also results in lower number of repaints when using plasma's default panel. @Martin can you confirm if this is still an issue. Around this time we found an issue with invisible busy indicators causing repaints which was fixed. I didn't observe the problem lately. So I assume it was the invisible spinner, which would match my observation as I couldn't blame any individual item. |