Bug 342057

Summary: Saving a session w/out opening one does nothing
Product: [Applications] kate Reporter: Gerald Senarclens de Grancy <oss>
Component: sessionsAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: minor CC: danikpastushchak90
Priority: NOR    
Version: 3.14.2   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Gerald Senarclens de Grancy 2014-12-20 19:01:48 UTC
When using sessions->save session nothing happens unless sessions->save session as or sessions->open session or the like was invoked first. This is misleading as one might suppose that a 'default' session is saved in the background. It would be much better if the sessions->save session as dialog would be shown in such a case (this would also improve consistency as the same behavior is used for saving unnamed files; invoking file->save on any unnamed file actually causes the dialog triggered by file->save as to show).

reproduce:
- start kate w/out any session
- open a few documents
- select session->save session

expected behavior:
- the dialog "specify new name for current session" is shown
- the session is saved using the given name

actual behavior:
- afaik nothing happens and the save silently fails

Reproducible: Always
Comment 1 Daniel Pastushchak 2014-12-24 15:16:08 UTC
Comment from GCI student:
I think this bug is a duplicate of this https://bugs.kde.org/show_bug.cgi?id=319396
Comment 2 Gerald Senarclens de Grancy 2014-12-24 22:18:39 UTC
@Daniel: good catch, thanks!

*** This bug has been marked as a duplicate of bug 319396 ***