On 2023-09-19 15:38:26 you wrote:
J Leslie Turriff via tde-users wrote on 9/18/23
23:32:
Configuration of the Sessions feature in Kate
has always been confusing
(at least for you and me).
If you Click on Sessions => Select Session > how many sessions do you
see?
One (called "Unnamed").
In the image you posted, 'Behavior on
Application Exit or Session
Switch' at the bottom is set to 'Do not save session'; perhaps, though
you have created a new session, your session info was not saved into it?
You could change that to 'Ask user' to see if that helps.
I did that, and it changed things, although not really a help:
With "Do not save session" selected:
1. Open blank kate.
This has a sidebar with "Untitled" in it.
2. Change session configuration to: "Ask user".
3. Remove sidebar.
4. File | Quit
Asks me whether to save the session; click "Save".
---
5. Open blank kate.
No sidebar. Good. But...
6. Type some text.
7. File | Quit
Asks me whether to save the file.
I select yes, and give it a filename.
Asks me whether to save the session; click "Delete".
But why did
you want to delete the session which is remembering that you
don't want the sidebar to be displayed?
Now that you know that the session is recording that, you can change 'Ask
user' to 'Save session' (it really means 'Re-save session') and it
will
remember it forever. 'Load last-used session' and 'Save session' will do
what you want.
Leslie
[I note that this option says that it will delete ALL saved sessions, not
just the current one. I don't see a way in this dialogue to delete the
current session but keep the one that was present when kate started.]
---
8. Open blank kate.
Back to having a sidebar with "Untitled" in it.
So that's still not right :-(
----
I also tried the following in an attempt to finesse the lack of an option
to keep the session information that was used when kate opens.
Starting from the same original configuration:
1. Open blank kate.
This has a sidebar with "Untitled" in it.
2. Change session configuration to: "Ask user".
3. Remove sidebar.
4. File | Quit
Asks me whether to save the session; click "Save".
5. Open blank kate.
No sidebar. Good.
6. Change Session configuration to: do not save.
Logically, then, if I now close and re-open kate, it will open with no
sidebar, as no new session will be stored during the exit, and re-opening
kate should therefore be exactly the same as in step 5.
7. File | Quit.
No dialogue box. Good. When this step concludes, I reckon that I
should be in exactly the same state as at the end of step 4, as no new
session has been written to disk.
8. Open blank kate.
This has a sidebar with "Untitled" in it.
Doc
--
Platform: Linux
Distribution: openSUSE Leap 15.4 - x86_64
Desktop Environment: Trinity
Qt: 3.5.0
TDE: R14.1.0
tde-config: 1.0