| Summary: | On Linux, cannot change cursor while mouse is held down | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Nam Quang Tran <qforce> | ||||
| Component: | SWT | Assignee: | Platform-SWT-Inbox <platform-swt-inbox> | ||||
| Status: | CLOSED WONTFIX | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | arunkumar.thondapu, eclipse.felipe, ericwill | ||||
| Version: | 3.7.1 | Keywords: | triaged | ||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Linux | ||||||
| See Also: | https://bugs.eclipse.org/bugs/show_bug.cgi?id=498217 | ||||||
| Whiteboard: | stalebug | ||||||
| Attachments: |
|
||||||
|
Description
Nam Quang Tran
Created attachment 210126 [details]
Test case
Arun, please take a look. Tested on Ubuntu Linux 11.04 and able to reproduce the problem, will try to fix it. Felipe, I could see while debugging that the cursor is actually being changed as expected at the backend (shell.getCursor() returns the changed cursor) but this update is not being reflected in the UI while the MouseMove events are being processed. If the cursor is not reset on MouseUp, you can see the changed cursor appear over the shell after the MouseUp event is processed. I have not been able to figure out the cause for this behavior. I have confirmed that the GTK API gdk_window_set_cursor() followed by XFlush() is running without any errors in Control.setCursor(). I have also tried invoking gdk_window_process_all_updates() but it doesn't help. Do you have any ideas about how to proceed? Still reproducible: GTK3.22, 4.8 M7, and Fedora 28. This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug. If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie. |