Community
Participate
Working Groups
Build id: I20110312-1300 - 4.1M6 When I right click on the editor margin, the "Show Annotation" item is disabled. But, in the history view's context menu, the show annotation menu item is enabled and works fine.
The ShowAnnotationAction doesn't appear to have a selection set for them. 3.x trace as follows. Thread [main] (Suspended (breakpoint at line 574 in TeamAction)) ShowAnnotationAction(TeamAction).updateSelection(IWorkbenchPart, ISelection) line: 574 ShowAnnotationAction(TeamAction).setEnabled(Object) line: 567 HandlerProxy.setEnabled(Object) line: 232 Command.setEnabled(Object) line: 857 CommandContributionItem.isEnabled() line: 977 CommandContributionItem.updateMenuItem() line: 628 CommandContributionItem.update(String) line: 580 CommandContributionItem.fill(Menu, int) line: 490 MenuManager.doItemFill(IContributionItem, int) line: 737 MenuManager.update(boolean, boolean) line: 818 MenuManager.handleAboutToShow() line: 470 MenuManager.access$1(MenuManager) line: 465 MenuManager$2.menuShown(MenuEvent) line: 491 TypedListener.handleEvent(Event) line: 247 EventTable.sendEvent(Event) line: 84 Menu(Widget).sendEvent(Event) line: 1053 Menu(Widget).sendEvent(int, Event, boolean) line: 1077 Menu(Widget).sendEvent(int) line: 1058 Shell(Control).WM_INITMENUPOPUP(int, int) line: 4864 Shell(Control).windowProc(int, int, int, int) line: 4540 Shell(Canvas).windowProc(int, int, int, int) line: 341 Shell(Decorations).windowProc(int, int, int, int) line: 1610 Shell.windowProc(int, int, int, int) line: 2059 Display.windowProc(int, int, int, int) line: 4967 OS.TrackPopupMenu(int, int, int, int, int, int, RECT) line: not available [native method] Menu._setVisible(boolean) line: 256 Display.runPopups() line: 4201 Display.readAndDispatch() line: 3743
Cannot reproduce with I20110620-1631 on Windows XP. Lakshmi, please let me know if you still see this problem on a newer build of 4.1, thank you.
Whoops.
Problem not reproducible with 4.1RC5a Cocoa build.