1
mirror of https://invent.kde.org/network/falkon.git synced 2024-09-23 02:32:10 +02:00
Commit Graph

102 Commits

Author SHA1 Message Date
ravas
effda91f7c ensured the window geometry is remembered on OS X
* ensured the window geometry is remembered on OS X

It was always starting based on:
int windowWidth = desktop->availableGeometry().width() / 1.3;
int windowHeight = desktop->availableGeometry().height() / 1.3;

because quitApp isn’t called on OS X.

* ensured the window geometry is remembered on OS X (v2)

* tweaked coding style
2016-04-05 09:07:40 +02:00
David Rosca
a66e179b40 Misc fixes
Correctly initialize QJsonParserError
2016-03-30 11:53:41 +02:00
David Rosca
71b6d922be WebView: Handle create WebBrowserWindow
Instead of custom handling of shift + mouse click, use
QWebEngineView::createWindow. It should fix the issue with
JavaScript catching the mouse click performing some action
and QupZilla trying to open new window.

Closes #1898
2016-03-30 09:10:57 +02:00
trnkava1
89d565da6a Mac: Fixed opening Main Menu from button 2016-03-19 14:04:25 +01:00
David Rosca
be110d2d8f Don't focus locationbar of non-empty tab when restoring session 2016-02-25 18:47:46 +01:00
David Rosca
54f3e78396 Fix grammar "Are you sure to..." -> "Are you sure you want to..." 2016-02-15 09:58:14 +01:00
David Rosca
06b2414d80 Focus locationbar on startup if url of current tab is empty 2016-01-27 13:23:28 +01:00
David Rosca
59ac47b08c Hide statusbar and menubar by default 2016-01-24 16:29:46 +01:00
David Rosca
9f6ec040bb QzTools: Add actionShortcut function 2015-11-12 17:00:43 +01:00
David Rosca
ac3d9b0f9b Fix showing webview with Breeze style
Closes #1686
2015-11-12 16:38:39 +01:00
David Rosca
c0809dc0b3 Fix exiting HTML fullscreen with F11 2015-11-06 17:55:57 +01:00
David Rosca
96cc2d41e2 Remove non-working Work Offline option 2015-10-15 10:28:03 +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
54f31237a5 Fix build 2015-10-08 11:49:22 +02:00
David Rosca
db058ff194 Remove use of QNetworkRequest in LoadRequest 2015-10-06 09:46:23 +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
9f36401be9 Use QWebEngineSettings::defaultSettings instead of globalSettings 2015-10-01 18:02:36 +02:00
David Rosca
942299e649 Remove Page Screen action from menus
Page screen functionality will hardly ever come back with QtWebEngine.
2015-09-30 13:28:18 +02:00
David Rosca
36929a45bf Another cleanups
Removed printPage() functions + removed SslManager
2015-09-29 23:41:08 +02:00
David Rosca
730577c0e4 BrowserWindow: showWebInspector -> toggleWebInspector
Using the Web Inspector action while inspector is already visible
will close it.
2015-09-29 23:35:16 +02:00
David Rosca
b0da5ba755 Bring back NetworkManager class 2015-09-29 11:45:39 +02:00
David Rosca
fcaa2b4559 EncodingMenu: Fix showing duplicate codecs in other menu
Also use alphanumeric sorting with QCollator
2015-09-29 11:14:20 +02:00
David Rosca
7adc31337b Make afterLaunch settings enum 2015-09-28 14:51:38 +02:00
David Rosca
6d37ab5ce4 Save pinned tabs per window if restoring session on start
No more pinned tabs restoring on wrong window. Also it is now possible
to have different pinned tabs on each window.
2015-09-27 18:54:19 +02:00
David Rosca
748e6ce020 Ported all X11 specific code to xcb
It now also runtime checks for X11 platform, so it should
work on Wayland without recompilation;
2015-09-25 22:08:09 +02:00
David Rosca
a115d91564 Remove Caret Browsing option
No longer available with QtWebEngine
2015-09-25 17:45:47 +02:00
David Rosca
02f5e032fc Bring back qupzilla:restore page
For now, it doesn't support selecting which windows/tabs not to
restore. It is only possible to start new session or restore previous.
2015-09-24 22:46:35 +02:00
David Rosca
cde3ed179b Always show restore page when starting after crash 2015-09-24 19:37:40 +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
86a4f3d724 Remove support for transparent background 2015-08-31 21:40:08 +02:00
David Rosca
32a0db31b3 AutoFill: Initial port to QtWebEngine
There are still issues with completing forms in frames
2015-08-31 18:56:52 +02:00
David Rosca
758fd6c687 Fix all build warnings 2015-08-30 17:42:58 +02:00
David Rosca
1756c51546 Remove remaining RSS code 2015-08-30 10:40:45 +02:00
David Rosca
495ebc785e Don't link to unused Qt modules 2015-08-29 18:32:57 +02:00
David Rosca
7d9a07b379 Bring back show source support (using view-source: url) 2015-05-24 21:28:45 +02:00
David Rosca
8d7cfb0e2a Remove some Qt 4 specific code 2015-02-26 12:17:47 +01:00
David Rosca
226c721d57 BrowserWindow: Remove static WEBKITVERSION 2015-02-08 11:45:15 +01:00
David Rosca
f366dbd11f Encoding: Make character encoding menu working again 2015-02-08 11:42:01 +01: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
S. Razi Alavizadeh
393009f4d1 Show navigation bar when calling openLocation() in full screen mode.
- Closes #1464
2014-12-25 00:10:30 +03:30
Eion Robb
f5606e9326 Fix for compiling Windows version with mingw 2014-11-24 09:28:12 +13:00
David Rosca
24ff9285f5 Use desktop availableGeometry for default window size calculation 2014-11-10 12:15:23 +01:00
David Rosca
03c875b229 Set default window size to be desktop size / 1.3 2014-11-10 11:50:53 +01:00
David Rosca
478b5ddb84 Use open() instead of exec() in all dialogs
Avoid blocking exec().

Closes #1515
2014-11-07 18:08:12 +01:00
David Rosca
21fb7bff31 Preferences: Don't crash when opening with null BrowserWindow
Closes #1488
2014-10-07 16:15:23 +02:00
David Rosca
6390eb215b Mac: Fix crash on startup due to invalid m_mainMenu pointer
Closes #1485
2014-10-07 11:10:31 +02:00
David Rosca
dc29f6bde5 QzTools: Add function to obtain url of QWebFrame
QWebFrame::url() may be empty, and in that case QWebFrame::baseUrl()
should be used

The issue with empty frame url caused AutoFill to not complete
such frames.

Closes #1465
2014-09-29 16:14:49 +02:00
David Rosca
eec67d1941 Fix building with Qt 4.7 2014-09-26 19:28:24 +02:00
David Rosca
35b2fb22b4 Remove unnecessary qDebugs 2014-09-26 09:53:45 +02:00
David Rosca
01b4fd971f MainMenu: Fix shortcuts for toggling sidebars 2014-09-25 17:36:51 +02:00