Bug 127552 - [Model Sync] Improve mode switching feel (viewer refresh)
Summary: [Model Sync] Improve mode switching feel (viewer refresh)
Status: RESOLVED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Team (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P2 normal (vote)
Target Milestone: 3.2 RC2   Edit
Assignee: Michael Valenta CLA
QA Contact:
URL:
Whiteboard:
Keywords: performance
: 126397 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-02-13 16:08 EST by Michael Valenta CLA
Modified: 2006-04-25 10:50 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Valenta CLA 2006-02-13 16:08:52 EST
When I switch modes with nodes expanded, sometimes there is no flash and other times the view is blanked and redrawne. Also, sometimes expansion is preserved and other times it is lost (even when the expanded elements are in both the source and destination modes. The behavior seems to be worse with the Java content provider.
Comment 1 Michael Valenta CLA 2006-02-13 16:09:53 EST
It coudl also be due to the redraw behavior. We may need to turn redraw off.
Comment 2 Michael Valenta CLA 2006-02-13 16:11:31 EST
Expansions is lost for Java but not for Resources. This may be a parenting issue in the Java content provider.
Comment 3 Michael Valenta CLA 2006-03-24 13:33:17 EST
I have modified the resource content provider to refresh/add and remove at the project level.
Comment 4 Michael Valenta CLA 2006-03-29 10:47:44 EST
For 2000 changes, there is a noticable wait when swithcing modes. On my machine, it's in the order of 10 seconds with the busy cursor showing.
Comment 5 Michael Valenta CLA 2006-03-29 10:55:06 EST
The update afterwards also took a long time. It seems that scanning the diffs to ensure that all the required content is available takes a long time. However, on closer inspection, the problem is that the progress message is never unpdated.
Comment 6 Michael Valenta CLA 2006-04-08 10:11:55 EDT
*** Bug 126397 has been marked as a duplicate of this bug. ***
Comment 7 Michael Valenta CLA 2006-04-08 10:12:27 EDT
We should also profile expansion for large sets of changes.
Comment 8 Michael Valenta CLA 2006-04-08 14:09:03 EDT
The problem mentioned in comment 5 has been fixed and may result in other performance improvements. We still need to look at the update mis-behavior though.
Comment 9 Michael Valenta CLA 2006-04-25 10:50:08 EDT
Mode switching is acceptable now.