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 94983 - GTK - Problem with toolbar width
Summary: GTK - Problem with toolbar width
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 6.x
Hardware: All Linux
: P3 blocker (vote)
Assignee: mslama
URL:
Keywords: GTK, L&F
: 103626 (view as bug list)
Depends on:
Blocks: 72440
  Show dependency tree
 
Reported: 2007-02-08 16:16 UTC by mslama
Modified: 2008-12-22 11:44 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
See bottom horizontal line it should be extended to window right border (2.56 KB, image/png)
2007-02-15 14:51 UTC, mslama
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mslama 2007-02-08 16:16:49 UTC
Toolbar border should be revised.
Comment 1 R Ramos 2007-02-09 17:16:52 UTC
Isn't this a jdk bug fixed in JDK 1.6 U1?
Seems to be.
http://jroller.org/page/ramlog?entry=beautiful_netbeans_3
Do you aim at preparing a workaround for lower jdk versions?
Comment 2 mslama 2007-02-15 14:29:32 UTC
This is different problem. There is bug in our ToolbarLayout. I will attach
picture to show that. ToolbarLayout computes toolbar width incorrectly when main
window is maximized. Right and left insets are subtracted from width so
toolbaris shorter.
Comment 3 mslama 2007-02-15 14:51:46 UTC
Created attachment 38550 [details]
See bottom horizontal line it should be extended to window right border
Comment 4 mslama 2007-02-15 14:57:18 UTC
Computed width is fixed. Left and right insets are not subtracted when main
window is minimized. Also main window width instead of screen width is used to
get base width. This problem does not happen only on GTK L&F but it is visible
on GTK.

Fixed in main trunk:
/cvs/core/windows/src/org/netbeans/core/windows/view/ui/toolbars/ToolbarLayout.java
new revision: 1.7; previous revision: 1.6
Comment 5 mslama 2007-02-15 15:05:48 UTC
Correction: It happenned when main window was maximized (Linux/Gnome) NOT minimized.
Comment 6 mslama 2007-09-11 12:27:23 UTC
*** Issue 103626 has been marked as a duplicate of this issue. ***