Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 369491

Summary: Sometimes the Cursor Icon doesn't refresh properly
Product: z_Archived Reporter: Matthias Zimmermann <zimmermann>
Component: ScoutAssignee: Project Inbox <scout.core-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: ivan.motsch
Version: 3.7.0   
Target Milestone: 3.8.0 Juno   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
wrong resize cursor none

Description Matthias Zimmermann CLA 2012-01-24 05:33:01 EST
Created attachment 209959 [details]
wrong resize cursor

From time to time the cursor icon doesn't refresh to the normal cursor properly. See attached screen shot (resize cursor is displayed when a context menu is opend on an entry in a table page.
Comment 1 Ivan Motsch CLA 2012-01-24 05:44:41 EST
The issue arises only in look and feels with custom window root pane decorations active.

Fixed the issue by adding a global awt listener that checks all windows on every mouse click for a hanging resize cursor on the window.

Check the internal swing class in for example MetalRootPaneUI.MouseInputHandler for the cause of this effect.

The reason for this effect is that a swing/awt component gets mouse exit events when the mouse gets OUT of the component bounds but not when the mouse gets inside an inner components bounds.
Comment 2 Ivan Motsch CLA 2012-01-24 09:18:05 EST
Fixed with revision 1886 at 24.01.2012 00:10
Comment 3 Matthias Zimmermann CLA 2012-07-09 06:49:11 EDT
ticket closed.
deliverd as part of eclipse scout 3.8.0 (juno release train)