Community
Participate
Working Groups
Build Identifier: A tree viewer with some columns using the TreeViewerFocusCellManager (extends SWTFocusCellManager) causes tree flickering. A reason after some debug seems to be "scrollCellIntoView" of class TreeViewerRow. The method scrolls the tree to the left and back again if the focus changed. Not sure about a fix, maybe a tree.setRedraw(false)...tree.setRedraw(true) bracket in "scrollCellIntoView". Reproducible: Always Steps to Reproduce: 1. Create a view with tree smaller (in width) than the whole tree, that is, not showing all columns and a horizontal scrollbar 2. In the last column, click between rows 3. Tree flickers
Created attachment 158287 [details] Initial thoughts showItem of Tree method pulls the scroll to the start of item (column 0), the subsequent showColumn sets the scroll back to the desired column. This seems to be the cause of the flicker. Redraw and the scrolling from the showItem and/or showColumn,both would invalidate entire client area.So toggling redraw seems like a good option. But if the item is visible already then should we skip the method calls.Hmm... Ideally, showItem method should not change the horizontal scroll position when columns are present and the item is partly visible (one or more columns visible completely). If desired by client the h-scrolling can be achieved by calling showColumn.
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.