1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-21 11:16:35 +01:00
Commit Graph

18 Commits

Author SHA1 Message Date
0e25b116cb SearchBar - Show number of matches found on page search
Summary: BUG: 395429

Test Plan: Open searchbar on webpage and type some text which is present on the page

Reviewers: #falkon, drosca

Reviewed By: #falkon, drosca

Subscribers: drosca, falkon

Tags: #falkon

Differential Revision: https://phabricator.kde.org/D27095
2020-02-15 15:32:32 +01:00
David Rosca
63aa4028a4
SearchToolBar: Remove warning message that no results were found 2019-03-22 14:01:20 +01:00
Carl Schwan
9601e8ad34
Use a searchbar similar to the one in okular
Summary: {F6674717}

Reviewers: #falkon, #vdg, drosca

Reviewed By: #falkon, drosca

Subscribers: drosca, loh.tar, SGOrava, falkon

Tags: #falkon

Differential Revision: https://phabricator.kde.org/D19625
2019-03-14 13:56:40 +01:00
David Rosca
a237c8ff87
SearchToolBar: Add Shift+Enter shortcut to find previous
BUG: 402989
FIXED-IN: 3.1.0
2019-01-24 15:53:59 +01:00
Laurent Montel
4de3e4c703 Fix some clazy warnings 2019-01-08 13:28:02 +01:00
David Rosca
51eb65ecec
SearchToolBar: Ignore old search callbacks
BUG: 401343
FIXED-IN: 3.1.0
2018-12-24 14:05:29 +01:00
Julian Wolff
d708fea839 Use selected text in searchToolBar
Summary:
With this patch, the currently selected text in a webpage is automatically inserted into the
searchToolBar when it is opened.
This matches the behaviour of the search tool bar in Kate.

Test Plan:
Open a webpage. Select a single line of text. Press Ctrl+F. The selected text is inserted into the
searchToolBar.

Reviewers: #falkon, drosca

Reviewed By: #falkon, drosca

Subscribers: drosca

Differential Revision: https://phabricator.kde.org/D11210
2018-03-10 15:05:37 +01:00
David Rosca
408b2ffad6
TabWidget: Add public webTab method
Also cleanup tabbedwebview.h includes.
2018-02-05 16:44:23 +01:00
David Rosca
4bf85ee3cb WebPage: Register QWebChannel on isolated ApplicationWorld
This way scripts on pages don't have access to it.
Exception is qupzilla: scheme as internal pages requires the bridge.

GreaseMonkey userscripts now runs on ApplicationWorld too. This fixes
userscript that depend on script world being isolated from main page world.
Tested with 4ChanX + OneeChan.
2018-01-11 19:55:01 +01:00
David Rosca
ca2b5f22be SearchToolbar: Don't set shortcuts from UI file
Fixes build with Qt 5.10

Closes #2515
2017-12-03 19:10:01 +01:00
David Rosca
d00e769749 Initial rename to Falkon 2017-08-25 17:32:32 +02:00
David Rosca
1387baade0 SearchToolBar: Guard against running search callback after toolbar was deleted 2017-08-25 16:11:40 +02:00
David Rosca
a049f44757 Each tab now has its own SearchToolBar
Also disable show/hide animations.

SearchToolBar is now above Web Inspector (if visible).
2017-01-21 17:43:41 +01:00
David Rosca
bdd5dee361 SearchToolBar: Fix updating search when changing case sensitivity 2015-08-30 10:57:08 +02:00
David Rosca
2466f790bc SearchToolBar: Don't select text when searching on page 2015-08-30 10:56:58 +02:00
David Rosca
0723deb2fc SearchToolbar: Remove "Highlight" option
It is no longer available with QWebEngine.
Also rewrite callback to use lambda instead of invoke wrapper.
2015-06-10 11:08:32 +02:00
David Rosca
60b2386a6e Initial port to QtWebEngine
This is first quick port to QtWebEngine, most of advanced features
are not working yet. Please read README.

For now, it will use separate profile directory as well as browser
session, that means you can use both QtWebEngine and QtWebKit versions
at the same time.
2015-01-27 11:01:52 +01:00
nowrep
7f3d8ee786 [Cleanup] Split src/lib/webview into tabwidget, webkit and webtab folders 2014-03-31 14:54:08 +02:00