Is there a way to disable the “Akregator did not close correctly. Would you like to restore the previous session?” screen?
I use Akregator as my main RSS reader, but one thing that’s been a little pet peeve is that I never manually close background tasks like Akregator, etc, when turning off my PC. This leads to the did not close correctly screen coming up every time I turn on my PC.
I looked around for a setting to disable that screen, but I couldn’t find any. It’s no big deal as I can just click do not restore session every time, but I’d rather not have to if possible.
Hi! I’ve run into the same issue, and yes, the only thing I’d add there is that Ctrl+Q on the keyboard also works and, for me, was a bit faster than navigating the menus.
this thing has been bothering me for years but every time I opened up the source code, I realised that it is quite a bit over my head for a cosy evening.
The issue is that Akregator recognises a crash when you log out of your desktop session while it is running (both as application or in system tray). This should not happen.
So, from the code I can see that the crashed state is kind of always set to true and is only set false when the Application is quit manually. This kind of makes sense because it is hard to set it to true when the application crashed, right? I guess its the same with lock files in other applications.
So, there is a Part::clearCrashProperties(), which is supposed to be called when you click “Restore Session” (according to the code) … But in my ~/.local/share/akregator/crashed config file, crashed is still set to true after I click that button. Strange.
Ah well, still going over my head all this, which is not surprising given that I did not do C++ in years. For me it seems that Akregator does not handle a request to quit from the session manager gracefully.
I cannot understand how this can be going on for several years now. Everybody using Akregator should have this thrown into their face on a daily basis. … Or am I missing something and 95% of the users are doing it the right way and giggling about us who do not get it?