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 231636 - [GUIBuilder] Saving alters layout code, but there was no intentional layout change
Summary: [GUIBuilder] Saving alters layout code, but there was no intentional layout c...
Status: RESOLVED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P2 normal (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-21 13:35 UTC by markiewb
Modified: 2013-07-02 02:15 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Shows the issue in reproducible steps (471.17 KB, image/png)
2013-06-21 13:35 UTC, markiewb
Details

Note You need to log in before you can comment on or make changes to this bug.
Description markiewb 2013-06-21 13:35:46 UTC
Created attachment 136144 [details]
Shows the issue in reproducible steps

* open editor.codetemplates\src\org\netbeans\lib\editor\codetemplates\storage\ui\CodeTemplatesPanel.java
* open the design view
* alter property f.e. tTemplate#autoCreateRowSorter=true
* save

ACTUAL: layout code has been changed - see screenshot - but I didn't change the layout. This breaks the current layout.
EXPECTED: no changes in layout code

I am sorry, but this is a P2 for me, because I cannot trust the GUIBuilder anymore. The layout changes by accident. Try it out. It is not acceptable IMHO.

The GUI Builder should only modify layout code when I intentionally change the layout.

----
Product Version: NetBeans IDE Dev (Build 201306181109)
Java: 1.7.0_25; Java HotSpot(TM) 64-Bit Server VM 23.25-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_25-b16
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
Comment 1 markiewb 2013-06-21 13:36:26 UTC
Related to https://netbeans.org/bugzilla/show_bug.cgi?id=226292 ?
Comment 2 Tomas Pavek 2013-07-01 13:13:48 UTC
Fixed together with bug 226292.

http://hg.netbeans.org/jet-main/rev/91c8562b5aa7
Comment 3 Quality Engineering 2013-07-02 02:15:07 UTC
Integrated into 'main-silver', will be available in build *201307012300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/91c8562b5aa7
User: Tomas Pavek <tpavek@netbeans.org>
Log: #226292, #231636: improving how size definition is preserved without unnecessary changes