Bug 252004 - Kate reports an error if you cancel when saving a new file
Summary: Kate reports an error if you cancel when saving a new file
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian stable Linux
: NOR minor
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-22 05:13 UTC by Kenny Kruger
Modified: 2012-10-24 15:18 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Image of the Unnecessary Prompt (165.34 KB, image/jpeg)
2010-09-22 05:13 UTC, Kenny Kruger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kenny Kruger 2010-09-22 05:13:37 UTC
Created attachment 51872 [details]
Image of the Unnecessary Prompt

Version:           unspecified (using KDE 4.5.1) 
OS:                Linux

Kate v3.5.1

Kate reports, "Data you requested to be saved could not be written. Please choose how you want to proceed."  I don't believe it should do this.

 I looked around a bit for 'save' but didn't find articles that related -- hopefully not just a duplicate.

Reproducible: Always

Steps to Reproduce:
 Start Kate
 Add content (ie. "sldfkjslfkj")
 Close (I used the X titlebar button)
 At prompt click 'Save Selected'
 At new prompt (files) click 'Cancel'


 I assume it wasn't expecting to be canceled, isn't ready to handle that.


Actual Results:  
Prompted MSG
 "Data you requested to be saved could not be written. Please choose how you want to proceed."

Expected Results:  
No prompt, just return to previous question dialog box.

OS: Linux (i686) release 2.6.32-24-generic-pae
Compiler: cc
Comment 1 Joseph Wenninger 2012-10-24 15:18:59 UTC
Git commit 034d2375f8e78764a5c180a06bbe0e875288caa3 by Joseph Wenninger.
Committed on 24/10/2012 at 17:15.
Pushed by jowenn into branch 'master'.

Don't show an error if the user aborts saving of files on app exit, just return to the dialog. If saving fails, there are still some dialogs one after another, since they are from different levels, not optimal, but I don't have a plan to fix that yet

M  +3    -2    kate/app/katesavemodifieddialog.cpp

http://commits.kde.org/kate/034d2375f8e78764a5c180a06bbe0e875288caa3