Selection is cleared in IE9 [message #903479] |
Thu, 23 August 2012 19:14 |
|
RAP 1.5
We are experiencing a problem only in IE7 and IE9 during right click in a Text widget. If the user selects a text in the Text widget and then press right click, the selection is cleared and our pop-up menu is displayed. The selection should not be cleared when you right click. The problem occurs only when we set a context menu in the Text widget. If the Text widget will have no context menu then the browser default context menu (copy, paste,...) is displayed and the selection is not cleared.
To easily reproduce this problem, use the mail demo example, and add the lines below to the end of the createPartControl method in the view class.
final AboutAction action = new AboutAction(Activator.getDefault().getWorkbench().getActiveWorkbenchWindow());
MenuManager menuManager = new MenuManager("menu"); //$NON-NLS-1$
menuManager.add(action);
menuManager.update();
Menu menu = menuManager.createContextMenu(parent);
text.setMenu(menu);
[Updated on: Thu, 23 August 2012 20:28] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03671 seconds