Bug 494786

Summary: Change in "Repeat" setting done while Haruna plays a video does not take effect until Haruna is restarted
Product: [Applications] Haruna Reporter: Patrick Silva <bugseforuns>
Component: genericAssignee: george fb <georgefb899>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: 1.2.1   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Patrick Silva 2024-10-15 02:45:14 UTC
STEPS TO REPRODUCE
1. open a video with Haruna
2. while Haruna plays the video, click on "Settings" menu and choose "Playlist"
3. change "Repeat" setting
4. close Haruna settings
5. click near the end of the seek bar and observe if the change done in the step 3 takes effect or not

OBSERVED RESULT
the change done in the step 3 did not take effect. It does when playing a video after restarting Haruna.

EXPECTED RESULT
the change done in the step 3 takes effect in the step 5

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.2.0
KDE Frameworks Version: 6.7.0
Qt Version: 6.8.0
Graphics Platform: Wayland
Comment 1 george fb 2024-12-16 21:10:26 UTC
Git commit 3da652fe718aacb72d7fcd493e560fc125899906 by George Florea Bănuș.
Committed on 16/12/2024 at 21:10.
Pushed by georgefb into branch 'master'.

mpvitem: refactor onEndFile, doesn't require isFileReloaded anymore

M  +32   -56   src/mpv/mpvitem.cpp
M  +0    -10   src/mpv/mpvitem.h

https://invent.kde.org/multimedia/haruna/-/commit/3da652fe718aacb72d7fcd493e560fc125899906
Comment 2 george fb 2024-12-16 21:44:54 UTC
Try with the lastest changes.
Either compile it yourself or install the latest version through flatpak

```
flatpak uninstall org.kde.haruna
flatpak install --user --or-update https://cdn.kde.org/flatpak/kde-runtime-nightly/org.kde.Platform.flatpakref
flatpak install --user --or-update https://cdn.kde.org/flatpak/haruna-nightly/org.kde.haruna.flatpakref
```
https://userbase.kde.org/Tutorials/Flatpak#Nightly_KDE_apps
Comment 3 Patrick Silva 2024-12-19 13:32:00 UTC
Cannot reproduce with haruna-nightly. :)