Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 322453 - [ui] Make the "Reload" button work while multiple repositories/update sites are highlighted.
Summary: [ui] Make the "Reload" button work while multiple repositories/update sites a...
Status: NEW
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: unspecified   Edit
Hardware: Macintosh All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Krzysztof Daniel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-11 21:18 EDT by Kal Sze CLA
Modified: 2014-02-28 11:44 EST (History)
2 users (show)

See Also:
krzysztof.daniel: review? (pascal.rapicault)


Attachments
Patch (16.23 KB, patch)
2013-08-08 06:05 EDT, Krzysztof Daniel CLA
krzysztof.daniel: review?
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kal Sze CLA 2010-08-11 21:18:24 EDT
Build Identifier: 20100617-1415

Update sites can be manually reloaded in "Preferences" -> "Install/Update" -> "Available Software Sites". There is a "Reload" button for it. As of Eclipse Helios 3.6, this button can still only work with one update site at a time. This behaviour is acceptable if only very few update sites were unreachable. However, it is rather annoying when many update sites need to be reloaded.

For instance, sometimes, the user tries to check for updates while the Internet connection is unavailable. Eclipse would spend a very short amount of time trying to reach the update sites and conclude that all of them are unavailable. At this point, even if the user immediately fixes the Internet connection and retries checking for updates, Eclipse would look at its update site cache and immediately assume that the update sites are still unavailable. The user would then have to open "Preferences" -> "Install/Update" -> "Available Software Sites", highlight the update sites one by one, and click the "Reload" button for each of them; the alternative would be to shutdown Eclipse and restart it in order to force Eclipse to discard the update site cache, which, in my opinion, is also annoying.

Reproducible: Always

Steps to Reproduce:
1. Open the Eclipse Preferences;
2. Expand the "Install/Update" section;
3. Open the "Available Software Sites" subsection;
4. Highlight multiple software sites (by holding the shift key and clicking);
5. The "Reload" buttons becomes grayed out.
Comment 1 Krzysztof Daniel CLA 2013-08-08 06:05:38 EDT
Created attachment 234190 [details]
Patch
Comment 2 Markus Keller CLA 2014-02-28 10:30:58 EST
The user should not have to care about "Reload" in the first place, see bug 388923. Every explicit user interaction with the p2 UI is an already an explicit request to reload (or verify that the cached update content is up-to-date).