Version: unspecified (using KDE 4.6.1)
I set kate to show a choice of sessions at startup. If I select a session which is already opened in another kate instance, it will ask me:
"Session 'SESSION_NAME' is already opened in another kate instance, change there instead of reopening?"
with a choice of "Yes" and "No". Selecting "Yes" will put focus on the already opened kate session. That's fine.
But hitting "No" just close the launched kate. It should at least offer to open another session. For example, "Yes" "No" "The folowing session/Choose another session".
Steps to Reproduce:
1) Set kate to show session list at startup: "Settings/Configure Kate/Application/Sessions/Behaviour on Application Startup" set to "Manually choose a session".
2) Launch kate, select a session.
3) Launch kate again and try to open the same session. The following popup appear:
"Session 'SESSION_NAME' is already opened in another kate instance, change there instead of reopening?" with a choice of "Yes" or "No".
4) Select "No".
The new kate instance will close completely.
Kate should offer to open another session. The simplest form would be to re-open the popup asking which session to open when the user clicks "No". A sligthly better approach would be to add a third button "Choose a different session".
Another way would be to include this session list in the "already opened" popup.
Kate 3.6.1, KDE 4.6.1, ArchLinux x86_64
Git commit ccb7b16b30b9afd918cadf6853ee5e93b7e9de15 by Christoph Cullmann.
Committed on 24/06/2011 at 22:18.
Pushed by cullmann into branch 'master'.
allow user to select other session on startup
M +2 -2 kate/app/katesession.cpp