Bug 505070 - Support Configuraiton for Session Backups
Summary: Support Configuraiton for Session Backups
Status: REPORTED
Alias: None
Product: Falkon
Classification: Applications
Component: general (other bugs)
Version First Reported In: 25.04.1
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-05-31 18:33 UTC by stellarpower
Modified: 2025-06-06 13:52 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 stellarpower 2025-05-31 18:33:14 UTC
Hi,

I don't see anything in the settings for tuning how Falkon manages session backups. I am using the default session, and it has been crashing a lot recently, and when it does, usually this session and backup 1 are empty (if I open them, I lose all my open windows and just get the default start page). The displayed timestamp on them is the wall-clock time when I start up again, so I assume they've either been overwritten on crash or on starting up again.

Most backup systems allow a relatively simple setting for how those are rotated, such as taking a backup every M minutes and keeping the N most recent backups. Would it be possible to add sometihng like this? As my open tabs are very important to me, and now that the backup isn't serving its purpose, if I could keep a series of them then I have fewer concerns about how frequetly it crashes knowing I should be able to get back to close to where I was without much difficulty.

Am I correct in thinking that periodically duplicating the .dat files I see under ~/.config should be enough for me to take backups myself? And hoping for the best that it has flushed to disc recently


EXPECTED RESULT

Either an entry in Session Manager window, or probably the Preferences => General tab (as this is where other mentions of session/profile are).

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed-Slowroll 20250501
KDE Plasma Version: 6.3.5
KDE Frameworks Version: 6.13.0
Qt Version: 6.9.0
Kernel Version: 6.14.6-1.0.4.sr20250501-default (64-bit)
Graphics Platform: Wayland
Processors: 32 × AMD Ryzen Threadripper PRO 3955WX 16-Cores
Memory: 125.6 GiB of RAM
Graphics Processor 1: NVIDIA GeForce RTX 3090
Graphics Processor 2: llvmpipe

ADDITIONAL INFORMATION
Comment 1 stellarpower 2025-06-06 13:52:58 UTC
Maybe also I'm missing something here, but with my user hat on,how  the backup system works also is confusing me. If Falkon crashes, I restore a backup, and then carry on my day. I then close Falkon, open it again, and now my session is gone when it comes back up. Now both backups have the same timestamp of when I closed it, and if I restore either one, that's also blank. So it seems like it's being restored but in memory only, and then sometimes it is saved to the current session, sometimes not. I can try completely wiping my user state and see if it works better with a clean slate. 

The idea of profiles and sessions I think overall is good. When I have too many things open, I like the idea of being able to save current tabs to a state that I can restore without a completely different sandbox. And for the sense of saving state as something well-defined, then it makes sense not to overwrite, however, on the flipside, my personal preference would probably be something similar to what firefox does, whereby it periodically saves the state to disc such that when it crashes, which it without a doubt will do, I get back as much as possible close to where I was. I don't know if the backup system is meant to serve that purpose, but currently Falkon appears not to be doing that and I don't know if it's designed differently or if that's a bug or an issue with my system.