Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 363496 - Command org.eclipse.mylyn.task.ui.editor.QuickOutline visible on any editor
Summary: Command org.eclipse.mylyn.task.ui.editor.QuickOutline visible on any editor
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 minor (vote)
Target Milestone: 3.6.4   Edit
Assignee: Steffen Pingel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-10 11:24 EST by Eckart Liemke CLA
Modified: 2011-11-17 16:38 EST (History)
0 users

See Also:


Attachments
Ctrl-3 Available views (23.87 KB, image/png)
2011-11-10 12:46 EST, Eckart Liemke CLA
no flags Details
proposed fix (1.33 KB, patch)
2011-11-10 15:15 EST, Steffen Pingel CLA
no flags Details | Diff
mylyn/context/zip (17.12 KB, application/octet-stream)
2011-11-10 15:16 EST, Steffen Pingel CLA
no flags Details
mylyn/context/zip (1.17 KB, application/octet-stream)
2011-11-17 16:38 EST, Steffen Pingel CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eckart Liemke CLA 2011-11-10 11:24:56 EST
This bug is related to bug 337841.
We have encountered a related problem. If you enter Ctrl-3 on any editor other than a mylyn task editor, the command org.eclipse.mylyn.task.ui.editor.QuickOutline (its label) gets visible. When triggering it, it shows an empty quick outline, of course.
Comment 1 Steffen Pingel CLA 2011-11-10 11:57:59 EST
I can not reproduce this. Please provide steps and a screenshot and some details about the version of Eclipse and Mylyn that you are using.
Comment 2 Eckart Liemke CLA 2011-11-10 12:46:57 EST
Created attachment 206799 [details]
Ctrl-3 Available views
Comment 3 Eckart Liemke CLA 2011-11-10 12:53:42 EST
Sorry, I forgot one detail. You have to hit Ctrl-3 and the type "outline". Among others, the outline for the task editor is offered (on any editor). I have attached a screenshot which shows the outline option two times, the second one works for the task editor only but appears also on other editors, which can be confusing.
I just updated to the latest version of mylyn.
The command and handler definition can be found in plugin org.eclipse.mylyn.tasks.ui . It has no restriction regarding its enablement/visibility.
Comment 4 Steffen Pingel CLA 2011-11-10 15:11:05 EST
Thanks for the details. I was able to reproduce the problem. I am not yet sure what the best expression is to control command handler enablement but it should only be active when the Task Editor is the active part.
Comment 5 Steffen Pingel CLA 2011-11-10 15:15:58 EST
Created attachment 206815 [details]
proposed fix
Comment 6 Steffen Pingel CLA 2011-11-10 15:16:08 EST
Created attachment 206816 [details]
mylyn/context/zip
Comment 7 Steffen Pingel CLA 2011-11-17 16:38:34 EST
I have pushed the fix to the master and e_3_7_m_3_6_x branch.
Comment 8 Steffen Pingel CLA 2011-11-17 16:38:35 EST
Created attachment 207185 [details]
mylyn/context/zip