Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 369491 - Sometimes the Cursor Icon doesn't refresh properly
Summary: Sometimes the Cursor Icon doesn't refresh properly
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Scout (show other bugs)
Version: 3.7.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.8.0 Juno   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-24 05:33 EST by Matthias Zimmermann CLA
Modified: 2012-07-09 06:49 EDT (History)
1 user (show)

See Also:


Attachments
wrong resize cursor (171.13 KB, image/png)
2012-01-24 05:33 EST, Matthias Zimmermann CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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)