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 64724 - Components are mixed together after moving
Summary: Components are mixed together after moving
Status: VERIFIED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Natural Layout (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks: 136425
  Show dependency tree
 
Reported: 2005-09-20 11:31 UTC by Marek Grummich
Modified: 2011-10-03 14:05 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
CFrame.form (6.93 KB, text/plain)
2005-09-20 11:33 UTC, Marek Grummich
Details
CFrame.java (5.92 KB, text/plain)
2005-09-20 11:33 UTC, Marek Grummich
Details
log file (38.53 KB, text/plain)
2011-10-03 12:53 UTC, asenk
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marek Grummich 2005-09-20 11:31:56 UTC
Build 200509191800, jdk1.5.0_04
Steps:
- open an attached form
- use D&D to move JList over JLabel1
=> components are mixed togather, one should be pushed aside
Comment 1 Marek Grummich 2005-09-20 11:33:09 UTC
Created attachment 24972 [details]
CFrame.form
Comment 2 Marek Grummich 2005-09-20 11:33:21 UTC
Created attachment 24974 [details]
CFrame.java
Comment 3 Marek Grummich 2005-10-11 14:06:16 UTC
Reproducible in the build 200510100858
Comment 4 Tomas Pavek 2005-12-06 15:33:44 UTC
This is rather complicated case, and not very common. Targeting for fututre...
Comment 5 Tomas Pavek 2007-08-08 13:14:35 UTC
In this issue, I think it does not make much sense trying to "fix" what happens when the JList is moved over the labels.
It's hard to imagine what the user might want to happen. But there are two other things in this form that should be
checked/fixed:
(1) When the JList is moved left of the labels, it resizes vertically to the full height of the form.
(2) When the JList is moved below the labels (just below jLabel6), it shrinks to zero height (the height stays zero even
after undo).

Both issues seems to be related to the "FILL" attribute used to make the list height accommodating the vertical group
size. If the attribute is eliminated first, then it behaves fine. (Can be eliminated by pressing the vertical
resizability button in toolbar twice and then unchecking "Vertical Resizable" property in layout properties.)
Comment 6 Quality Engineering 2009-12-21 04:58:37 UTC
This bug was reported against NetBeans IDE 6.0 or an older release, or against a non-maintained module. NetBeans team does not have enough resources to get to this issue, therefore we are closing the issue as a WONTFIX. If you are interested in providing a patch for this bug, please see our NetFIX guidelines for how to proceed. 

We apologize for any inconvenience.


Thank you.
The NetBeans Team
Comment 7 Tomas Pavek 2011-01-31 16:46:37 UTC
Still valid. The test case is to move JList left of the labels, top aligned with label1. It incorrectly grows over the whole form height.
Comment 8 asenk 2011-10-03 12:52:35 UTC
(In reply to comment #7)
> Still valid. The test case is to move JList left of the labels, top aligned
> with label1. It incorrectly grows over the whole form height.

This part of this bug seems to be fixed. But if you really move JList over JLabels, sometimes NullPointerException is thrown. (Log in attachment).

But I agree with Tomas, that this is very uncommon usecase and "It's hard to imagine what the user might want to happen". 

So please, is there anybody, who should review the log?I think that, if this NullPointerException is the only problem, we can close this bug as fixed.
Comment 9 asenk 2011-10-03 12:53:28 UTC
Created attachment 111419 [details]
log file
Comment 10 Jan Stola 2011-10-03 13:02:14 UTC
(In reply to comment #8)
> So please, is there anybody, who should review the log?I think that, if this
> NullPointerException is the only problem, we can close this bug as fixed.

I don't see any relation between the mentioned exception (NPE in PasswordProviderSelector) and GUI Builder. It seems to be some problem related to module system/OSGI support. Hence, I am closing this issue as fixed (as you suggested).
Comment 11 Marian Mirilovic 2011-10-03 14:05:12 UTC
see bug 201519 - for NPE
marking as verified (per Adam's comment)