Bug 513509 - Playlist sidebar show/hide slide animation slows down and has low framerate while video is being played
Summary: Playlist sidebar show/hide slide animation slows down and has low framerate w...
Status: REPORTED
Alias: None
Product: Haruna
Classification: Applications
Component: generic (other bugs)
Version First Reported In: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: george fb
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-12-17 20:09 UTC by Ángel Navarro
Modified: 2025-12-18 18:45 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Playlist show/hide animation while playing and not playing video (av1 warning) (3.25 MB, video/mp4)
2025-12-17 20:09 UTC, Ángel Navarro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ángel Navarro 2025-12-17 20:09:28 UTC
Created attachment 187757 [details]
Playlist show/hide animation while playing and not playing video (av1 warning)

SUMMARY
The video + subtitles pretty explain themselves.
If you (un)hover the right side for the playlist to show/hide *while video is paused*, the animation is fast and buttery smooth, but doing that again while the video is playing, the animation takes longer to complete and the framerate goes low.

The difference isn't that notorious on the video because I'm on a 165 Hz screen and OBS records at 60 FPS maximum, but in real life it looks harsh.

NOTE: while writing this, I noticed that the more entries the playlist has, the more the framerate drops. The slowdown with a single entry can be noticed but isn't that remarked.

At the end of the video I also opened/closed my semitransparent/blurred Kickoff for comparison, which doesn't slow it down at all. Is Haruna still using an old/inefficient blur implementation that's different to what KWin/Plasma in general use?

STEPS TO REPRODUCE
1. Open a video in Haruna (the more videos are in the same directory where the opened one is, the more notorious the slowdown is).
2. While it's playing, hover the right side and unhover it.
3. Pause the video and do the same again.
4. Notice the difference.

OBSERVED RESULT
Playlist sidebar show/hide slide animation slows down and has low framerate while video is being played

EXPECTED RESULT
The animation should be smooth in all cases, like the Kickoff animation itself.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: Arch Linux
KDE Plasma Version: 6.5.4
KDE Frameworks Version: 6.21.0
Qt Version: 6.10.1

ADDITIONAL INFORMATION
Comment 1 george fb 2025-12-18 15:45:45 UTC
Test with the following custom commands, run at startup
1. "set override-display-fps 75", replace 75 with your monitor's refresh rate
2. "set video-sync display-resample"
Comment 2 Ángel Navarro 2025-12-18 18:45:46 UTC
Thanks! That worked on my 165 Hz monitor, only with both commands enabled at the same time.
Full speed in all cases.

This makes me guess Haruna doesn't automatically sync with the monitor refresh rate. Would fixing that be the proper bug fix?