Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 53482 - [Decorators] CVS "replace with" causes constant flashing of all decorators while operation in progress
Summary: [Decorators] CVS "replace with" causes constant flashing of all decorators wh...
Status: CLOSED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.0   Edit
Hardware: Macintosh Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Tod Creasey CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 35140
Blocks:
  Show dependency tree
 
Reported: 2004-03-02 07:44 EST by Jon Mountjoy CLA
Modified: 2005-05-10 14:55 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jon Mountjoy CLA 2004-03-02 07:44:51 EST
Using M7.  I have a Java project, and ordinarily it looks like this (A) in the package explorer:

 > spring [cvs.sourceforge.net]
   > src
     [] org.spring.blah     <- Here [] reprsents the package icon, with a little CVS icon

If I choose a sub-package, and hit "replace with" latest version from CVS

Then not only the sub-package, but the entire project, starts flashing between the display of (A) above,
and a new one with no decorations at all:
 > spring
   [] org.spring.blah  <- Here [] is simply the package icon, no CVS icon at all

The flash seems to occur after each file is synced (I guess).
Comment 1 Martin Aeschlimann CLA 2004-03-08 05:58:28 EST
Each change also has to be propagated to all the elements containing the changed
resource, so that's why the project is involved.
The flickering comes from the decorator updating in the background. On the first
request the undecorated icon is drawn, then later the docorated.

Question to platform: Why not keep showing the previous decorations until the
new decoartions are computed?
The other question is of course, does it really make sense to update decorators
while running the operation. The old model was to batch all updates and do one
last refresh, I'm still a bit old fashioned and think more in that direction. Is
the continuous updating really that useful to the user so it is worth the
computiation time? 

Moving to platform UI
Comment 2 Tod Creasey CLA 2004-03-16 15:25:21 EST
Fixed as Bug 35140 is fixed - any further changes would need to be done by team
Comment 3 Tod Creasey CLA 2005-05-10 14:55:51 EDT
Marking closed