Bug 513267 - "Last played video" is saved to the settings when this option is disabled.
Summary: "Last played video" is saved to the settings when this option is disabled.
Status: RESOLVED INTENTIONAL
Alias: None
Product: Haruna
Classification: Applications
Component: generic (other bugs)
Version First Reported In: 1.6.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: george fb
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-12-12 21:06 UTC by Barafu Albino Cheetah
Modified: 2025-12-13 10:40 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 Barafu Albino Cheetah 2025-12-12 21:06:44 UTC
SUMMARY
When the option "Settings -> Playback -> Open last played file on startup"  is set to off, the path to every played file is still saved into the settings file. This is unnecessary writing operation. It may leak protected data when a path from a removable storage or an encrypted storage is stored unencrypted. 

A user would assume that turning of the option would not save the data on what files are opened and erase the existing data too. 

STEPS TO REPRODUCE
1. Set Settings -> Playback -> Open last played file on startup. 
2. Save settings and  open another file
3. Open ~/.config/haruna/haruna.conf

OBSERVED RESULT
The line "LastPlayedFile=" with the path to the last file is present.

EXPECTED RESULT
The line to be removed completely

SOFTWARE/OS VERSIONS
Arch Linux
Version 1.6.0