Bug 487130

Summary: Panel icons overlap on hover after falling back to software rendering
Product: [Plasma] plasmashell Reporter: rafal.dardzinski
Component: PanelAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED UPSTREAM    
Severity: normal CC: contramuffin, hackimos, justin, kdedev, maxim.yegorushkin, nate, niccolo.venerandi, philippelejeune01
Priority: HI    
Version First Reported In: 6.0.4   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
URL: https://bugreports.qt.io/browse/QTBUG-123799
Latest Commit: Version Fixed In: Qt 6.8.1
Sentry Crash Report:
Attachments: When I move mouse cursor over an icon it gets aligned to left side. Icons are stacked.

Description rafal.dardzinski 2024-05-17 04:35:43 UTC
Created attachment 169552 [details]
When I move mouse cursor over an icon it gets aligned to left side. Icons are stacked.

SUMMARY
I have three displays: 2560x1440@60Hz, 3840x2160@144Hz, 3840x2160@60Hz, all connected to my nVidia GPU through Display Ports (I'm running official drivers, 550.78-2). When running Wayland session I disconnected second monitor from a power grid. After reconnecting it again, when I hover my mouse over icon on plasma panel, it gets aligned to the left. Clicking on a place where an icon's supposed to be activates a corresponding application. Same thing happens with system tray icons. Icons are placed back when panel needs to resize. Overview doesn't work either - when I try to enter it, all the widgets I have on desktop freeze, but no overview is displayed (I can move mouse cursor though). Clicking of hitting ESC key brings widgets to life again.

STEPS TO REPRODUCE
1. Run KDE Plasma in Wayland session with multiple displays.
2. Disconnect one of the displays from the power grid. Wait for Plasma to react.
3. Connect the display to power grid again.

OBSERVED RESULT
Icons alignment breaks on mouseover.
Overview does not work (when activating overview, everything freezes until click or ESC key is pressed).
System Monitor Sensor graphs do not render.

EXPECTED RESULT
Everything works as expected.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: EndevourOS
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.2.0
Qt Version: 6.7.0

ADDITIONAL INFORMATION
Rebooting does not fix the problem. Disabling/enabling displays from DisplayConfiguration does not fix the problem. Problem occured one time before and I was able to fix it through disconnecting displays and connecting them again, but I'm not able to reproduce this sequence.
Comment 1 rafal.dardzinski 2024-05-17 05:09:01 UTC
I was able to fix it by removing plasmashell config files:
```
rm -rf .cache/plasmashell/
rm -rf .config/plasma
rm -rf .config/kde*
```
Comment 2 Nate Graham 2024-08-01 20:58:00 UTC
If you removed the files, then I'm afraid we can't use them to figure out what went wrong here. :(

Maybe we can use that information to troubleshoot Bug 490297, though. NVIDIA GPU there as well.
Comment 3 Nate Graham 2024-11-01 15:19:48 UTC
Anyway this is a problem in the proprietary NVIDIA drivers.

Please report this issue to the NVIDIA folks, either by sending an email to linux-bugs@nvidia.com or making a post at https://forums.developer.nvidia.com/c/gpu-graphics/linux. It would be helpful to the NVIDIA developers if you could run nvidia-bug-report.sh and attach the resulting file in your report. Thanks!
Comment 4 Nate Graham 2024-11-01 15:19:51 UTC
*** Bug 490297 has been marked as a duplicate of this bug. ***
Comment 5 Nate Graham 2024-11-01 15:19:54 UTC
*** Bug 495668 has been marked as a duplicate of this bug. ***
Comment 6 Nate Graham 2024-11-12 16:03:05 UTC
Actually this is https://bugreports.qt.io/browse/QTBUG-123799.
Comment 7 Nate Graham 2025-01-15 22:31:05 UTC
*** Bug 480517 has been marked as a duplicate of this bug. ***
Comment 8 Nate Graham 2025-01-15 22:31:07 UTC
*** Bug 498711 has been marked as a duplicate of this bug. ***
Comment 9 Nate Graham 2025-01-23 15:39:10 UTC
*** Bug 499042 has been marked as a duplicate of this bug. ***