Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Selection is cleared in IE9
Selection is cleared in IE9 [message #903479] Thu, 23 August 2012 19:14 Go to next message
DANIEL Missing name is currently offline DANIEL Missing nameFriend
Messages: 12
Registered: July 2011
Location: TORONTO
Junior Member
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

Re: Selection is cleared in IE9 [message #903540 is a reply to message #903479] Fri, 24 August 2012 08:23 Go to previous messageGo to next message
Tim Buschtoens is currently offline Tim BuschtoensFriend
Messages: 387
Registered: July 2009
Senior Member
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 13:37 Go to previous message
DANIEL Missing name is currently offline DANIEL Missing nameFriend
Messages: 12
Registered: July 2011
Location: TORONTO
Junior Member
I opened bug number 387987. Thank you.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=387987
Previous Topic:RAP based UI to the marketplace client
Next Topic:Could not evaluate javascript response
Goto Forum:
  


Current Time: Fri Nov 28 16:10:48 GMT 2014

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

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