You are not logged in.
I'm just wondering: Does it happen maybe to other users too sometimes?
It's very rare for me, but from time to time there are applications like spacefm or geany, which keep open tabs for having them shown whenever the applications starts.
However they are lost sometimes, which means the applications start like a fresh install. This does not happen to me at the same time with the different applications, but I noticed it occasionally besides spacefm and geany also on vivaldi.
Does anyone maybe know where to look for the culprit or e.g. where geany stores such info?
Offline
where to look
Try ~/.xsession-errors immediately after the problem occurs.
Offline
my browsers are set up to not use this feature, but i might have seen it with other apps.
reasons could be:
1. unclean shutdown (most likely)
2. an app update that requires to start from scratch
if it's 1., you have to be either very careful to gracefully close all windows before logging out / shutting down, or use a script that takes that over for you.
i have written a script like that, and there was a thread about it here. keyword "graceful close".
Offline
@ohnonot Those were my thoughts too! But: I had several unclean shutdowns (battery contact missing, pushing the power button, etc.) and those issues never occured after these events. On the contrary: Geany had all the tabs, Firefox had the restore feature working fine and SpaceFM was ok too, just like Vivaldi.
I had a look in .xsession-errors, which has all kind of logs, but not related to the apps I mentioned. And having these issues after an update would have been too obvious, but no: I think it's not the case. Or at least I could not tell which packages caused the lost of the saved configuration.
Anyhow, I'm a bit surprised no one else had this experience, so there might be something with the configuration here...
Offline
^ An unclean shutdown does not guarantee the tabs will be lost. However, they will be lost if they happen to be the files that are affected when the extfs journal is repaired, I believe. Also, if you forget and manually close Chrome | Firefox | geany before a shutdown then the tabs are lost as well. The best way to ensure that state is saved during a shutdown is to hibernate or Hybrid sleep the machine.
Offline
^ if you forget and manually close Chrome | Firefox | geany before a shutdown then the tabs are lost as well.
I'm not sure what you mean. If I set Chrome and Firefox to start with the last open tabs, then I can close the browser any time manually - at next opening the tabs will be there. It's the same with geany and it's been working fine. Unfortunately if something happens to the tabs and they are lost - which is rare -, it's very annoying.
Offline
1. unclean shutdown (most likely)
2. an app update that requires to start from scratch
I was thinking of a third possibility someone might forget about:
3. home partition gets full while working in the session
Offline
It's very rare for me, but from time to time there are applications like spacefm or geany, which keep open tabs for having them shown whenever the applications starts.
However they are lost sometimes, which means the applications start like a fresh install. This does not happen to me at the same time with the different applications, but I noticed it occasionally besides spacefm and geany also on vivaldi.
It happens to me too, and I've been looking for an answer for a long time.
According to probability theory, there are joys after troubles
Offline
I have a fourth reason, I was told about it by the browser support service: if several windows of the same application are open, then the number of tabs will be the same as the last closed application.
Usually, like everyone else, I launch the application by double-clicking on the application icon on the taskbar.
At the same time, it is very rare to double-click with the left mouse button on the first and second conscious clicks of the button. Two applications are running at the same time: the first with the latest tabs, the second without tabs. I automatically close the first and then the second instance of the same application. As a result, when I launched this application, it runs without tabs.
According to probability theory, there are joys after troubles
Offline
... and there was a thread about it here. keyword "graceful close".
I searched the forum, but the source code was deleted
All applications allow you to close gracefully: only you do not need to close with a cross in the upper right corner and not with a selection from the context menu that appears when you right-click on the corresponding icon on the taskbar: Close the application. This must be done from the application menu: Files-Exit. These names are given for Geany.
Last edited by Pingvin (2024-01-11 13:04:18)
According to probability theory, there are joys after troubles
Offline
I have a fourth reason, I was told about it by the browser support service: if several windows of the same application are open, then the number of tabs will be the same as the last closed application.
Usually, like everyone else, I launch the application by double-clicking on the application icon on the taskbar.
At the same time, it is very rare to double-click with the left mouse button on the first and second conscious clicks of the button. Two applications are running at the same time: the first with the latest tabs, the second without tabs. I automatically close the first and then the second instance of the same application. As a result, when I launched this application, it runs without tabs.
Pretty sure that "double-click" should be a "single-click", every task bar, dock or similar in any OS is always a single click. Double clicking the app is opening it twice.
"All we are is dust in the wind, dude"
- Theodore "Ted" Logan
"Led Zeppelin didn't write tunes that everybody liked, they left that to the Bee Gees."
- Wayne Campbell
Offline
Thanks Dobbie03. Indeed, in the taskbar, it is enough to press the left mouse button once to launch. Then my #9 topic should look like this:
If there are two or more of the same application in operation. Then it should be taken into account that when closing windows of one application sequentially: tabs are restored only for the application that was closed last.
According to probability theory, there are joys after troubles
Offline
Since my first post on this topic, I have never lost tabs in the Geany. And before that, I saved in the Geany: File-Latest files that I increased from 10 to 30 in the Edit-Settings-Files-Miscellaneous menu.
According to probability theory, there are joys after troubles
Offline