Bug 71057 - exit with multiple files modified, dialog message is wrong
Summary: exit with multiple files modified, dialog message is wrong
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: All editors (show other bugs)
Version: git master
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: KDevelop Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-22 19:39 UTC by Jon Smirl
Modified: 2004-01-08 00:14 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 Jon Smirl 2003-12-22 19:39:45 UTC
Version:           CVS (using KDE Devel)
Installed from:    Compiled sources

1) Modify multiple files
2) exit kdevelop

You get a prompt:
1) Save none
2) Save all
3) Cancel

If you choose 'Save none' you still get prompted to save each file individually.

A solution would be to make 'Save none' work as advertised. And then add another button prompt which would ask for each file.
Comment 1 Jens Dagerbo 2003-12-27 16:59:41 UTC
Right. We need to look at if it is possible to have katepart suppress the exit verification. 
Comment 2 Christoph Cullmann 2003-12-28 21:32:03 UTC
this dialogs are part or the kdelibs/kparts/part.cpp file, if you don't want them to come up, set the modified flag of the part to false ;)
Comment 3 Jens Dagerbo 2003-12-28 22:46:37 UTC
LOL. Ok, that was too obvious.. ;)

Thanks for the hint, Christoph. :)
Comment 4 Christoph Cullmann 2004-01-02 19:47:52 UTC
reassign to all editors, as all with suffer from this kparts stuff ;)
Comment 5 Jens Dagerbo 2004-01-08 00:14:09 UTC
Subject: kdevelop

CVS commit by dagerbo: 

A rather large patch, but these things are all more or less related.

It fixes the following issues:
1. Bugs #58272, #71057 and #71650
2. Modify one file. do file -> close all. katepart will show a "save file?" dialog.
click cancel. the same dialog comes up again. and again...
3. Saving resets the "externally modified" icon even when it doesn't actually save
4. "Save as" a different name - tab isn't updated

CCMAIL: 58272-done@bugs.kde.org
CCMAIL: 71057-done@bugs.kde.org
CCMAIL: 71650-done@bugs.kde.org


  M +112 -0    lib/util/ksavealldialog.cpp   1.5
  M +25 -0     lib/util/ksavealldialog.h   1.2
  M +6 -2      src/documentationpart.cpp   1.17
  M +1 -1      src/documentationpart.h   1.12
  M +16 -0     src/mainwindow.cpp   1.68
  M +1 -0      src/mainwindow.h   1.20
  M +90 -94    src/partcontroller.cpp   1.111
  M +10 -2     src/partcontroller.h   1.43
  M +2 -17     src/projectmanager.cpp   1.64
  M +0 -1      src/projectmanager.h   1.17