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 199117

Summary: Tooltip offset in multi monitor setup
Product: platform Reporter: thomasbarnett <thomasbarnett>
Component: Window SystemAssignee: Stanislav Aubrecht <saubrecht>
Status: RESOLVED WONTFIX    
Severity: normal Keywords: DUAL_MONITOR
Priority: P3    
Version: 7.0.1   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:
Attachments: Tooltip position when IDE is stretched over two monitors

Description thomasbarnett 2011-06-02 17:48:41 UTC
Created attachment 108680 [details]
Tooltip position when IDE is stretched over two monitors

NetBeans IDE 7.0 RC1 (Build 201103280000)
1.6.0_25; Java HotSpot(TM) Client VM 20.0-b11
Windows 7 version 6.1 running on x86

This is monitors side-by-side
|_|_|

This larger view shows how Netbeans straddles monitors, Project pane stretched into left monitor
|  n|nnn|
|  n|nnn|
|  n|nnn|
<- stretch direction

This is where hover tip y of x appears
|  n|nnn|
|  x|ynn|
|  n|nnn|

The previous may be deceptive. So, note the following
| nn|nnn|
| xn|ynn|
| nn|nnn|

or
|nnn|nnn|
|xnn|ynn|
|nnn|nnn|

Hover tip always starts from the left edge of the right-hand monitor
Comment 1 Stanislav Aubrecht 2011-10-25 10:32:11 UTC
i have reproduced this bug with a plaing swing app (swingset demo)
it seems the ToolTipManager gets confused where to display the tooltip popup if it is close to screen edges.