Bug 497841

Summary: Pressing the Next Frame key, while paused, to try to view the last frame of a video instead skips ahead to playing the next video
Product: [Applications] Haruna Reporter: Fernando M. Muniz <fernandommuniz>
Component: genericAssignee: george fb <georgefb899>
Status: REOPENED ---    
Severity: normal CC: john.kizer
Priority: NOR Keywords: usability
Version First Reported In: 1.2.1   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Fernando M. Muniz 2024-12-23 19:44:39 UTC
It's difficult to take a screenshot of the last frame of a paused video because it causes the video to replay.

I found a way of working around this issue by dragging the progress bar to the last frame.
Comment 1 John Kizer 2025-01-02 06:40:53 UTC
Hi - can you please specify:

* The steps you used to reproduce this issue?
* The version of Haruna on which you observed this?

I'm able to see the last frame of a video as you are by dragging the bar to the end while paused, so I'm unclear what steps are being followed to trigger the video restarting.

Thanks,
Comment 2 Fernando M. Muniz 2025-01-02 06:45:11 UTC
(In reply to John Kizer from comment #1)
> Hi - can you please specify:
> 
> * The steps you used to reproduce this issue?
> * The version of Haruna on which you observed this?
> 
> I'm able to see the last frame of a video as you are by dragging the bar to
> the end while paused, so I'm unclear what steps are being followed to
> trigger the video restarting.
> 
> Thanks,

It repeats the video if you get to the last frame by pressing the "Next Frame" key, in my case it's the ">." key.
Comment 3 John Kizer 2025-01-02 06:58:00 UTC
Thanks, I can reproduce on Fedora KDE 41, same Haruna version.
Comment 4 george fb 2025-08-16 01:24:02 UTC
Git commit 36d5b2798077da7a9d5752473ec43e6286e91629 by George Florea Bănuș.
Committed on 16/08/2025 at 01:11.
Pushed by georgefb into branch 'master'.

mpvitem: enable KeepOpen when playback is paused

prevents loading the next file while using frame step to go to the last frame
when holding the frame step action key the playback state is
considered to be playing, resulting in the next file being loaded

M  +7    -3    src/mpv/mpvitem.cpp

https://invent.kde.org/multimedia/haruna/-/commit/36d5b2798077da7a9d5752473ec43e6286e91629
Comment 5 Fernando M. Muniz 2025-09-28 00:40:11 UTC
This issue is reproducible in 1.4.0 now.