1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-11 17:42:10 +01:00
Commit Graph

48 Commits

Author SHA1 Message Date
David Rosca
6806fa5405 AbstractButtonInterface: Use WebView property instead of WebPage
WebView of a tab will not change while WebPage may.

This also fixes crash when WebPage of WebView is changed. It can happen
eg. when opening new tab from page with target=_blank.

Closes #2537
2018-01-11 19:42:38 +01:00
David Rosca
d00e769749 Initial rename to Falkon 2017-08-25 17:32:32 +02:00
David Rosca
8e16efc1bf Fix crash when restoring history of internal pages with QtWebEngine 5.8
Closes #2302
2017-04-08 16:44:41 +02:00
David Rosca
8fa9db9f65 Show print preview dialog when printing page
Print directly to QPrinter instead of using intermediate pdf file.
2017-02-06 20:40:40 +01:00
David Rosca
45f37a3a64 WebView: Fix send text by mail action 2017-01-22 10:05:21 +01:00
David Rosca
5cc7dd080e Fix scrolling with high resolution mouse/touchpads
Use helper class to accumulate "common steps" of 120 angle delta.
2017-01-21 12:23:53 +01:00
David Rosca
a6988ee8f1 TabIcon: Draw small dot in corner when there is activity in pinned tab 2017-01-20 15:09:57 +01:00
David Rosca
68e0425bde Hide tab icon when page icon is null
Completely hide the tab icon instead of showing generic webpage icon
when page icon is null.
2016-12-30 17:16:30 +01:00
David Rosca
0ca133bfaf Always use QPointF for positions on webpage
Also take zoom into account when setting scroll position
2016-12-27 11:58:29 +01:00
David Rosca
9beee941f6 Adjust position of status bar message widget according to scrollbars 2016-12-26 20:17:53 +01:00
David Rosca
1a110c3641 WebHitTestResult: Use data from QWebEngineContextMenuData
Fixes handling context menus in iframes.

Closes #2126
2016-12-26 17:26:39 +01:00
David Rosca
64b48f6899 Use native scrollbars for main scrollbars
Use native widgets to render main scrollbars (scrollbars of the
main webview widget, not iframes etc).

It makes the scrollbars on body element invisible and instead draws
native widgets on the space for scrollbars.

Comes with possibility to disable it, enabled by default.
2016-12-26 12:39:36 +01:00
David Rosca
c9797f5600 WebView: Make sure to return non-null inputWidget() 2016-12-24 16:57:10 +01:00
David Rosca
96202a6fe0 WebView: Remove custom drag&drop handling
QtWebEngine drag&drop now works
2016-12-24 12:24:12 +01:00
David Rosca
3a9e0501df Fix saving new icons in database
Regression from 38bf9d2b4a
2016-12-20 12:33:43 +01:00
David Rosca
38bf9d2b4a Use QWebEngineView::icon() instead of custom icon downloading 2016-10-24 21:19:27 +02:00
David Rosca
ce9d3983a0 Bring back Save Page action
Only with Qt >= 5.7

Closes #2083
2016-09-18 12:09:38 +02:00
Vlad
81aab60023 Add copy image option in context menu (#2058) 2016-08-16 12:57:11 +02:00
David Rosca
d8682ff51d WebHitTestResult: Map position to page viewport coords
Closes #1927
2016-04-06 17:22:44 +02:00
David Rosca
8d312ad132 WebView: Accept drops with urls and open them
First dropped url is opened with current webview, the others are
opened in new tabs
2015-10-23 12:26:27 +02:00
David Rosca
36031c46e6 WebView: Store input widget as QWidget and not QObject 2015-10-14 12:12:25 +02:00
David Rosca
1a068e8c7d Use QWebEnginePage::RequestClose action to close tabs
It is no longer to use hacky onbeforeunload javascript handling when
closing tabs.
2015-10-12 12:07:01 +02:00
David Rosca
56e5237697 WebView: Don't save blank page / speed dial into view history 2015-10-09 21:33:07 +02:00
David Rosca
949faa5856 Add support for HTML FullScreen
Esc is used to leave fullscreen
2015-10-05 18:08:14 +02:00
David Rosca
102ee62d3d WebView: Enable download link/image/media actions with Qt 5.6 2015-10-04 19:35:02 +02:00
David Rosca
6ac34f74c1 WebView: Fix loading favicons that are on different hosts than site 2015-10-02 17:05:42 +02:00
David Rosca
4d5808d915 Bring back AutoScroll plugin
This time implemented in C++ and not with userscript. There
is also no support for scrolling inside frames.
2015-10-02 15:36:07 +02:00
David Rosca
800cc14dcd Bring back support for searching one-word terms from locationbar 2015-10-01 19:25:55 +02:00
David Rosca
5f6cfdc62a Remove WebView::guessUrlFromString and use QUrl::fromUserInput instead
This also fixes setting homepage and new tab urls in preferences.

Closes #1710
2015-10-01 18:37:45 +02:00
David Rosca
c68789c217 WebView: Remove unused openNewTab function 2015-10-01 17:37:56 +02:00
David Rosca
5e0ca7fed8 Preferences: Bring back external download manager option 2015-09-30 18:43:58 +02:00
David Rosca
b24303c00b WebView: Bring back media context menu 2015-09-30 15:26:52 +02:00
David Rosca
d10c47a825 WebView: Don't cache form data when adding create search engine action 2015-09-30 15:05:28 +02:00
David Rosca
6a2579a22c Cleanups
Remove PAC proxy option as it is hardly to ever be supported
in QtWebEngine.
2015-09-30 15:02:10 +02:00
David Rosca
7050ffc9e6 SearchEngines: Bring back creating search engines from forms on page 2015-09-30 14:57:41 +02:00
David Rosca
9072cc65c6 WebView: Bring back context menu 2015-09-29 23:15:46 +02:00
David Rosca
d4e09d8840 Hack to make input events work 2015-09-29 21:53:19 +02:00
David Rosca
daee137862 Cleanups in WebView 2015-09-25 20:44:18 +02:00
David Rosca
67b5a5337b Another cleanups
Includes enabling again SpeedDial integration in Bookmarks
star icon in locationbar.
2015-09-25 17:02:14 +02:00
David Rosca
fc85caff57 Add QWebPage::view() that returns WebView * 2015-09-24 23:00:27 +02:00
David Rosca
7e1a0d7720 Another cleanups 2015-09-08 11:24:16 +02:00
David Rosca
496c46d067 Fix saving & restoring tabs with urls hidden in locationbar
That is eg. qupzilla:speeddial
2015-09-06 10:32:47 +02:00
David Rosca
ff28f1f211 Another cleanup
- bring back support for Speed Dial Ctrl shortcuts
 - bring back support for one key shortcuts
2015-08-31 22:14:45 +02:00
David Rosca
b53bf49f75 Old code cleanup 2015-08-30 15:52:15 +02:00
David Rosca
eec26c9af4 Bring back support for web inspector
QtWebEngine only supports remote web inspector, so this
starts it on port 33417.
2015-08-30 14:44:59 +02:00
David Rosca
1756c51546 Remove remaining RSS code 2015-08-30 10:40:45 +02:00
David Rosca
869e1ff758 Fix QWebChannel connection after restoring history 2015-08-29 19:19:25 +02:00
David Rosca
b9d5851ef5 Renamed src/webkit -> src/webengine 2015-08-28 16:17:29 +02:00