Bug 508243 - Load the first segment of a video if Haruna is set to loop and the last segment is currently playing
Summary: Load the first segment of a video if Haruna is set to loop and the last segme...
Status: RESOLVED FIXED
Alias: None
Product: Haruna
Classification: Applications
Component: generic (other bugs)
Version First Reported In: 1.4.0
Platform: Arch Linux Linux
: NOR wishlist
Target Milestone: ---
Assignee: george fb
URL:
Keywords: efficiency-and-performance
Depends on:
Blocks:
 
Reported: 2025-08-14 12:58 UTC by Fernando M. Muniz
Modified: 2025-10-18 19:01 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fernando M. Muniz 2025-08-14 12:58:01 UTC
STEPS TO REPRODUCE
Watch a short loop.

OBSERVED RESULT
Once in a while with certain videos, there will be one black frame showing.

EXPECTED RESULT
The video should seamlessly transition from the last frame of the video to the first all times.
I believe that would be possible if Haruna loaded the first segment of the video as it plays its last segment.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.4.4
KDE Frameworks Version: 6.17.0
Qt Version: 6.9.1
Kernel Version: 6.15.9-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 8 × 11th Gen Intel® Core™ i5-11300H @ 3.10GHz
Memory: 9 GB of RAM (8.1 GB usable)
Graphics Processor 1: NVIDIA GeForce GTX 1650
Graphics Processor 2: Intel® Iris® Xe Graphics
Manufacturer: LENOVO
Product Name: 82MG
System Version: IdeaPad Gaming 3 15IHU6

ADDITIONAL INFORMATION
Maybe this is already a thing after Bug 505492 was fixed, but my PC isn't fast enough.
Comment 1 george fb 2025-08-14 14:19:59 UTC
Git commit f4736d6b5872226a8ebc3d17a9c5dcddfb6c5664 by George Florea Bănuș.
Committed on 14/08/2025 at 14:19.
Pushed by georgefb into branch 'master'.

mpvitem: return early when repeating video

otherwise `keep-open` is set to no and video has to be reloaded

M  +1    -0    src/mpv/mpvitem.cpp

https://invent.kde.org/multimedia/haruna/-/commit/f4736d6b5872226a8ebc3d17a9c5dcddfb6c5664
Comment 2 Fernando M. Muniz 2025-09-28 00:40:10 UTC
Videos are still having a pause when looping.
Comment 3 Fernando M. Muniz 2025-10-18 19:01:13 UTC
Loops perfectly in 1.5.0