Community
Participate
Working Groups
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.
Created attachment 234190 [details] Patch
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).