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.
Summary: | Components do not size correctly | ||
---|---|---|---|
Product: | obsolete | Reporter: | bugbridge <bugbridge> |
Component: | visualweb | Assignee: | Peter Zavadsky <pzavadsky> |
Status: | NEW --- | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 5.x | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Original Target Release: mako_dev; Suggested Target Milestone : Dev Description: SYSTEM INFORMATION : >Log Session: Friday, January 27, 2006 8:32:12 AM CET >System Info: Product Version = Java Studio Creator 2 (version 060120) Operating System = Windows XP version 5.1 running on x86 Java; VM; Vendor = 1.5.0_04; Java HotSpot(TM) Client VM 1.5.0_04-b05; Sun Microsystems Inc. Java Home = C:\Program Files\Sun\Creator2\java\jre System Locale; Encod. = fr_FR (rave); xyNNNNNN Home Dir; Current Dir = C:\Documents and Settings\xxxxxxxx; C:\Program Files\Sun\Creator2\bin IDE Install; User Dir = C:\Program Files\Sun\Creator2\platform5; C:\Documents and Settings\xxxxxxxx\.Creator\2_0 A DESCRIPTION OF THE PROBLEM : When we put an input text component on a page without resizing it, it takes a default size in the visual page designer, but not in the JSP. thus, when it is displayed in the browser, it takes the browser's default size for this component, which is different from the visual page designer default size. Workaround : always resize a component, even if the default size suit your needs. Resizing twice to revert to the default size is Ok: Bug removal : there are several ways to remove this bug : 1) Change the default size to match what is used by Firefox and IE (not very robust because although those two browsers use the same default size, it might be different in other browsers or futur versions.) 2) Make the default size explicit in the visual page designer AND in the JSP (better) 3) Idem #2 plus make it equal to the default size in the main browsers (even better) 4) Idem #3 + make the default size user configurable. The best way to do this, in my opinion, would be to register the default size when a component that was just inserted is resized. Il would make it very easy to insert a series of component with the same size. Someting else that is missing is a way to easily insert a series of identical components. Here are two suggestions : 1) When the user clicks on a component in the palette and then in the page, the mouse pointer should remain the cross, making it possible to click several time and insert several components without returning to the palette. Pressing ESC (for example) would return to the default mouse pointer. 2) I should be possible to drag/duplicate instead of drag/move. A good solution would be to use Ctrl+drag to duplicate. REPRODUCIBILITY : This bug can be reproduced always.