Community
Participate
Working Groups
Build Identifier: 20110916-0149 3.7.1 CDT+IC (Indigo Service Release 1 eclipse-linuxtools-indigo-SR1-incubation-linux-gtk-x86_64) Double-clicking a trace attached to an experiment is expected to fill out the various views of the perspective with the trace's events. The double-click works with traces in the Traces part of the Projects View, but not with those in the Experiments part. The message is: Select Trace: org.eclipse.linuxtools.lttng.ui.views.project.model.LTTngExperimentFolderNode cannot be cast to org.eclipse.linuxtools.lttng.ui.views.project.model.LTTngProjectNode None of the contextual menu actions trigger this, so the association between the double-click and the contextual menu choice is unknown (the expectation is for the double-click to match the default contextual menu action; in some OSes this is signaled by bolding the appropriate contextual menu entry). Reproducible: Always Steps to Reproduce: 1. Launch Eclipse 3.7.1 CDT+IC 2. Open the LTTng perspective 3. Create a project (File:New:Project:LTTng:LTTng Project) 4. Select the "Traces" line in the Projects View 5. Open the traces' contextual menu 6. Select "Import Trace" (you'll need a sample trace) 7. Select the "Experiments" line in the Projects View 8. Open the experiments' contextual menu 9. Select "New Experiment" 10. Type in a name in the odd dialog that pops up (reported as bug 360110) 11. Select your experiment in the Projects View 12. Open your experiment's contextual menu 13. Select "Select Traces" and pick out your previously imported trace 14. Double-click the trace under the experiment in the Projects View
Created attachment 204709 [details] Fix for Bug360112 Fix the getProject() method so it correctly finds the enclosing project when a trace is selected from within an experiment.
Patch committed (18ec7fa6269ee06b07e0353465b8e598ac3e75b1)
Comment on attachment 204709 [details] Fix for Bug360112 Patch ready for 0.9
Delivered in 0.9.0