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.
I use NB3.2 build 192. With the default font size, the bottom part of CVS filesystem action menu (not the individually checked out files) displays behind the Windows quick launch bar. When NB ide.cfg changed to fontsize 10, all is visible. The quick launch BTW is on the second row from the bottom on my installation. The very bottom row is where the open program icons are. When I close the second row, and have the quick launch and open programs on the same row as the Windows start button and system tray, abovementioned action menu is fully visible. Could this be corrected please? Kind regards Emmanuel
Created attachment 1441 [details] CVS action menus - a) visible b) partly behind quick launch
Created attachment 1442 [details] Action menu in 'editing source editor' also not fully visible
Created attachment 1443 [details] Action menu in 'editing source editor' also not fully visible
Not sure whether org.openide.awt.JPopupMenuPlus can do anything about this.
The problem is that we cannot obtain if there exist some taskbar and the bounds of the taskbar. This is general problem of all java applications on windows platforms. If you can, please file an enhancement into the JDC at (java.sun.com), thanks.
I filed with java.sun.com., please advise what happens from here on.
Emmanuel, as Jan mentioned, this is general problem in java apps., so we are not able to easy solve this now. Thanks!
Hello all, Thank you for your assistance. Here is my feedback. I filed this with SUN and their reply follows below - in short, JDK1.4 addresses the "Taskbar bounds". What I'm not sure of is, would this automatically be fixed once jdk1.4 is released or must NB also make changes in this regard? Please advise. Regards Emmanuel ------------------------------------------------------------------------------ Please see # 4032847 and other bugs noted at: http://search.java.sun.com/Search/java?qt=%2Btaskbar+%2Bwindows&col=obug&rf=0 (remove linefeeds/spaces from URL before pasting into browser) # 4032847 is marked as fixed in merlin-beta (1.4 beta), the first public version of which is already available at: http://java.sun.com/products/j2se/1.4 You may want to review it. ----------------- Original Bug Report------------------- category : java subcategory : classes_awt release : 1.3 type : bug synopsis : Java does not make "Taskbar bounds" available description : D:\jdk1.3\bin>java -version > jdk.txt java version "1.3.0" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C) Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode) Here is a full description of bug as placed with Netbeans and their reply; http://www.netbeans.org/issues/show_bug.cgi?id=12451 --------- 31 May 2001, eval1127@eng -- please see # 4032847 and other bugs noted at: http://search.java.sun.com/Search/java?qt=%2Btaskbar+%2Bwindows&col=obug&rf=0 # 4032847 is marked as fixed in merlin-beta (1.4 beta), the first public version of which is already available at: http://java.sun.com/products/j2se/1.4 You may want to review it. workaround : Used smaller font suggested_val : cust_name : Emmanuel van der Meulen cust_email : emmanuel@icon.co.za jdcid : emmanuelsun keyword : webbug company : Private hardware : x86 OSversion : windows_2000 bugtraqID : 4032847 dateCreated : 2001-05-28 12:50:22.6 dateEvaluated : 2001-05-31 22:59:51.121
closing
jdk bug
I'd like to bring this point across; My understanding is that even though this was a jdk bug, which is now fixed, that NB is required to make provision for the second bottom bar. I do not know whether this is correct, but jdk now makes available the fact that a second bar exists, for the app, in this case NB to make provision for it. Please would you investigate.
I claim this bug in the name of UI team. We need to fix this usability problem, even if the fix would require JNI code to find out the taskbar coordinates. Clearly, on JDK 1.4, we need to make sure we use its new abilities correctly.
Thank you for your willingness to attend to the issue.
Target milestone changed.
3.3.1_WAIVER keyword added
I approve the waiver for 3.3.1
Waiver approved by QA.
Approved for waiver. I have good news, there is a hidden workaround. The property netbeans.screen.rect can be set on the command line. It describes the rectangle on the screen where the menus will be described. It was intended for the case were Windows user has a task bar that is not at the bottom or is more then one row tall. If you screen is 1024x768 and you have a two row task bar at 20 pixels per row (my guess), then try runide.exe -J-Dnetbeans.screen.rect=0,0,1024,728 This hidden property should not be considered a fix, its a hack. We should fix this bug early in the 3.4 release cycle.
Hello Evan, My screen is 1280x960 so I used -J-Dnetbeans.screen.rect=0,0,1280,960 in ide.cfg, but it made no change. I'll wait until the issue is resolved, thank you. Kind regards Emmanuel
Emmanuel, If you set netbeans.screen.rect to the size of the screen it will have no affect. In your case, you have two rows of task bar at the bottom. Assuming a task bar row is 20 pixels, then you need to subtract 40 from the height field and use 920. Try using -J-Dnetbeans.screen.rect=0,0,1280,920 and see if that fixes the problem.
*** Issue 19954 has been marked as a duplicate of this issue. ***
The -J-Dnetbeans.screen.rect hack does not solve issue 19954, which was marked as a duplicate of this bug.
-J-Dnetbeans.screen.rect is only hack/workaround - we need jdk to be able to return right constraints taking taskbar into account and display new dialogs right.
*** Issue 20011 has been marked as a duplicate of this issue. ***
Requesting waiver for FFJ 4.0 (Orion).
Waiver approved.
It's reproducible on [orion](rc5), [jdk1.4](fcs), Linux RH7.1/Gnome1.4
this bug has been fixed if you have jdk 1.4 which implements java.awt.Toolkit.getScreenInsets() correctly which unfortunately is not always true. In that case the user can tell the IDE explicitly the size/positions of the taskbars using -J-Dnetbeans.screen.insets=<top>,<left>,<bottom>,<right> (I've fixed this bug as part of making IDE usable in multiple monitor setup)
verified in [nb_dev](20030108)
Resolved for 3.4.x or earlier, no new info since then -> closing.