Skip to main content



      Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Selection is cleared in IE9
Selection is cleared in IE9 [message #903479] Thu, 23 August 2012 15:14 Go to next message
Eclipse UserFriend
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 16:28] by Moderator

Re: Selection is cleared in IE9 [message #903540 is a reply to message #903479] Fri, 24 August 2012 04:23 Go to previous messageGo to next message
Eclipse UserFriend
Hi!

> 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

I can reproduce it with current master also. Could you please open an
entry on bugzilla?[1] Thanks.

[1]
https://bugs.eclipse.org/bugs/enter_bug.cgi?product=RAP&rep_platform=All&op_sys=all

Greetings,
Tim

--
Tim Buschtöns

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: Selection is cleared in IE9 [message #903602 is a reply to message #903540] Fri, 24 August 2012 09:37 Go to previous message
Eclipse UserFriend
I opened bug number 387987. Thank you.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=387987
Previous Topic:Display a string in Table when there are no items
Next Topic:RAP based UI to the marketplace client
Goto Forum:
  


Current Time: Mon Jul 07 09:57:13 EDT 2025

Powered by FUDForum. Page generated in 0.03136 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top