Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 354674 - "Show Annotation" action in editor ruler context menu when no action available
Summary: "Show Annotation" action in editor ruler context menu when no action available
Status: RESOLVED WORKSFORME
Alias: None
Product: EGit
Classification: Technology
Component: UI (show other bugs)
Version: 4.1   Edit
Hardware: PC Windows XP
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-12 16:57 EDT by Jeremy Flicker CLA
Modified: 2015-06-11 10:20 EDT (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 Jeremy Flicker CLA 2011-08-12 16:57:14 EDT
Build Identifier: Build id: M20100909-0800 (3.6.1)

After starting a new workspace, an action called "Show Annotation" will appear in the vertical ruler context menu of a text editor such as the java editor.  If you click on it, you will get the message that "The chosen operation is not enabled".  That action will no longer appear in the context menu for that workspace.

Reproducible: Always

Steps to Reproduce:
1. Start a new workspace
2. Create a new Java Project
3. Create a new Java File
4. In the editor that gets opened, right click on the ruler with the line numbers
5. Click on the "Show Annotation" action
Comment 1 Lars Vogel CLA 2015-06-11 03:46:22 EDT
I see twice the "Show Annotation" in the ruler, one of them fails. Once selected it goes away.

Dani, how can I see who is contributing the ruler actions? I guess EGit is contributing it twice, but I'm not sure.
Comment 2 Dani Megert CLA 2015-06-11 04:56:06 EDT
I tried this with I20150603-2000 (RC4) and org.eclipse.egit.ui_4.0.0.201506020755-rc3 and could not reproduce it.

Please reopen with steps if you see this using above or newer versions of Eclipse SDK and EGit.
Comment 3 Lars Vogel CLA 2015-06-11 10:20:32 EDT
(In reply to Dani Megert from comment #2)
> I tried this with I20150603-2000 (RC4) and
> org.eclipse.egit.ui_4.0.0.201506020755-rc3 and could not reproduce it.
> 
> Please reopen with steps if you see this using above or newer versions of
> Eclipse SDK and EGit.

I also cannot reproduce it anymore with latest SDK und latest EGit from nightly update site.