Kate’s session management is quite annoying in some setups. My setup is always to open new session + discard session on exit. I always use one session but I have my titlebar (and whats worse) and even button on taskbar cluttered with “without name:”.
This makes taskbar button almost useless as I can!t see name of opened document (only first few characters).
Whole this thing is not logical but confusing. Why I should care about session name if its default name and/or it is only session set up? Why it must look like part of file name? (It took me 15 minutes to figure out what’s that thing. I thought my file didn’t saved properly.
My proposal is to add few tweaks:
I think it will help people in using kate as I know plenty of people with Trinity, most of them are devs/sysadmins in some sort, but none of them are using session management in Kate. So I guess my setup is pretty common and status quo is just more confusing than helpfull for people using this common setup.
Steps to reproduce: Disable session management as described above, look at taskbar/titlebar.
Hi Petr, thanks for reporting the issue and proposing ideas for a solution. I have thought about it and I think what I will do is to add a checkbox for “Don’t show session name in titlebar”. This will also take care of not showing the session in the taskbr button, since such button shows the window title in it.
By the way, session management (especially with the new session panel) is very useful if you need to work on a set of different tasks on different times. With a simgle click you can easily switch between one session/task and another one. I encourage you or your friends to try this way of working, you should quickly see some benefit in your workflow, I think.
Hello. You’re welcome. I am aware of possible advantages. But it’s not my case to use advantage of them. When I do some scripting then I work on one thing at the time and I have opened like 5 files. When I do some web, then I have opened about 10 files.. Still not need for session management.
Session management could mean unnecessary switching between sessions in my case.
By the way, I thought about it and it would be really nice to switch order of these values in titlebar. Maybe it could be next checkbox?
Commit 9599fe54 adds a checkbox to choose whether to display the session name in the window titlebar or not, and consequently in the taskbar too. Please check and let me know what you think.
Regarding the position of the session name in the title bar, I will probably do that in a separate commit. I will leave this issue open for the time being.
Thank you very much for quick fix. This fix is enough for me, but I guess that alternate order could be handy if you still want session name in title but prefer to see document name in the taskbar.
Yes, I am planning to add a selection for the place of the session name (either before or after the document name) some time in future.
No due date set.
This issue currently doesn't have any dependencies.
Deleting a branch is permanent. It CANNOT be undone. Continue?