Bug 510344

Summary: Panel Hide/Show Animation briefly extends the panel under fit-content setting
Product: [Plasma] plasmashell Reporter: nature.and.boring
Component: PanelAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: kdedev, nate, niccolo.venerandi
Priority: NOR    
Version First Reported In: 6.4.5   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Video Showcase of the Reported Bug
Slowed Video Showcase of the Reported Bug (Slowed)

Description nature.and.boring 2025-10-07 14:00:30 UTC
Created attachment 185576 [details]
Video Showcase of the Reported Bug

SUMMARY
Sometimes, when an auto-hide, centered, fit-content panel is shown (via e.g. meta key or cursor at the edge of the screen), a small blank area is added on the right side of the panel for a second, before the panel returns to normal width.

STEPS TO REPRODUCE
1. Set default setting panel to auto-hide
2. Set panel to fit-content
3. Leave the panel hidden for awhile (several minutes)
4. Open the panel (edge or meta key)

OBSERVED RESULT
For a brief second during the animation, the panel gets wider, due to a blank area added to the right end of the fit-content panel. And then immediately shrinks back. It is particularly noticeable when the panel is centered, since in this case everything moves for a second.

EXPECTED RESULT
The panel slides up without any horizontal movements.

SOFTWARE/OS VERSIONS
Linux: 6.16.10-arch1-1 (64 bit)
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.18.0
Qt Version: 6.9.2
Graphics Platform: Wayland

ADDITIONAL INFORMATION
Since system clock widget is by default on the right edge of panel, I have tried moving it away. With system tray on the right edge, the same problem occurs. Whether or not the panel floats does not seem to play a role either. This problem does not occur every time the panel opens. It seems to only happen once the panel is left idle for awhile.

A screencast video is attached to show the problem.
Comment 1 Nate Graham 2025-10-07 19:28:16 UTC
I'm afraid I can't see the issue in the screen recording. Can you by any chance attach a new one with the global animation speed turned way down?

Also, do you have an NVIDIA GPU?
Comment 2 nature.and.boring 2025-10-12 23:02:11 UTC
Created attachment 185722 [details]
Slowed Video Showcase of the Reported Bug (Slowed)
Comment 3 nature.and.boring 2025-10-12 23:04:43 UTC
(In reply to Nate Graham from comment #1)
> I'm afraid I can't see the issue in the screen recording. Can you by any
> chance attach a new one with the global animation speed turned way down?
> 
> Also, do you have an NVIDIA GPU?

I just uploaded a new version of the video that is slowed down. Due to my bad cropping, the "incident" happens right at the beginning of the video, so one might seed it better by looping it and start at the end.

No I do not have NVIDIA GPU. Its a AMD Radeon iGPU (from several years ago).
And I also tried setting the renderer loop of Qt Quick to basic. I did not see any improvement.
Comment 4 TraceyC 2025-10-20 20:44:31 UTC
Thanks for the new video. I was able to see the bug in it by downloading it, pausing and stepping through the relevant part near the beginning.

I'm not able to replicate the behavior with a similarly configured panel on git-master, or in Neon Testing
Hopefully this means that this is fixed in Plasma 6.5.0 and your panels won't have the bug when your system updates to that version. I'll put this in NEEDSINFO so you can check back when Arch makes 6.5.0 available.
Comment 5 Bug Janitor Service 2025-11-04 03:47:47 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Bug Janitor Service 2025-11-19 03:47:08 UTC
๐Ÿ›๐Ÿงน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.