This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 110078 - Save Diagram dialog's 'Save Always' button is not functioning correctly
Summary: Save Diagram dialog's 'Save Always' button is not functioning correctly
Status: VERIFIED FIXED
Alias: None
Product: uml
Classification: Unclassified
Component: General Diagram (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Kris Richards
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2007-07-17 23:10 UTC by Peter Lam
Modified: 2007-08-28 06:45 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Dialog shown closing dirty Java file (17.98 KB, image/png)
2007-08-24 15:51 UTC, Kris Richards
Details
Dialog shown closing dirty UML diagram (17.23 KB, image/png)
2007-08-24 15:52 UTC, Kris Richards
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Lam 2007-07-17 23:10:39 UTC
The Save Diagram dialog keeps coming up even though the "Save Always" button was clicked on to save the diagram when
closing dirty diagrams.
Comment 1 Kris Richards 2007-08-02 22:45:17 UTC
"Save Always" option has been removed. Correcting the 'Description' - the "Save Always" has nothing to do with the dirty diagrams, it is for dirty model and 
code gen.
Comment 2 Peter Lam 2007-08-03 07:28:04 UTC
verified in build 0708030-b2225.
"Save Always" button is still on the Save Diagram dialog. When the diagram is dirty, closing the diagram will display
this dialog. If it has nothing to do with the dirty diagram, this button should be removed from the dialog.
Comment 3 Kris Richards 2007-08-13 16:11:42 UTC
Save Diagram dialog now looks like standard Netbeans "dirty object" save dialog.
Comment 4 Peter Lam 2007-08-24 01:44:41 UTC
I'm on Windows XP using build 070823 b2736.

We should be making things that look like NB look and feel. This dialog now has the buttons in the following order.
Discard  Cancel  Save

While the NB's Java source dialog has the following button order, plus it has a "?" icon before the question. See
attached screenshot for both the UML Save dialog and NB's Java source Save dialog for comparison. I'm reopening this issue.

Save  Discard  Cancel
Comment 5 Kris Richards 2007-08-24 15:51:23 UTC
Created attachment 47327 [details]
Dialog shown closing dirty Java file
Comment 6 Kris Richards 2007-08-24 15:52:11 UTC
Created attachment 47328 [details]
Dialog shown closing dirty UML diagram
Comment 7 Kris Richards 2007-08-24 15:53:56 UTC
please attach the Windows dialogs to show the bad order of the buttons. On the Mac, the buttons are in the same order for the dirty Java and dirty UML 
diagram.
Comment 8 Kris Richards 2007-08-24 17:19:45 UTC
Added icon to complete NB look for dirty files. Please reopen if the button is not correct, it is correct on the Mac.
Comment 9 Peter Lam 2007-08-25 06:04:21 UTC
The "?" icon is there now but the button orders are still as below and default button is on Discard.

Discard  Cancel  Save
Comment 10 Kris Richards 2007-08-27 22:12:27 UTC
Fixed order of buttons on Save Dirty Dialog. (See SaveNotifierYesNo.java)
Comment 11 Peter Lam 2007-08-28 06:45:27 UTC
verified in build 20070828-b2830.