Bug 508773

Summary: After closing a window that was not pinned in task manager, it doesn't readjust its size and leaves a white "ghost"
Product: [Plasma] plasmashell Reporter: gavinshaughnessy
Component: Task Manager and Icons-Only Task Manager widgetsAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: minor CC: gavinshaughnessy, nate, qydwhotmail
Priority: NOR    
Version First Reported In: 6.4.4   
Target Milestone: 1.0   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: The described "ghosting" of the task manager
After hovering over
Task manager Settings
Task manager Settings (continued)
Task manager Settings (continued)

Description gavinshaughnessy 2025-08-26 18:10:26 UTC
Created attachment 184472 [details]
The described "ghosting" of the task manager

SUMMARY
After closing a window that was not pinned in task manager, it doesn't readjust its size and leaves a white "ghost" space. 
After hovering over the space it correctly updates the task bar.

STEPS TO REPRODUCE
1. Open a window not pinned to the task manager (this will resize the manager to fit the extra icon)
2. Close that window

OBSERVED RESULT
There will be a ghost space where the icon once was, and the task manager won't refresh until you hover over it

EXPECTED RESULT
It should automatically update, not just when you hover over it

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora 42 (KDE edition), Wayland
KDE Plasma Version: 6.4.4
KDE Frameworks Version: 6.17.0 
Qt Version: 6.9.1

ADDITIONAL INFORMATION
This happens when I use breeze theme (dark if that matters), and a new theme I installed to see if it was a breeze issue.
Comment 1 gavinshaughnessy 2025-08-26 18:11:05 UTC
Created attachment 184473 [details]
After hovering over
Comment 2 gavinshaughnessy 2025-08-26 18:11:52 UTC
Created attachment 184474 [details]
Task manager Settings
Comment 3 gavinshaughnessy 2025-08-26 18:12:36 UTC
Created attachment 184475 [details]
Task manager Settings (continued)
Comment 4 gavinshaughnessy 2025-08-26 18:13:32 UTC
Created attachment 184476 [details]
Task manager Settings (continued)
Comment 5 Nate Graham 2025-08-26 19:47:19 UTC
Let me guess: you have an NVIDIA GPU, right?
Comment 6 gavinshaughnessy 2025-08-26 20:00:13 UTC
(In reply to Nate Graham from comment #5)
> Let me guess: you have an NVIDIA GPU, right?

Yes I should have said, sorry. 
nvidia-smi
(NVIDIA-SMI 575.64.05              Driver Version: 575.64.05      CUDA Version: 12.9)

But this only happened recently though.
Comment 7 Nate Graham 2025-08-26 21:49:56 UTC
I had a feeling, because this is a semi-known NVIDIA driver issue, unfortunately. I say "semi-known" because it's known to KDE developers, but I don't know if it's known to NVIDIA developers yet.

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 a lot!
Comment 8 gavinshaughnessy 2025-08-26 22:39:44 UTC
Thanks, Ill send a bug report