| Summary: | [patch] Remove from context popup appears where it shouldn't | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Miles Parker <milesparker> | ||||||
| Component: | Mylyn | Assignee: | Shawn Minto <shawn.minto> | ||||||
| Status: | CLOSED MOVED | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | shawn.minto, steffen.pingel | ||||||
| Version: | unspecified | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | All | ||||||||
| OS: | All | ||||||||
| Whiteboard: | |||||||||
| Bug Depends on: | |||||||||
| Bug Blocks: | 357747 | ||||||||
| Attachments: |
|
||||||||
|
Description
Miles Parker
The following (very simple!) patch fixes the issue by setting the adapt flag to false, just as it is for mark as landmark. I don't know if this will break some other intended behavior, that is why this was adapting in the first place. Also, note that org.eclipse.mylyn.internal.context.ui.actions.InterestDecrementAction referes to IRersource whereas org.eclipse.mylyn.internal.context.ui.actions.InterestIncrementAction refers to IFile. I don't know if that makes a difference in practice or if there is a reason for that. Can you attach the patch? Thanks! Created attachment 203874 [details]
Simple patch for plugin.xml
Created attachment 203875 [details]
mylyn/context/zip
Seems likely that we would loose the contribution from places like editor context menus. Given that this contribution makes it more difficult to scope the remove from context action to specific elements in editors I wonder if it's reasonable to make the suggested change. Shawn? (In reply to comment #5) > Seems likely that we would loose the contribution from places like editor > context menus. Yeah, that's precisely the issue. :) Do you mean less difficult? The problem right now is that I was unable to find a way to get the context menu to *not* show up when the user selects elements w/in editors. Ping. Are we going to do this or is it a WONTFIX? Just wanting to resolve the dependent bug if possible. Let's discuss on the next call how to proceed. Another somewhat related bug is here: bug 387156: Allow editor actions to obtain current context https://bugs.eclipse.org/bugs/show_bug.cgi?id=387156 Shawn, can you take a look at this bug when you get a chance? Mylyn has been restructured, and our issue tracking has moved to GitHub [1]. We are closing ~14K Bugzilla issues to give the new team a fresh start. If you feel that this issue is still relevant, please create a new one on GitHub. [1] https://github.com/orgs/eclipse-mylyn |