JDK-7011796 : Wrong tooltip location in Multi-Monitor configurations
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 6
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_7
  • CPU: x86
  • Submitted: 2011-01-12
  • Updated: 2012-09-06
  • Resolved: 2012-01-11
Related Reports
Duplicate :  
Description
FULL PRODUCT VERSION :
Java(TM) SE Runtime Environment (build 1.6.0_22-b04)

ADDITIONAL OS VERSION INFORMATION :
Windows7

EXTRA RELEVANT SYSTEM CONFIGURATION :
Multi monitor Setup, Nvidea + ATI Multiple Monitor Video Cards

A DESCRIPTION OF THE PROBLEM :
If a java window spans over more than one monitor in a multi-monitor setup tooltips always appear on the first monitor, even for components that are displayed on other monitors. This means that the f the tooltip is not displayed at the location of the related component.
Issue is described also in bugs 6453153 and 4825949.
The bug does not occur for video cards or video card drivers that emulate one big screen to the application (GraphicsEnvironment.getScreenDevices
 returns just one GraphicDevice object) instead of multiple screens (GraphicsEnvironment.getScreenDevices returns multiple Graphic device objects).
The problem  now is that these modes are not supported anymore by the major video card vendors for Windows 7, so there is no possible workaround left for this OS.

This is not only a cosmetic issue but a wrong behaviour that is not acceptable to our customers. It makes tooltips unusable in mutli monitor setups so that an important guiding element of a modern user interface is missing.
Because of the missing workaround for Windows 7 the priority 4-Low of bugs 6453153 and 4825949 is not appropriate. A bugfix is urgently needed.


STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
The issue can be reproduced with any java application that spans over more that one monitor.

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
  Tooltips should appear on the monitor on which the corresponding component is located.
ACTUAL -
All tooltips appear on the first monitor only.

REPRODUCIBILITY :
This bug can be reproduced always.