Bug 190867

Summary: [Commands] Problems invoking object contribution action via Ctrl+3
Product: [Eclipse Project] Platform Reporter: Nick Edgar <n.a.edgar>
Component: UIAssignee: Platform UI Triaged <platform-ui-triaged>
Status: ASSIGNED --- QA Contact:
Severity: normal    
Priority: P3 CC: bokowski, pwebster
Version: 3.3   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Screen shot of error dialog on Linux. none

Description Nick Edgar CLA 2007-06-04 14:47:29 EDT
3.3 M7

- start our product in a new eclipse workspace
- from the Welcome page, invoke the "Show Pending Changes" command via Quick Access (Ctrl+3)
- on Linux it fails with the "There is no handler to execute..." scary error dialog (see screen shot)
- on WinXP it runs the associated handler, but this does not run as expected since the selection is inappropriate (it's an object contribution against ResourceMapping with adaptable=true)

Expectation: The command doesn't show up in Quick Access if it has no appropriate handler.  If there is a matching handler, it gets the adapted selection (from the appropriate selection provider, i.e. the one passed to registerContextMenu).
Alternatively, show all commands, but give a less scary dialog saying the command it's not currently available.  But the selection should still the right one.

Back link to our bug DB: #25116
Comment 1 Nick Edgar CLA 2007-06-04 14:48:47 EDT
Created attachment 70010 [details]
Screen shot of error dialog on Linux.
Comment 2 Boris Bokowski CLA 2007-06-04 16:10:40 EDT
See bug 185899 for the scary dialog.
Comment 3 Eclipse Webmaster CLA 2019-09-06 15:36:51 EDT
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.