Summary: | [QuickAccess] CVS Commit from Quick Access Menu causes error | ||
---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | Will Lentz <will_lentz> |
Component: | UI | Assignee: | Platform UI Triaged <platform-ui-triaged> |
Status: | NEW --- | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | pwebster, Szymon.Brandys |
Version: | 3.4 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Linux-GTK | ||
Whiteboard: |
Description
Will Lentz
2008-06-23 17:11:26 EDT
Another steps: Open a file under CVS control (can be just Java file) 1. Ctrl+3 2. Choose Commit 3. Cancel the commit dialog mouseUp in the mouse listener (QuickAccessDialog line 274) is triggered on Linux, but not on Win XP. On Linux in HandlerService#executeCommandInContext, method getCurrentState returns a context where "activeEditor" is an Object. This results with CCEx in ActionDelegateHandlerProxy. I'm moving it to UI for a comment. Will, does the command work correctly if accessed through the context menu (how about if it's key bound) ? (In reply to comment #2) > Will, does the command work correctly if accessed through the context menu (how > about if it's key bound) ? Yes. Using the context menu and key bindings it works ok. (In reply to comment #3) > (In reply to comment #2) > > Will, does the command work correctly if accessed through the context menu (how > > about if it's key bound) ? > > Yes. Using the context menu and key bindings it works ok. > I can confirm the same behavior - context menu and key binding works fine. Paul, do you know why ActionDelegateHandlerProxy unconditionally downcasts to IWorkbenchPart? (In reply to comment #5) > Paul, do you know why ActionDelegateHandlerProxy unconditionally downcasts to > IWorkbenchPart? It never used to be an issue (in that you can't have an IObjectActionDelegate with no active part). PW Remy is now responsible for watching bugs in the [QuickAccess] component area. This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. |