Community
Participate
Working Groups
I'm using Eclipse SDK I20190327-1800 In Project Explorer, I have "Link with Editor" enabled. Whenever I only expand an element in the tree, the visible area of the tree is moved back to the top, and I have to scroll again to re-find the element I was playing with. If I don't have "Link with Editor" enabled, it's fine.
This looks like a regression over previous release.
Actually, that doesn't seem related to "Link with Editor", I disabled it and still see the issue. My former analysis probably missed another criterion.
(In reply to Mickael Istria from comment #2) > Actually, that doesn't seem related to "Link with Editor", I disabled it and > still see the issue. My former analysis probably missed another criterion. Mickael, I guess you are on Linux? If yes, this is SWT issue, there were some "Tree" changes in 4.12.
Indeed, I'm on Linux. I guess it's SWT issue, but since so far I've only reproduced it in the Project Explorer (and not the Preference or other trees for instance), I thought a dedicated bug would help tracking the various possible cases of SWT bugs.
Mickael, can you please provide exact steps to reproduce?
I see this in Package Explorer too, in I20190331-1800 Steps: 1) Package Explorer contains lot of projects. 2) Make sure tree has V scrollbar, so 50% of the content is hidden. 3) Scroll to the project in the middle. 4) Expand one of the children elements. 5) Tree scrolls to the top. 6) Scroll back and try to collapse/expand same element => no jumps. 7) Expand next element => tree scrolls to the top again.
(In reply to Andrey Loskutov from comment #6) > I see this in Package Explorer too, in I20190331-1800 > > Steps: > > 1) Package Explorer contains lot of projects. > 2) Make sure tree has V scrollbar, so 50% of the content is hidden. > 3) Scroll to the project in the middle. > 4) Expand one of the children elements. > 5) Tree scrolls to the top. > 6) Scroll back and try to collapse/expand same element => no jumps. > 7) Expand next element => tree scrolls to the top again. I was able to reproduce the issue, only on X11. Will investigate.
The regression comes from the fix to bug 489751. Xi, please investigate.
New Gerrit change created: https://git.eclipse.org/r/139854
Gerrit change https://git.eclipse.org/r/139854 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=5cd547013e057edf020e3f048738eda50818fdb3
(In reply to Eclipse Genie from comment #10) > Gerrit change https://git.eclipse.org/r/139854 was merged to [master]. > Commit: > http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/ > ?id=5cd547013e057edf020e3f048738eda50818fdb3 In master now, thanks for the fix Xi.
Verified with I20190401-1800. Thanks.