Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 329360

Summary: Some UDC Events Not Recorded
Product: [Technology] EPP Reporter: Emerson Murphy-Hill <captain.emerson>
Component: Usage Data CollectorAssignee: Wayne Beaton <wayne.beaton>
Status: RESOLVED WONTFIX QA Contact:
Severity: enhancement    
Priority: P3 CC: deepakazad, jonah, mknauer, wayne.beaton
Version: unspecified   
Target Milestone: 1.3.0   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Emerson Murphy-Hill CLA 2010-11-03 11:03:16 EDT
Build Identifier: I20100608-0911

I'm trying to do a little study about how often people run JUnit tests, but I don't think that the UDC data has exactly what I need. UDC events (command executions) are generated when I, for example, press Control+F11 for "RunLast". However, events don't seem to be generated when I go into the "Run Configuration Dialog" and press "Run." My guess is that there is no Command being generated for this button press.

I suspect that this problem extends to other types of commands and menus, but I'm not sure how to characterize the more general problem.

Reproducible: Always

Steps to Reproduce:
1. Run program via the run dialog.
2. Run a program by pressing Ctrl+F11
3. Observe that a UDC event is generated for (2), but not (1).
Comment 1 Deepak Azad CLA 2013-02-06 20:15:07 EST
*** Bug 315840 has been marked as a duplicate of this bug. ***
Comment 2 Deepak Azad CLA 2013-02-10 16:44:17 EST
Anything that is a command is recorded by UDC. Buttons in a dialog are not commands hence they are not recorded. In most instances opening a dialog is a command and hence should be recorded.

However, the problem with 'Run' toolbar button is that the button is not defined as a 'command', see <action id = "org.eclipse.debug.internal.ui.actions.RunDropDownAction" ... > in  org.eclipse.debug.ui\plugin.xml. (This action is not the same as <action id = "org.eclipse.debug.ui.actions.RunLast"... >)

Another instance of the same problem is the Search toolbar button which is also not a 'command', see <action id="org.eclipse.search.OpenSearchDialogPage" ...> in /org.eclipse.search/plugin.xml. (This action is different from the command <action id="org.eclipse.search.OpenSearchDialog"..> )
Comment 3 Jonah Graham CLA 2021-05-07 10:23:08 EDT
The Usage Data Collector was decommissioned a long time ago. Therefore any
remaining bugs are now being closed as WONTFIX. If this bug is still relevant,
please make a comment and we'll move it to the correct project/component for
further investigation.

This change was made as part of a bulk change.