| Summary: | [ui] "Revert Configuration" button in p2 slow and unresponsive | ||
|---|---|---|---|
| Product: | [Eclipse Project] Equinox | Reporter: | Jacek Pospychala <jacek.pospychala> |
| Component: | p2 | Assignee: | Susan McCourt <susan> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | pascal, simon_kaegi, susan |
| Version: | unspecified | ||
| Target Milestone: | 3.5 M5 | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
Jacek Pospychala
We'll be looking at the revert workflow in 3.5M4, see also bug #216031. Per that bug, we would be putting the snapshot list in its own page in the Installation Dialog. Unfortunately the performance for retrieving snapshots is pretty poor. Until this is improved, the list will be populated using asynch list retrieval, such that you would "Pending..." in the list of snapshots until the list were available. This will not block your work. (In reply to comment #1) that would be perfect! still plan to do something, but running out of time for M4. Moving to M5. *** Bug 252510 has been marked as a duplicate of this bug. *** Note there are two different issues here: - getting snapshot information is very slow. Don't want to hang the UI while snapshots are being retrieved. - once a snapshot is selected, it's possible that repos will have to be loaded to perform the revert. (bug 252510). We should probably put the revert itself in a job so that the UI doesn't hang. However, note that a restart is about to happen anyway, so from a workflow point of view, letting the user keep working isn't necessarily helpful. I want to understand why more repos have to be loaded when we just loaded them to get the snapshot info, it may be that we need to cache the repos so that the weak references don't get lost. See also bug 249291 Fixed in HEAD >20090107. Several things have happened: - in bug 247058, the way that snapshots are enumerated and retrieved is much different, and much faster. - in bug 216031, the revert history has moved to an "Installation History" page in the Installation Information dialog (this will soon be integrated into the about dialog). On this page, there is a "Revert" button - If you push "Revert" you get an immediate, cancelable progress dialog while the revert plan is being computed. Once the revert actually starts, the operation is performed in a job and you get the expected jobs progress dialog. |