Bug 566446 - Missing busy cursor when called from menu item outside shells borders
Summary: Missing busy cursor when called from menu item outside shells borders
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.17   Edit
Hardware: PC Windows 10
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-27 06:50 EDT by Heinz Weber CLA
Modified: 2020-08-27 06:50 EDT (History)
0 users

See Also:


Attachments
pic of bug situation (132.33 KB, image/jpeg)
2020-08-27 06:50 EDT, Heinz Weber CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Heinz Weber CLA 2020-08-27 06:50:03 EDT
Created attachment 283977 [details]
pic of bug situation

I discovered a bug concerning showing busy cursors. It occurs when SWT.CURSOR_WAIT is set for a shell from a SelectionListener (widgetSelected()) of a MenuItem. The problem only exists if the MenuItem is part of a big popup menu and graphically outside the borders of the shell. 

When busy cursor is initiated by a menu item inside the shells border any behavior is correct. I get a normal cursor outside and a busy cursor inside shells borders.

But if busy cursor is initiated by a menu item outside shells borders (just graphically, of course the popup menu is assigned to a control of the shell), I see no busy cursor for at least 5 seconds for cursor inside shells borders. After about 5 seonds it´s also not the busy cursor set by the selection listener, but a system busy cursor shown by appendix "not responding" inside the title bar when clicking inside shell borders. 

Experimenting a little bit, I determined dependency of the cursor position when clicking, not position of the menu item. So if the menu item overlaps the shell borders you can get both situations depending on the cursor inside or outside shell borders.

It would be a bad workaround to use only small popups never blowing up shell borders ;)