Community
Participate
Working Groups
Created attachment 241045 [details] Snippet that reproduces the problem I've got an auto-reload feature in my app, implemented with a Thread, which after some time time loads the data fresh from a service and then sets it into a Grid that is implemented with a TreeViewer, via Display.syncExex(). When the user does some UI-action at that moment like scrolling, the whole app freezes. Selecting another app unfreezes. Happens on Windows 7, Server 2008 R2 Standard, but not on WinXP, Linux. Using a TableViewer instead of a TreeViewer fixes the problem. Using the refresh method instead of the setInput method also works. syncExec or asyncExec makes no difference. Affects Jface/SWT Eclipse 4.3.1 and 3.7.1 in the same way. I've attached a Snippet, after it starts, scroll up and down, after some seconds the whole Shell should freeze.
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. If you have further information on the current state of the bug, please add it. 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.
Just tried on Windows 10 with eclipse-2018-09 32 and 64 bit, problem still occurs there. I'm working around it as described in the first comment.
This bug has been marked with as "stalebug" for some time now. I mark this bug as "worksforme" to indicate that no work is planned here. If this bug is still relevant for the latest release, please reopen the bug and remote the "stalebug" whiteboard tag.
Freeze still happens using latest Eclipse 2019-06 (4.12.0), which comes with SWT version 4926 on Windows 10. Can be easily reproduced running the attached snippet and scrolling the TreeViewer up and down repeatedly. My first comment states it didn't happen on Windows XP, so maybe some change on ms side causes this.
Reopening, problem still relevant using latest Eclipse, see comment above for details.
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.
Problem still persists with latest swt/jface versions on Windows 10. Tried with SWT 3.116.100.v20210602-2209 JFace 3.22.200.v20210401-0958 (both taken from Eclipse 2021-06) AdoptOpenJdk 11.0.12.7