JDK-6190081 : Dragging a frame using Robot is not working properly on Multi-mon setup, Solaris + xinerama
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 1.4.0
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: solaris_9
  • CPU: sparc
  • Submitted: 2004-11-03
  • Updated: 2011-01-19
  • Resolved: 2006-04-05
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6
6 b79Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Relates :  
Description
I have a Multi-monitor setup running Solaris9 + Xinerama having 2 monitors connected to 2 diff frame buffers (Platform Information given under comments section).  I am clicking on a frame on the primary monitor and dragging it to the other monitor using Robot (created with def constructor). It works fine. Once the dragging is completed, I am clicking inside the frame manually. After that, I can not bring back the mouse to the primary monitor and it always stays within the secondary. I had to logout and login again in order to bring the mouse back to the primary monitor. This is incorrect.

This is reproducible only on Solaris9 + xinerama, right from 1.4. On linux + xinerama, there is a different bug where the mouse can not be dragged to the seondary monitor and it just stays at the periphery of the primary monitor (5097723). This works perfectly fine on win32.

I have attached a sample test. Execute the sample test on Sol9 + xinerama. 
1. You would see 2 frames within the primary monitor. 
2. Wait till the image is loaded on one of the frames. 
3. Click on the 'Capture' button on one of the frames.
4. You will see the other frame being dragged to secondary monitor.
5. Once the dragging stops, click on the frame or on any native app in secondary mon.
6. Try moving the mouse to the primary monitor. 
If the mouse does not come to primary monitor and stops at the periphery of the secondary monitor, the bug is reproduced.
###@###.### 11/3/04 14:40 GMT

Comments
EVALUATION Should be fixed together with other robot+Xinerama bugs (listed in See Also section). ###@###.### 2005-06-28 13:09:47 GMT
28-06-2005