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 118287 - Unable to select dropdown in layout panel using designer
Summary: Unable to select dropdown in layout panel using designer
Status: VERIFIED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Peter Zavadsky
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2007-10-09 20:17 UTC by Lark Fitzgerald
Modified: 2007-10-25 19:22 UTC (History)
0 users

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 Lark Fitzgerald 2007-10-09 20:17:06 UTC
Product Version: NetBeans IDE Dev (Build 200710090000) 
Java: 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_03-b02 
System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb)
Glassfish: 58g
Woodstock 4.1: 200710082032

I was trying to verify fix: http://www.netbeans.org/issues/show_bug.cgi?id=99918

Steps:
1. add a layout > layout panel to page
2. add a basic > dropdown to the layout panel

Its not selected - ie, no handles.  The property sheet is right, but if you click the designer (de-selects properties) 
and try to select the dropdown, you can't do it on the designer.  You have to choose it using the outline.
Comment 1 Lark Fitzgerald 2007-10-09 20:19:06 UTC
Note: the layout panel defaults to flow mode by default.  If it is in grid mode, you can select the dropdown if it was 
added after the layout was set to grid mode.
Comment 2 Peter Zavadsky 2007-10-10 00:11:08 UTC
Yes, it is there, need to investigate it. The flow layout inside might be source of the trouble.
Comment 3 Peter Zavadsky 2007-10-10 00:55:48 UTC
This is again the problem of the box which is generated for the dropdown (for the span) but then omitted in the layout.
There are couple of issues connected with this architecture glitch. Looking closer.
Comment 4 Peter Zavadsky 2007-10-10 01:45:07 UTC
There is for some components generated parent box which is then excluded from the layout. This architecture causes a lot
of issues like this, but at this moment it is hard to change it. Hacking it for now.
Comment 5 Peter Zavadsky 2007-10-10 02:02:51 UTC
Fixed.

Checking in visualweb/designer/src/org/netbeans/modules/visualweb/css2/LineBoxGroup.java;
/cvs/visualweb/designer/src/org/netbeans/modules/visualweb/css2/LineBoxGroup.java,v  <--  LineBoxGroup.java
new revision: 1.25; previous revision: 1.24
done
Checking in visualweb/designer/src/org/netbeans/modules/visualweb/css2/ModelViewMapper.java;
/cvs/visualweb/designer/src/org/netbeans/modules/visualweb/css2/ModelViewMapper.java,v  <--  ModelViewMapper.java
new revision: 1.29; previous revision: 1.28
done
Comment 6 Lark Fitzgerald 2007-10-25 19:22:49 UTC
Verified using:
Product Version: NetBeans IDE Dev (Build 200710230000)
Java: 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b06
System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb)
Glassfish: 58g
Woodstock 4.1: 200710250638