Bug 93899 - [Outline] Tree in outline view flashes
Summary: [Outline] Tree in outline view flashes
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Mike Wilson CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-06 08:23 EDT by Steve Northover CLA
Modified: 2019-09-06 16:08 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Northover CLA 2005-05-06 08:23:45 EDT
Commenting and uncommenting main() in a large file such as my _Scrapbook file 
causes the tree in the outline view to flash and scroll.  This could be 
related to the removal of setRedraw() from JFace.

BB and SN to resolve.
Comment 1 Billy Biggs CLA 2005-05-06 14:49:33 EDT
Reproducable on 3.0.2 as well.
Comment 2 Steve Northover CLA 2005-05-06 15:02:35 EDT
Ok, so our setRedraw() changed didn't cause this.  Who should we give this to?
Comment 3 Steve Northover CLA 2006-12-05 14:41:56 EST
Found this.  If many changes are being made to a tree, the application code can use setRedraw() to stop the tree from updating.
Comment 4 Steve Northover CLA 2008-06-03 15:10:55 EDT
It seems that many changes were being made to the tree (ie. multiple scroll requests).  Some plaforms simply set the new top index and redraw the entire tree.  It seems Windows draws right away.  The only way to get rid of this is to use setRedraw() to batch the changes.  This means that application code has to know that it is making multiple changes.

Moving to UI.
Comment 5 Eclipse Webmaster CLA 2019-09-06 16:08:11 EDT
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.