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 214458 - Save dialog after closing newly created file
Summary: Save dialog after closing newly created file
Status: VERIFIED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.2
Hardware: Macintosh Mac OS X
: P2 normal (vote)
Assignee: issues@guibuilder
URL:
Keywords:
: 215276 (view as bug list)
Depends on:
Blocks: 217572
  Show dependency tree
 
Reported: 2012-06-19 16:45 UTC by ytn01
Modified: 2012-09-10 08:32 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ytn01 2012-06-19 16:45:55 UTC
Currently, IDE is displaying Save dialog for newly created GUI forms, that are closed just after being created & switched view to "Source" mode.
Since no change has been made on such newly created forms, this is an incorrect behavior.

However, if the Form is closed right after creation while still in "Designer" mode, the save dialog won't pop.

Product Version = NetBeans IDE 7.2 RC1 (Build 201206141830)
Operating System = Mac OS X version 10.7.4 running on x86_64
Java; VM; Vendor = 1.7.0_05
Runtime = Java HotSpot(TM) 64-Bit Server VM 23.1-b03
Comment 1 Marian Mirilovic 2012-06-20 08:02:44 UTC
The same root as for issue 212177
Comment 2 Tomas Pavek 2012-08-28 17:14:22 UTC
Not related to issue 212177, it's a different problem.
Form needs to be saved after created to finish some additional initialization. This automatic after-creation saving got broken in 7.2.

Fix: http://hg.netbeans.org/jet-main/rev/5cff2e5adc37
Comment 3 Tomas Pavek 2012-08-28 17:14:33 UTC
*** Bug 215276 has been marked as a duplicate of this bug. ***
Comment 4 Quality Engineering 2012-08-29 02:41:52 UTC
Integrated into 'main-golden', will be available in build *201208290001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/5cff2e5adc37
User: Tomas Pavek <tpavek@netbeans.org>
Log: #214458: form needs to be saved automatically after created
Comment 5 Tomas Pavek 2012-08-29 12:03:33 UTC
For complete fix need also http://hg.netbeans.org/jet-main/rev/755485c48bb9
Comment 6 Tomas Danek 2012-08-30 14:39:10 UTC
verified. Please proceed with backport. (http://wiki.netbeans.org/NetBeansPatchesProcess)

Product Version: NetBeans IDE Dev (Build 201208300001)
Java: 1.7.0_08-ea; Java HotSpot(TM) 64-Bit Server VM 23.4-b01
System: Mac OS X version 10.8 running on x86_64; US-ASCII; en_US (nb)
User directory: /Users/tomas/Library/Application Support/NetBeans/dev
Cache directory: /Users/tomas/Library/Caches/NetBeans/dev
Comment 7 Quality Engineering 2012-09-01 11:07:26 UTC
Integrated into 'releases', will be available in build *201209010822* or newer. Wait for official and publicly available build.
Changeset: http://hg.netbeans.org/releases/rev/873909ebdcd5
User: Tomas Pavek <tpavek@netbeans.org>
Log: #214458: form needs to be saved automatically after created
(transplanted from 5cff2e5adc378493c919a650974aaa5a629af43e)
Comment 8 Tomas Danek 2012-09-10 08:32:12 UTC
cannot be reproduced in 7.2 + patch1 modules -> verified.