Bug 343087 - Session Manager doesn't enable to delete the last session (Delete button disabled)
Summary: Session Manager doesn't enable to delete the last session (Delete button disa...
Status: RESOLVED INTENTIONAL
Alias: None
Product: kate
Classification: Applications
Component: sessions (show other bugs)
Version: 3.14.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-20 16:02 UTC by René Krell
Modified: 2016-06-12 21:53 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description René Krell 2015-01-20 16:02:32 UTC
In Kate, when choosing Sessions -> Manage Sessions, I had initially two sessions in the according popup. After deleting one (the Default session by mistake), the remaining one could not be deleted, because the Delete button gets disabled for the last session.

Reproducible: Always

Steps to Reproduce:
1. Open Kate
2. Create at least two sessions
3. In Sessions -> Manage Sessions delete the first one, then try to delete the second (last) one

Actual Results:  
The Delete button gets disabled before you can delete the last session

Expected Results:  
The Delete button should get disabled after deleting the last session.
Comment 1 René Krell 2015-01-20 16:08:19 UTC
Even more, I found that if I create a New session without actually saving it and then open the Manage Sessions popup the last session displayed there can be deleted. In this state I still don't see there my new session actually opened.
Comment 2 Dominik Haumann 2016-06-12 21:53:34 UTC
This is by design:
- The currently opened session cannot be deleted.
- When you have a unnamed (=anonymous) session, you are essentially not in a session, and therefore, this temporary session is not displayed.

Closing as wont-fix for now :-)