Bug 494786 - Change in "Repeat" setting done while Haruna plays a video does not take effect until Haruna is restarted
Summary: Change in "Repeat" setting done while Haruna plays a video does not take effe...
Status: RESOLVED FIXED
Alias: None
Product: Haruna
Classification: Applications
Component: generic (show other bugs)
Version: 1.2.1
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: george fb
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-15 02:45 UTC by Patrick Silva
Modified: 2024-12-19 13:32 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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. :)