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 47719 - [dual monitor] Menu dropdowns appear on the wrong screen
Summary: [dual monitor] Menu dropdowns appear on the wrong screen
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: David Simonek
URL:
Keywords: DUAL_MONITOR
: 56776 58399 59226 60738 68120 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-08-23 16:18 UTC by franqueli
Modified: 2008-12-23 14:27 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screen shot of the issue (346.64 KB, image/png)
2004-08-23 16:19 UTC, franqueli
Details

Note You need to log in before you can comment on or make changes to this bug.
Description franqueli 2004-08-23 16:18:06 UTC
I have a split monitor setup. My primary screen 
has a 1024 X 768 resolution. My secondary display 
has a 1280 X 1024 resolution and its upper left 
hand corner coordinates are (-1280, -1024). The 
problem is that when I have the ide in my 
secondary display and I click on any of the menus 
the dropdown is diplayed in the upper left hand 
corner of my primary display (0,0).
Comment 1 franqueli 2004-08-23 16:19:28 UTC
Created attachment 17038 [details]
Screen shot of the issue
Comment 2 Milan Kubec 2004-08-27 15:17:41 UTC
Reassigning for evaluation. Might be JDK issue.
Comment 3 David Simonek 2004-09-06 11:16:43 UTC
Passing to Trung at his request.
Comment 4 _ ttran 2004-09-07 15:41:44 UTC
dup of issue 41159

*** This issue has been marked as a duplicate of 41159 ***
Comment 5 franqueli 2004-11-29 15:06:37 UTC
This issue has not been fixed with the fix of issue 41159. My dual
screen setup is bit different in that my monitors are not setup side
by side and my secondary monitor is to the left and above my primary
monitor(virtually of course). see the attached screen shot. 
Here are some more details on my setup.
I'm running with jdk1.5.0 on Windows XP Professional. I retested with
Netbeans 4.0 RC 1 and the issue has not been resolved.
Comment 6 Jan Chalupa 2005-03-03 09:03:08 UTC
Confirmed. I can reproduce the problem with NB 4.1 Beta on WinXP. It
seems as if menus weren't allowed to display at positions with
negative coords.
Comment 7 Jan Chalupa 2005-03-03 09:27:21 UTC
BTW, SwingSet demo bundled with JDK 1.5.0_01 works fine. So it doesn't
seem to be a JDK issue.
Comment 8 Jan Chalupa 2005-03-03 18:41:14 UTC
Trung, fyi, your test from java.net
http://wiki.java.net/bin/view/Netbeans/MultipleMonitors

shows no problems. 5 or 6 test frames are displayed on both monitors.
Comment 9 _ ttran 2005-03-06 19:34:23 UTC
OK, clearly bug in NB.  Honza you must find someone else to fix the bug.
I don't have time to work on this now.

See also http://openide.netbeans.org/multi-monitors.html, something I
wrote long time ago.  
Comment 10 Jan Chalupa 2005-03-09 22:40:17 UTC
Worth mentioning that if I run NetBeans with netbeans.popup.no_hack=true, the
menus render perfectly. For the short term, the option can be used as a
workaround, but we should finally get rid of this popup hack forever.
Comment 11 David Simonek 2005-03-16 12:39:53 UTC
I agree with removing the popup hack...what was the issue that covers hack removal?
Comment 12 Jan Chalupa 2005-03-16 15:14:09 UTC
See issue #56194 (TASK). However, I think it's already too late to make it in
4.1. Let's try to do it soon after 4.1 is branched.
Comment 13 Jan Chalupa 2005-03-16 22:31:44 UTC
See also issue #38375.
Comment 14 Marian Mirilovic 2005-03-22 10:06:20 UTC
*** Issue 56776 has been marked as a duplicate of this issue. ***
Comment 15 Marian Mirilovic 2005-04-28 12:33:36 UTC
*** Issue 58399 has been marked as a duplicate of this issue. ***
Comment 16 Marian Mirilovic 2005-05-25 10:23:13 UTC
*** Issue 59226 has been marked as a duplicate of this issue. ***
Comment 17 Marian Mirilovic 2005-05-25 13:25:24 UTC
Dafe, 
do you plan to work on this issue for next release ? 
We have few dual monitor's issues, so I think it will be more than nice if we
solve some of them in the near future.
Comment 18 David Simonek 2005-05-25 13:37:04 UTC
Yes we plan to remove popup hack, which will solve his issue, as Jan wrote.
However, complete multi monitor support (editor detaching) is not planned.
Comment 19 Marian Mirilovic 2005-07-11 09:42:49 UTC
*** Issue 60738 has been marked as a duplicate of this issue. ***
Comment 20 Milos Kleint 2005-07-21 08:24:20 UTC
should be fixed now in trunk. popup hacks removed.
Comment 21 Marian Mirilovic 2005-11-04 22:25:10 UTC
*** Issue 68120 has been marked as a duplicate of this issue. ***
Comment 22 Petr Chytil 2006-12-07 14:36:14 UTC
verified in:

NetBeans IDE Dev (Build 200612041900)
1.6.0-rc; Java HotSpot(TM) Client VM 1.6.0-rc-b104
Linux version 2.6.17-10-generic running on i386
en_US (nb); UTF-8

(dual monitor setup)
Comment 23 Quality Engineering 2008-12-23 14:27:44 UTC
This issue had *1 votes* before move to platform component