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 145804 - Tooltips locked to primary monitor
Summary: Tooltips locked to primary monitor
Status: RESOLVED WONTFIX
Alias: None
Product: editor
Classification: Unclassified
Component: Hints & Annotations (show other bugs)
Version: 7.4
Hardware: All All
: P3 blocker (vote)
Assignee: Max Sauer
URL:
Keywords:
: 149453 151244 156488 157284 160021 160272 164773 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-09-01 13:24 UTC by tofarr
Modified: 2016-12-21 13:58 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot of issue (14.14 KB, text/plain)
2008-09-01 13:28 UTC, tofarr
Details
screenshot of the issue (14.14 KB, image/gif)
2008-09-30 09:52 UTC, tofarr
Details
two screens tooltip bug (618.05 KB, image/png)
2016-12-21 13:54 UTC, pauloafilio
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tofarr 2008-09-01 13:24:16 UTC
In a multi-monitor environment, tooltips are displayed on the primary monitor even if the parent window for them is on
another monitor. (I will attach a screenshot)
Comment 1 Peter Pis 2008-09-01 13:26:26 UTC
Reassigning to "editor".
Comment 2 tofarr 2008-09-01 13:28:42 UTC
Created attachment 68787 [details]
Screenshot of issue
Comment 3 Max Sauer 2008-09-01 14:20:47 UTC
Sorry, could you please specify your system configuration and how you've set up your monitors? I cannot reproduce your issue when
 - on monitor one there is whole IDE
 - on monitor two there is one editor window dragged from the IDE

Product Version: NetBeans IDE Dev (Build 080901)
Java: 1.5.0_13; Java HotSpot(TM) Client VM 1.5.0_13-119
System: Mac OS X version 10.5.3 running on i386; MacRoman; en_US (nb)
Comment 4 josin 2008-09-30 08:01:01 UTC
I got same problem on WinXP. I got laptop and LCD in dual view desktop. NB I started on laptop and then dragged and
moved IDE to the right to LCD ...

Could it help you?
Comment 5 Max Sauer 2008-09-30 09:03:07 UTC
Yes, thanks for the info. Looks like it's OS specific..
Comment 6 tofarr 2008-09-30 09:48:26 UTC
Sorry it took so long to respond... I hate getting inspecific bug reports and find myself giving them out!

Netbeans Info:

Product Version: NetBeans IDE 6.5 Beta (Build 200808111757)
Java: 1.6.0_06; Java HotSpot(TM) Client VM 10.0-b22
System: Windows Vista version 6.0 running on x86; Cp1252; en_IE (nb)


System Info:

Dell XPS M1330 Laptop Running Windows Vista Ultimate, attached to an external Monitor via HDMI - the 
Graphics Card is an NVIDIA GeForce 8400M. The primary monitor is the laptop screen, though I usually run the 
IDE on the external monitor because it is bigger.

Description:

Tooltips appear in the correct place, but the "Suggest Fix" popups in the IDE always appear on the primary 
monitor, wedged up against the right side of it as though they are trying to get as close as possible to their 
correct location, but cannot move out of the primary monitor. Maximising / Dragging the window between 
monitors has no effect on this behavior.

I hope this was helpful.
Comment 7 tofarr 2008-09-30 09:52:28 UTC
Created attachment 70881 [details]
screenshot of the issue
Comment 8 Vitezslav Stejskal 2008-10-01 07:53:33 UTC
Perhaps we should try to setup a similar environment and test this in all scenarios that we can think of (eg. displays
above each other, next to each other, bigger primary display and smaller secondary, the other way around, detached
editor on one display and the rest of the ide on the other one, etc). I know this sounds like a lot of fiddling, but I'm
not sure how else we could track this down. As always ideas are welcome...
Comment 9 Max Sauer 2008-10-08 09:10:08 UTC
*** Issue 149453 has been marked as a duplicate of this issue. ***
Comment 10 Max Sauer 2008-10-27 12:18:19 UTC
*** Issue 151244 has been marked as a duplicate of this issue. ***
Comment 11 Petr Dvorak 2009-01-22 08:44:45 UTC
*** Issue 157284 has been marked as a duplicate of this issue. ***
Comment 12 Max Sauer 2009-02-05 13:43:45 UTC
*** Issue 156488 has been marked as a duplicate of this issue. ***
Comment 13 Max Sauer 2009-04-20 14:44:38 UTC
*** Issue 160021 has been marked as a duplicate of this issue. ***
Comment 14 Max Sauer 2009-05-11 14:49:09 UTC
*** Issue 164773 has been marked as a duplicate of this issue. ***
Comment 15 Max Sauer 2009-05-20 14:07:52 UTC
I've integrated a fix. Jirko, could you please verify -- ideally on Windows XP, Vista and Linux with dual-monitor configuration (next-to setup, not clone). 
Thank you very much.
---
http://hg.netbeans.org/jet-main/rev/5502851be4e9
Comment 16 Max Sauer 2009-05-20 14:08:37 UTC
*** Issue 160272 has been marked as a duplicate of this issue. ***
Comment 17 Quality Engineering 2009-05-21 08:21:28 UTC
Integrated into 'main-golden', will be available in build *200905210201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/5502851be4e9
User: Max Sauer <msauer@netbeans.org>
Log: #145804: Tooltips locked to primary monitor
Comment 18 Jiri Prox 2009-05-27 14:26:43 UTC
verified in 6.7 rc1
Comment 19 arren 2012-11-03 20:31:00 UTC
Bug still appears in 7.2 on stock Ubuntu.

Tooltips are on correct monitor but hints are on wrong monitor, crammed up against edge.
Comment 20 arren 2012-11-03 20:32:18 UTC
In case it's relevant, netbeans was started BEFORE the second monitor was added using "xrandr --output VGA0 --auto --right-of LVDS" so if something has cached the GraphicsConfiguration, that will break it.
Comment 21 arren 2012-11-03 20:40:04 UTC
New bug 221409 raised; related but NOT duplicate of this.
Comment 22 d-man97 2013-12-02 16:11:39 UTC
Not fixed on Ubuntu 13.10. Netbeans is on right monitor, tooltips start on the far right side of right monitor, atleast 50% cut-off. Tooltips are shown to the right of my mouse by the exact number of pixels as my left monitor is set to.

E.G. Left monitor: 1366x768; Right monitor: 1600x1200; Netbeans maximized on right monitor; Hover over "History" (or any toolbar item); Expect to see tooltip below mouse; Instead, it is 1366 pixels to the right of the left side of the right monitor, which means for long tooltips, it goes off screen into the ether...
Comment 23 Ammu 2014-04-09 09:08:33 UTC
Not fixed on Ubuntu 12.04. in Netbeans 8.0.

NetBeans on right monitor, tooltips start on the far right side of right monitor, with longer tooltips, for an exaple file paths, can be cropped. 

E.G. Laptop monitor with an external lcd. Netbeans maximized on right monitor; Hover over "History" (or any toolbar item); Expect to see tooltip below mouse; Instead, it is laptop monitors width in pixels to the right of the left side of the right monitor, which means for long tooltips, it goes off screen into the ether...

Product Version: NetBeans IDE 8.0 (Build 201403101706)
Java: 1.7.0_51; OpenJDK 64-Bit Server VM 24.45-b08
Runtime: OpenJDK Runtime Environment 1.7.0_51-b00
System: Linux version 3.8.0-38-generic running on amd64; UTF-8; en_US (nb)
Comment 24 mmesh 2015-02-24 13:30:47 UTC
Hi,

I can confirm that this bug is stil in Netbeans 8.0.2 on Ubuntu 14.10 64bit.
Java version:
[11:07:35] $ java -version
java version "1.8.0_31"
Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode)

Left monitor is LCD screen 1366x768 and to the right is 1920x1080 monitor (setup as primary that is the one with the launcher). Tooltips show aproximatelly 1366 px to the right when Netbeans are opened on the second screen.
And they are showing few hundred pixels to the bottom when Netbeans are on the left screen.

Left and right screen are aligned by their bottoms
Comment 25 Martin Balin 2016-07-07 07:27:35 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss
Comment 26 Pere 2016-09-15 11:10:06 UTC
Haven't tried in 8.2, but I can confirm this still happens in Netbeans 8.1 installed from the default repository that comes in Ubuntu 16.04.
Comment 27 pauloafilio 2016-12-21 13:54:42 UTC
Created attachment 163287 [details]
two screens tooltip bug
Comment 28 pauloafilio 2016-12-21 13:58:16 UTC
Hello, just attached an image of the bug still happening in netbeans 8.2:

 - on monitor one there is the tooltip window appearing alone
 - on monitor two there is whole IDE

Product Version: NetBeans IDE 8.2 (Build 201609300101)
Updates: Updates available to version NetBeans 8.2 Patch 1
Java: 1.8.0_101; Java HotSpot(TM) 64-Bit Server VM 25.101-b13
Runtime: Java(TM) SE Runtime Environment 1.8.0_101-b13
System: Linux version 4.4.0-53-generic running on amd64; UTF-8; en_US (nb)

thanks