Bug 441670

Summary: Repeat=false is apparently ignored
Product: [Applications] Haruna Reporter: Luigi Baldoni <aloisio>
Component: genericAssignee: george fb <georgefb899>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Luigi Baldoni 2021-08-28 19:28:38 UTC
SUMMARY
Toggling/untoggling Settings/Playlist/Repeat makes no difference

STEPS TO REPRODUCE
1. Launch haruna
2. Untoggle the Repeat feature and set the playlist row height to 1
3. Play file

OBSERVED RESULT
The file is looped

EXPECTED RESULT
Stop playing at the end

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: openSUSE Leap_15.3
(available in About System)
KDE Plasma Version: 5.18.6
KDE Frameworks Version: 5.76.0
Qt Version: 5.12.7

ADDITIONAL INFORMATION
Using snapshot 0.7.0+git20210828.e7dd6cb

current haruna.conf as follows:

[General]
SeekSmallStep=4

[Mouse]
ScrollDown=seekBackwardSmallAction
ScrollUp=seekForwardSmallAction

[Playlist]
LoadSiblings=false
Position=left
Repeat=false
RowHeight=1
Comment 1 george fb 2021-09-01 22:33:51 UTC
Git commit 119d07358ff670509f8c4c5f8646f005a41b02f6 by George Florea Bănuș.
Committed on 01/09/2021 at 22:28.
Pushed by georgefb into branch 'master'.

Fix video repeating when repeat is turned off

M  +1    -1    src/qml/MpvVideo.qml

https://invent.kde.org/multimedia/haruna/commit/119d07358ff670509f8c4c5f8646f005a41b02f6
Comment 2 Luigi Baldoni 2021-09-02 10:05:24 UTC
I can confirm it works now.

But again it was necessary to delete ~/.cache: isn't there a way to regenerate it?
Otherwise, won't this be a problem with every future release?
Comment 3 george fb 2021-09-03 16:07:42 UTC
(In reply to Luigi Baldoni from comment #2)
> But again it was necessary to delete ~/.cache: isn't there a way to
> regenerate it?

That should happen automatically. Don't know why it doesn't. I have 2 openSUSE TW and 1 Leap installs and I only have this issues on one (TW Krypton).