Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsBrowser Context Menu and Selectable Content
https://www.eclipse.org/forums/index.php/mv/msg/477137/1042416/#msg_1042416
RWT suppresses the Browser Context Menu and prevents user to select the content of most widgets. This is fine for most application and it totally makes sense to allow usage of RWT defined Context Menus and right click events management.
However when application does not rely on right click events it would be nice to have a way to reenable default browser behaviour. This would allow user to use the services provided by his browser like the "Search in google <selected-text>" action in Firefox or even some actions provided by a browser plug-in like. It would also allow to copy and paste the content of a whole form. Basically it would make the application feel like a more "standard" web application.
So my question is: is there a way to disable right click events capture and to reenable user selectable content for a whole EntryPoint or for some widgets?
Regards,
-Seb]]>Sebastien Arod2013-04-16T12:03:54-00:00Re: Browser Context Menu and Selectable Content
https://www.eclipse.org/forums/index.php/mv/msg/477137/1046695/#msg_1046695
The reason behind unselectable content is compatibility with SWT, which
doesn't allow to select and copy text except in a text field. Moreover,
if content was selectable, it would automatically be selected on double
click.
However, I agree that selectable content and context menu would make RAP
application more web-like. We already show the browser context menu in
Text fields that do not specify their own context menu. Maybe there are
similar ways for other widgets and for selectable text. Feel free to
open an enhancement request.
Professional services for RAP and RCP? http://eclipsesource.com/services/rap/]]>Ralf Sternberg2013-04-22T08:42:45-00:00Re: Browser Context Menu and Selectable Content
https://www.eclipse.org/forums/index.php/mv/msg/477137/1046714/#msg_1046714
Thanks for the answer I created enhancement 406199.