Browser Search not Working [message #1801681] |
Thu, 24 January 2019 16:37  |
Eclipse User |
|
|
|
Hi, I have a RAP application for which the browser search doesn't seem to work. When I hit CTRL + F the browser doesn't show the search box.
This is really weird, has anyone come across this problem?
Does anyone know a solution to this?
I have tested it with IExplorer 11, Chrome and Firefox.
Thank you.
|
|
|
Re: Browser Search not Working [message #1801695 is a reply to message #1801681] |
Thu, 24 January 2019 20:24   |
Eclipse User |
|
|
|
The RAP javacript client is capturing the keypress, so your application can handle Ctrl-F if required.
If you first click in the address bar you can use native browser shortcuts, like Ctrl-F and open developer tools etc with F12
I found that standard RWT applications don't get in the way of these shortcuts, but when the Eclipse Workbench is running it does.
The application I maintain uses plain SWT controls for the login UI, there Ctrl-F brings up the browser search dialog. Once the login completes and the workbench is running, Ctrl-F doesn't work anymore - you need to use the address bar focus trick to make it work.
|
|
|
Re: Browser Search not Working [message #1801726 is a reply to message #1801695] |
Fri, 25 January 2019 10:56   |
Eclipse User |
|
|
|
Hi Chris,
thanks for your reply.
Is there a way to enable browser search (CTRL+F) in RAP programmatically?
(I tried the address bar focus trick but it only works on Chrome not in IE)
Thanks.
|
|
|
|
|
|
Re: Browser Search not Working [message #1803891 is a reply to message #1802061] |
Wed, 13 March 2019 09:45  |
Eclipse User |
|
|
|
@Michael
thank you, but the customer is asking for Ctrl-F as the users (it's a very large intranet application) are using this keybinding in all other web applications with IE.
But @Ivan (thank you Ivan!) gave us a hint.
We fixed it by importing org.eclipse.rap.ui sources plugin and changing the Ctrl-F binding with something else: it worked!
Thank you all
Vincenzo
|
|
|
Powered by
FUDForum. Page generated in 1.01247 seconds