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 125604 - Tree not rendered correctly in designer
Summary: Tree not rendered correctly in designer
Status: VERIFIED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P1 blocker (vote)
Assignee: Peter Zavadsky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-19 00:38 UTC by _ krystyna
Modified: 2008-01-23 17:49 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
designer view (140.10 KB, image/jpeg)
2008-01-19 00:46 UTC, _ krystyna
Details
preview browser tree (87.97 KB, image/jpeg)
2008-01-19 00:47 UTC, _ krystyna
Details

Note You need to log in before you can comment on or make changes to this bug.
Description _ krystyna 2008-01-19 00:38:28 UTC
Product Version: NetBeans IDE Dev (Build 200801180000)
Java: 1.6.0_04; Java HotSpot(TM) Client VM 10.0-b19
System: Windows XP version 5.1 

1. EE5 project, drop tree component on designer and see the space between "Tree" and
"Tree Node1 1".

2. run preview browser to see correct rendering, hence assuming that this is designer issue (?).

Runtime shows correct rendering.
Comment 1 _ krystyna 2008-01-19 00:46:46 UTC
Created attachment 55271 [details]
designer view
Comment 2 _ krystyna 2008-01-19 00:47:16 UTC
Created attachment 55272 [details]
preview browser tree
Comment 3 Peter Zavadsky 2008-01-19 01:01:11 UTC
Yes, it seems to be there, investigating.
Comment 4 Peter Zavadsky 2008-01-22 18:13:02 UTC
Krys, when I built the 6.0 from sources and tried. It shows the problem also there. Are you sure 6.0 was OK?
Comment 5 Peter Zavadsky 2008-01-22 18:51:05 UTC
It seems it is again an issue with computing of floats. I am not fully sure, but there were probably no changed from 6.0
in that area. Anyway, still hunting it down.
Comment 6 Peter Zavadsky 2008-01-22 19:07:10 UTC
I found the cause, it was a typo, which got in when fixing issue #123611.
Comment 7 _ krystyna 2008-01-22 19:07:46 UTC
My two installatoins of NB6.0 show tree correctly. You can view 
in my office. I alo checked 6.0.1 which is an update of woodstock dojo
jar to 1.0.1 - and component rev to 4.1.1-- and it shows it correctly
too. ?
Comment 8 Peter Zavadsky 2008-01-22 19:08:19 UTC
Fixed (in trunk).

Checking in visualweb/designer/src/org/netbeans/modules/visualweb/css2/FormatContext.java;
/cvs/visualweb/designer/src/org/netbeans/modules/visualweb/css2/FormatContext.java,v  <--  FormatContext.java
new revision: 1.10; previous revision: 1.9
done
Comment 9 Peter Zavadsky 2008-01-22 19:11:30 UTC
Krys, the fix which caused this was put in on Dec 13th, so probably it went to one of those patches after 6.0 (not
directly to the 6.0), the sources I tried are from release60 (which probably contain all the patches).
Comment 10 Petr Blaha 2008-01-23 13:13:29 UTC
Peter, this is strange since we did just patch for Woodstock upgrade and the designer code was not affected by this. See
the info for fixes that were in patches http://wiki.netbeans.org/wiki/view/NetBeans6.0PatchesInfo
Comment 11 _ krystyna 2008-01-23 17:02:02 UTC
Ok, verified this fix in netbeans-hudson-trunk-5368-javaee.
This bug is ready to be integrated into M1. Peter, please mark
bug fixed.
Comment 12 Peter Zavadsky 2008-01-23 17:25:13 UTC
Marking as fixed (in the trunk).
Can I now integrate to the M1 branch?
Comment 13 _ krystyna 2008-01-23 17:31:40 UTC
Yes, Please integrate to M1. Thanks!

verified as in desc12, 
: NetBeans IDE Dev (Build 20080123091304)
Java: 1.6.0_04; Java HotSpot(TM) Client VM 10.0-b19
System: Windows XP version 5.1 
Comment 14 Peter Zavadsky 2008-01-23 17:49:53 UTC
Merged into M1 branch.

Checking in visualweb/designer/src/org/netbeans/modules/visualweb/css2/FormatContext.java;
/cvs/visualweb/designer/src/org/netbeans/modules/visualweb/css2/FormatContext.java,v  <--  FormatContext.java
new revision: 1.9.2.1; previous revision: 1.9
done