Bug 577398 - [webkit][GTK] Browser should support searching for text in the page content
Summary: [webkit][GTK] Browser should support searching for text in the page content
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.15   Edit
Hardware: PC Linux
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-22 12:17 EST by Andrey Loskutov CLA
Modified: 2022-06-10 07:35 EDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Loskutov CLA 2021-11-22 12:17:27 EST
That is same as bug 455555 but for webkit/GTK.

AS IS: there is no way to search for a text via Ctrl+F shortcut in the opened internal browser or in Eclipse Help.

TO BE: ideally, some dialog should be opened that allows to search in the help.

If not possible to do that in the browser component itself, we may create a dedicated bug for the Help to add some fancy javascript/css based dialog that we contribute to the Help component so that we could do that via html Help itself (not sure it is possible either).
Comment 1 Alexander Kurtakov CLA 2021-11-22 12:21:18 EST
Hint if anyone is interested in implementing it: https://wiki.gnome.org/Projects/WebKitGtk/ProgrammingGuide/Cookbook#Searching_text_on_a_WebView
Comment 2 Carsten Pfeiffer CLA 2022-06-10 07:32:49 EDT
We're using the SWT Browser component and I've been wondering why Ctrl-F works fine on Windows (=IE), but not on Linux (webkit). Now I know.

An alternative to a native webkit implementation might be a BrowserFunction using Window.find() (see https://developer.mozilla.org/en-US/docs/Web/API/Window/find). That could also fix bug 455555 on macos.