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

41 Commits

Author SHA1 Message Date
David Rosca
c7d58017d2 AddTabButton: Remove handling of drop events
It is handeld by the TabBar itself.
2018-01-01 16:56:39 +01:00
David Rosca
373df431a7 TabWidget: Switch to newly created tab when duplicating tab 2018-01-01 16:56:26 +01:00
Razi Alavizadeh
991fb32cc3 Fix restoring state of current tab after restoring last session.
- After 04b288b3 WebTab does not restore its state on showEvent
- QupZilla issue: https://github.com/QupZilla/qupzilla/issues/2467
2017-10-06 19:35:54 +03:30
Razi Alavizadeh
bad3a76a2e TabManager: Don't repeat detaching tab code. 2017-10-03 17:02:30 +03:30
Razi Alavizadeh
04b288b395 Fix restoring non-loaded tabs when moving them. 2017-10-03 17:02:25 +03:30
Razi Alavizadeh
f041d87534 Move tab context-menu methods to TabContextMenu. 2017-10-03 17:02:24 +03:30
Luigi Toscano
3c67be06b9 Fix UI strings with plural forms
Otherwise those strings can not be extracted.
2017-09-26 01:37:46 +02:00
David Rosca
d00e769749 Initial rename to Falkon 2017-08-25 17:32:32 +02:00
David Rosca
3492999abe Don't return empty QByteArray when there are no tabs in session 2017-04-07 12:38:54 +02:00
David Rosca
cb4012c5c9 Don't save qupzilla:restore tabs in sessions 2017-04-07 12:36:42 +02:00
David Rosca
29bccf9984 Use Qt Windows Extras instead of custom QtWin 2017-01-20 09:58:13 +01:00
David Rosca
dfa0533de0 TabsMenu: Indicate current tab with bold font + don't list pinned tabs
Also remove number of opened tabs
2016-12-29 15:05:38 +01:00
David Rosca
f2f9e1a6c3 Signal change when tab is (un)pinned and moved 2016-12-27 18:54:17 +01:00
David Rosca
e9b226d477 Drop support for pinned tabs without saving session
Pinned tabs are saved alongside normal tabs in a session file.
If user don't have session restore enabled, pinned tabs are saved
and restored from a special pinnedtabs.dat file which uses different
codepath.
It has also another problem that it only saves pinned tabs for last
browser window, which sometimes may be confusing and lead to losing
the pinned tabs.
2016-12-27 18:40:20 +01:00
David Rosca
e15bcc9215 Fix restoring zoom level of tabs 2016-12-27 18:40:13 +01:00
std46
e906f6ae20 Issue #2049 close tabs to right & close tabs to left (#2062)
* add close to right menu 
Closes #2049
2016-08-28 16:24:09 +02:00
Vlad
8e12480dc9 Show navigation in new tab in fullscreen mode (#2055) 2016-08-15 13:54:54 +02:00
David Rosca
f46364bc55 Fix typo changeOcurred -> changeOccurred 2016-02-26 10:43:34 +01:00
Vladislav Tronko
3f3f9eb428 Fix tabwidget signals connect 2016-02-15 20:34:20 +02:00
David Rosca
f9359da446 Fix some warnings when starting with new profile 2016-01-24 16:37:31 +01:00
innermous
5801ff0725 WebTab: Save/Restore zoom level on restart 2015-12-17 22:21:31 +01:00
David Rosca
12661a7d61 TabWidget: Ensure current tab is visible after restoring session 2015-10-22 18:33:20 +02:00
David Rosca
ebaf53f4f4 WebView: Always use WebView::restoreHistory() 2015-10-15 20:51:26 +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
db058ff194 Remove use of QNetworkRequest in LoadRequest 2015-10-06 09:46:23 +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
bfad9eb0aa WebView: Bring back support for unbeforeunload when closing tab 2015-09-30 13:01:14 +02:00
David Rosca
f448bba885 Fix previous commit 2015-09-29 16:37:22 +02:00
David Rosca
6e6f934535 Fix emitting changed() in TabWidget
TabbedWebView::changed() is no longer used, connect to urlChanged directly
2015-09-29 16:31:23 +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
86a4f3d724 Remove support for transparent background 2015-08-31 21:40:08 +02:00
David Rosca
f67348fac8 TabWidget: Don't try to load empty url when adding a tab
Fixes showing titles of other tabs when restoring session
2015-02-08 10:10:36 +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
David Rosca
964a76c04b [ComboTabBar] Correctly switch tabs when closing last tab in tabbar
Also remove custom logic for SelectPreviousTab on tab remove and use
only the QTabBar's selectionBehaviorOnRemove

Fix 1 for #1322
2014-05-02 20:02:33 +02:00
David Rosca
7568ee3e2d [TabWidget] Don't save qupzilla:restore page in closed tabs 2014-04-19 18:24:09 +02:00
nowrep
a560b7f498 [TabWidget] Make sure current tab is loaded on session restore
Fixes issue with current tab not being loaded on session restore
with "don't load tabs until selected" option.
It was needed to switch to other tab and then switch back to first tab
to actually load it.

Also pause updates of the whole browser window when restoring session.
2014-04-08 15:51:00 +02:00
nowrep
aa248893c1 [TabWidget] Renamed getTabBar() to just tabBar() 2014-04-04 17:14:31 +02:00
nowrep
5c2c90ae6d [WebTab] More cleanup in detach/attach code.
TabbedWebView can now be used with null BrowserWindow pointer.
2014-04-04 17:07:31 +02:00
nowrep
98907c2055 [WebTab] Reworked tab attaching/detaching.
This also fixes crash on detach
2014-04-01 18:47:19 +02:00
nowrep
2d9dfa9db7 [WebInspector] WebInspector is now displayed inside WebTab
It no longer uses QDockWidget. Instead, it is plain QWidget with
close button in top right corner.
2014-03-31 17:57:35 +02:00
nowrep
7f3d8ee786 [Cleanup] Split src/lib/webview into tabwidget, webkit and webtab folders 2014-03-31 14:54:08 +02:00