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 15:14 Go to next message
DANIEL Missing name is currently offline DANIEL Missing name
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 16:28]

Report message to a 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
Tim Buschtoens is currently offline Tim Buschtoens
Messages: 381
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 09:37 Go to previous message
DANIEL Missing name is currently offline DANIEL Missing name
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: Thu Aug 21 00:34:09 EDT 2014

Powered by FUDForum. Page generated in 0.02045 seconds