Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 276192 - [ui] Composite child repos appear then disappear
Summary: [ui] Composite child repos appear then disappear
Status: VERIFIED FIXED
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: 3.5   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.6 M5   Edit
Assignee: Susan McCourt CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-13 16:58 EDT by DJ Houghton CLA
Modified: 2010-01-27 10:40 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description DJ Houghton CLA 2009-05-13 16:58:56 EDT
build I20090511-2000

- open Install Software
- open repo preferences
- add the i-build composite repo to your list of repos 
- OK, back to the Install Software
- select "All Available Sites"
- open the combo box but don't select anything

Notice that you will see the composite children appear in the box and then disappear immediately. It seems to happen for all the children. (you can see the timestamps in their URLs fly by)
Comment 1 Pascal Rapicault CLA 2009-05-16 10:42:50 EDT
I have seen this as well.
Comment 2 Susan McCourt CLA 2009-05-18 11:40:06 EDT
I'll run an event trace during testing to verify this, but I believe this to be the UI showing you what is actually happening (child repos getting added first as enabled visible repositories and then being marked non-system)...
Comment 3 Susan McCourt CLA 2009-05-18 16:25:53 EDT
I hacked in some event tracing so I could verify my theory.  Indeed, the UI is just responding to each child repo getting added as an enabled repo, and then disabled.  The only way I know to solve this is to add an event batching mechanism (see bug 234199) so that we could batch events when we know we are doing things like this.

The UI does some batching when it knows it is doing a bunch of repo changes (such as when saying OK on the repo prefs page), but in this case the composite repo would need to do something similar.

I'll open a separate bug for the fact that we don't have event tracing.

Here's the event trace.
[p2] Mon May 18 13:20:25 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/eclipse/updates/3.5, Repository Type: 1, Event Kind: DISCOVERED]
[p2] Mon May 18 13:20:25 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/releases/galileo, Repository Type: 1, Event Kind: DISCOVERED]
[p2] Mon May 18 13:20:25 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/eclipse/updates/3.5, Repository Type: 0, Event Kind: DISCOVERED]
[p2] Mon May 18 13:20:25 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/eclipse/updates/3.4, Repository Type: 1, Event Kind: DISCOVERED]
[p2] Mon May 18 13:20:25 PDT 2009 - [Provisioning Event Dispatcher] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/eclipse/updates/3.5, Repository Type: 1, Event Kind: ADDED (Enablement = false]
[p2] Mon May 18 13:20:25 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/releases/galileo, Repository Type: 0, Event Kind: DISCOVERED]
[p2] Mon May 18 13:20:25 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/eclipse/updates/3.4, Repository Type: 0, Event Kind: DISCOVERED]
[p2] Mon May 18 13:20:25 PDT 2009 - [Provisioning Event Dispatcher] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/releases/galileo, Repository Type: 1, Event Kind: ADDED (Enablement = false]
[p2] Mon May 18 13:20:25 PDT 2009 - [Provisioning Event Dispatcher] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/eclipse/updates/3.5, Repository Type: 0, Event Kind: ADDED (Enablement = false]
[p2] Mon May 18 13:20:25 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/eclipse/updates/3.5-I-builds/I20090421-0930, Repository Type: 0, Event Kind: ADDED (Enablement = true]
[p2] Mon May 18 13:20:25 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/eclipse/updates/3.5-I-builds/I20090421-0930, Repository Type: 0, Event Kind: ENABLEMENT = false]
[p2] Mon May 18 13:20:25 PDT 2009 - [Provisioning Event Dispatcher] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/eclipse/updates/3.4, Repository Type: 1, Event Kind: ADDED (Enablement = false]
[p2] Mon May 18 13:20:25 PDT 2009 - [Provisioning Event Dispatcher] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/releases/galileo, Repository Type: 0, Event Kind: ADDED (Enablement = false]
[p2] Mon May 18 13:20:25 PDT 2009 - [Provisioning Event Dispatcher] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/eclipse/updates/3.4, Repository Type: 0, Event Kind: ADDED (Enablement = false]
[p2] Mon May 18 13:20:42 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/eclipse/updates/3.5, Repository Type: 1, Event Kind: DISCOVERED]
[p2] Mon May 18 13:20:42 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/releases/galileo, Repository Type: 1, Event Kind: DISCOVERED]
[p2] Mon May 18 13:20:42 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/eclipse/updates/3.5, Repository Type: 0, Event Kind: DISCOVERED]
[p2] Mon May 18 13:20:42 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/eclipse/updates/3.4, Repository Type: 1, Event Kind: DISCOVERED]
[p2] Mon May 18 13:20:42 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/releases/galileo, Repository Type: 0, Event Kind: DISCOVERED]
[p2] Mon May 18 13:20:42 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/eclipse/updates/3.4, Repository Type: 0, Event Kind: DISCOVERED]
[p2] Mon May 18 13:20:42 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/eclipse/updates/3.5-I-builds/I20090430-2300, Repository Type: 0, Event Kind: ADDED (Enablement = true]
[p2] Mon May 18 13:20:42 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/eclipse/updates/3.5-I-builds/I20090430-2300, Repository Type: 0, Event Kind: ENABLEMENT = false]
[p2] Mon May 18 13:20:49 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/eclipse/updates/3.5, Repository Type: 1, Event Kind: DISCOVERED]
[p2] Mon May 18 13:20:49 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/releases/galileo, Repository Type: 1, Event Kind: DISCOVERED]
[p2] Mon May 18 13:20:49 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/eclipse/updates/3.5, Repository Type: 0, Event Kind: DISCOVERED]
[p2] Mon May 18 13:20:49 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/releases/galileo, Repository Type: 0, Event Kind: DISCOVERED]
[p2] Mon May 18 13:20:49 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/eclipse/updates/3.5-I-builds/I20090503-2055, Repository Type: 0, Event Kind: ADDED (Enablement = true]
[p2] Mon May 18 13:20:49 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/eclipse/updates/3.5-I-builds/I20090503-2055, Repository Type: 0, Event Kind: ENABLEMENT = false]
[p2] Mon May 18 13:20:55 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/eclipse/updates/3.5, Repository Type: 1, Event Kind: DISCOVERED]
[p2] Mon May 18 13:20:55 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/releases/galileo, Repository Type: 1, Event Kind: DISCOVERED]
[p2] Mon May 18 13:20:55 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/eclipse/updates/3.5, Repository Type: 0, Event Kind: DISCOVERED]
[p2] Mon May 18 13:20:55 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/releases/galileo, Repository Type: 0, Event Kind: DISCOVERED]
[p2] Mon May 18 13:20:55 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/eclipse/updates/3.5-I-builds/I20090504-2055, Repository Type: 0, Event Kind: ADDED (Enablement = true]
[p2] Mon May 18 13:20:55 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/eclipse/updates/3.5-I-builds/I20090504-2055, Repository Type: 0, Event Kind: ENABLEMENT = false]
[p2] Mon May 18 13:21:06 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/eclipse/updates/3.5, Repository Type: 1, Event Kind: DISCOVERED]
[p2] Mon May 18 13:21:06 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/releases/galileo, Repository Type: 1, Event Kind: DISCOVERED]
[p2] Mon May 18 13:21:06 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/eclipse/updates/3.5, Repository Type: 0, Event Kind: DISCOVERED]
[p2] Mon May 18 13:21:06 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/releases/galileo, Repository Type: 0, Event Kind: DISCOVERED]
[p2] Mon May 18 13:21:06 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/eclipse/updates/3.5-I-builds/I20090505-2000, Repository Type: 0, Event Kind: ADDED (Enablement = true]
[p2] Mon May 18 13:21:06 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/eclipse/updates/3.5-I-builds/I20090505-2000, Repository Type: 0, Event Kind: ENABLEMENT = false]
[p2] Mon May 18 13:21:12 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/eclipse/updates/3.5, Repository Type: 1, Event Kind: DISCOVERED]
[p2] Mon May 18 13:21:12 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/releases/galileo, Repository Type: 1, Event Kind: DISCOVERED]
[p2] Mon May 18 13:21:12 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/eclipse/updates/3.5, Repository Type: 0, Event Kind: DISCOVERED]
[p2] Mon May 18 13:21:12 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/releases/galileo, Repository Type: 0, Event Kind: DISCOVERED]
[p2] Mon May 18 13:21:12 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/eclipse/updates/3.5-I-builds/I20090506-2000, Repository Type: 0, Event Kind: ADDED (Enablement = true]
[p2] Mon May 18 13:21:12 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/eclipse/updates/3.5-I-builds/I20090506-2000, Repository Type: 0, Event Kind: ENABLEMENT = false]
[p2] Mon May 18 13:21:23 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/eclipse/updates/3.5, Repository Type: 1, Event Kind: DISCOVERED]
[p2] Mon May 18 13:21:23 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/releases/galileo, Repository Type: 1, Event Kind: DISCOVERED]
[p2] Mon May 18 13:21:23 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/eclipse/updates/3.5, Repository Type: 0, Event Kind: DISCOVERED]
[p2] Mon May 18 13:21:23 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/releases/galileo, Repository Type: 0, Event Kind: DISCOVERED]
[p2] Mon May 18 13:21:23 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/eclipse/updates/3.5-I-builds/I20090507-0731, Repository Type: 0, Event Kind: ADDED (Enablement = true]
[p2] Mon May 18 13:21:23 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/eclipse/updates/3.5-I-builds/I20090507-0731, Repository Type: 0, Event Kind: ENABLEMENT = false]
[p2] Mon May 18 13:21:30 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/eclipse/updates/3.5, Repository Type: 1, Event Kind: DISCOVERED]
[p2] Mon May 18 13:21:30 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/releases/galileo, Repository Type: 1, Event Kind: DISCOVERED]
[p2] Mon May 18 13:21:30 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/eclipse/updates/3.5, Repository Type: 0, Event Kind: DISCOVERED]
[p2] Mon May 18 13:21:30 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/releases/galileo, Repository Type: 0, Event Kind: DISCOVERED]
[p2] Mon May 18 13:21:30 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/eclipse/updates/3.5-I-builds/I20090507-2000, Repository Type: 0, Event Kind: ADDED (Enablement = true]
[p2] Mon May 18 13:21:30 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/eclipse/updates/3.5-I-builds/I20090507-2000, Repository Type: 0, Event Kind: ENABLEMENT = false]
[p2] Mon May 18 13:21:38 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/eclipse/updates/3.5, Repository Type: 1, Event Kind: DISCOVERED]
[p2] Mon May 18 13:21:38 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/releases/galileo, Repository Type: 1, Event Kind: DISCOVERED]
[p2] Mon May 18 13:21:38 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/eclipse/updates/3.5, Repository Type: 0, Event Kind: DISCOVERED]
[p2] Mon May 18 13:21:38 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/releases/galileo, Repository Type: 0, Event Kind: DISCOVERED]
[p2] Mon May 18 13:21:38 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/eclipse/updates/3.5-I-builds/I20090508-2000, Repository Type: 0, Event Kind: ADDED (Enablement = true]
[p2] Mon May 18 13:21:38 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/eclipse/updates/3.5-I-builds/I20090508-2000, Repository Type: 0, Event Kind: ENABLEMENT = false]
[p2] Mon May 18 13:21:53 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/eclipse/updates/3.5, Repository Type: 1, Event Kind: DISCOVERED]
[p2] Mon May 18 13:21:53 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/releases/galileo, Repository Type: 1, Event Kind: DISCOVERED]
[p2] Mon May 18 13:21:53 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/eclipse/updates/3.5, Repository Type: 0, Event Kind: DISCOVERED]
[p2] Mon May 18 13:21:53 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/releases/galileo, Repository Type: 0, Event Kind: DISCOVERED]
[p2] Mon May 18 13:21:53 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/eclipse/updates/3.5-I-builds/I20090511-2000, Repository Type: 0, Event Kind: ADDED (Enablement = true]
[p2] Mon May 18 13:21:53 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/eclipse/updates/3.5-I-builds/I20090511-2000, Repository Type: 0, Event Kind: ENABLEMENT = false]
[p2] Mon May 18 13:22:05 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/eclipse/updates/3.5, Repository Type: 1, Event Kind: DISCOVERED]
[p2] Mon May 18 13:22:05 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/releases/galileo, Repository Type: 1, Event Kind: DISCOVERED]
[p2] Mon May 18 13:22:05 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/eclipse/updates/3.5, Repository Type: 0, Event Kind: DISCOVERED]
[p2] Mon May 18 13:22:05 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/releases/galileo, Repository Type: 0, Event Kind: DISCOVERED]
[p2] Mon May 18 13:22:05 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/eclipse/updates/3.5-I-builds/I20090512-2000, Repository Type: 0, Event Kind: ADDED (Enablement = true]
[p2] Mon May 18 13:22:05 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/eclipse/updates/3.5-I-builds/I20090512-2000, Repository Type: 0, Event Kind: ENABLEMENT = false]
[p2] Mon May 18 13:22:14 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/eclipse/updates/3.5, Repository Type: 1, Event Kind: DISCOVERED]
[p2] Mon May 18 13:22:14 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/releases/galileo, Repository Type: 1, Event Kind: DISCOVERED]
[p2] Mon May 18 13:22:14 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/eclipse/updates/3.5, Repository Type: 0, Event Kind: DISCOVERED]
[p2] Mon May 18 13:22:14 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/releases/galileo, Repository Type: 0, Event Kind: DISCOVERED]
[p2] Mon May 18 13:22:14 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/eclipse/updates/3.5-I-builds/I20090513-2000, Repository Type: 0, Event Kind: ADDED (Enablement = true]
[p2] Mon May 18 13:22:14 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/eclipse/updates/3.5-I-builds/I20090513-2000, Repository Type: 0, Event Kind: ENABLEMENT = false]
[p2] Mon May 18 13:22:21 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/eclipse/updates/3.5, Repository Type: 1, Event Kind: DISCOVERED]
[p2] Mon May 18 13:22:21 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/releases/galileo, Repository Type: 1, Event Kind: DISCOVERED]
[p2] Mon May 18 13:22:21 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/eclipse/updates/3.5, Repository Type: 0, Event Kind: DISCOVERED]
[p2] Mon May 18 13:22:21 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/releases/galileo, Repository Type: 0, Event Kind: DISCOVERED]
[p2] Mon May 18 13:22:21 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/eclipse/updates/3.5-I-builds/I20090514-2000, Repository Type: 0, Event Kind: ADDED (Enablement = true]
[p2] Mon May 18 13:22:21 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/eclipse/updates/3.5-I-builds/I20090514-2000, Repository Type: 0, Event Kind: ENABLEMENT = false]
[p2] Mon May 18 13:22:45 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/eclipse/updates/3.5, Repository Type: 1, Event Kind: DISCOVERED]
[p2] Mon May 18 13:22:45 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/releases/galileo, Repository Type: 1, Event Kind: DISCOVERED]
[p2] Mon May 18 13:22:45 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/eclipse/updates/3.5, Repository Type: 0, Event Kind: DISCOVERED]
[p2] Mon May 18 13:22:45 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/releases/galileo, Repository Type: 0, Event Kind: DISCOVERED]
[p2] Mon May 18 13:22:45 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/eclipse/updates/3.5-I-builds/I20090515-1143, Repository Type: 0, Event Kind: ADDED (Enablement = true]
[p2] Mon May 18 13:22:45 PDT 2009 - [Worker-2] org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent[http://download.eclipse.org/eclipse/updates/3.5-I-builds/I20090515-1143, Repository Type: 0, Event Kind: ENABLEMENT = false]
Comment 4 Susan McCourt CLA 2009-05-18 16:32:39 EDT
Things to note from the trace:

- metadata repos (type 0) are added as enabled = true and then disabled
- the same repos are discovered as each child is read.  We probably shouldn't issue a DISCOVERED event when the repo has already been discovered.  This would cause a lot of flash if it happened while the preference page were open (but it fortunately doesn't affect the Work With combo)
Comment 5 Susan McCourt CLA 2009-11-23 12:11:09 EST
I'm working on some better batching in the UI to avoid this case, will test against the branch code.
Comment 6 Pascal Rapicault CLA 2009-11-23 13:51:23 EST
I got the test build, and this problem seems to be even worse than before. I wonder if this has to do with the problem that John found by code inspection.
Comment 7 Pascal Rapicault CLA 2009-11-23 13:51:49 EST
the bug John opened is: https://bugs.eclipse.org/bugs/show_bug.cgi?id=295888
Comment 8 Susan McCourt CLA 2009-11-23 14:03:58 EST
I pulled out all the old hacks in order to see where we are at, so it's possible it's worse before it's better.
Comment 9 Susan McCourt CLA 2009-11-23 20:12:29 EST
(In reply to comment #6)
> I got the test build, and this problem seems to be even worse than before. I
> wonder if this has to do with the problem that John found by code inspection.

I think you were seeing a different bug.

I'm seeing great improvement for the composite child repo case.  I added the I-build site and left the combo box open to look for the dancing addition/removal of repos, and saw none of that flicker.  The combo remained stable, the repo loaded, and the combo selection did not change afterward.  This is good news.

BUT...there was a different bug in the build (now fixed) where there would be flashing/replacement of the repo list every time a repo loaded (composite or not).  Very bad.  The problem here was that I had changed the job marker used to tell the event batching not to trigger *any* events and had not used this marker in the job that loads repositories in parallel while opening the wizard.  So what you would have seen was the install wizard come up, and whether you do anything or not, you start seeing different repo content appear every time one of your repos loads.  This is now fixed.

I'm still leaving this open until we get an updated build and agree it's fixed.
Comment 10 Susan McCourt CLA 2009-12-01 13:01:24 EST
marking fixed, this no longer happens in the test build (I20091126-1807).
Moving milestone to M5 since this won't be released until the merge.
Comment 11 Susan McCourt CLA 2010-01-26 13:09:50 EST
I verified that we don't have this problem, but we have bug 276884, which is the converse of this problem (underresponding to events).

This bug should be verified once we deal with bug 276884.
Comment 12 Susan McCourt CLA 2010-01-27 10:40:25 EST
verified on I20100127-0100, WinXP