When watching a page and seeing some interesting links, I open them in new 
tabs in the background. There is a setting "open new tabs in the background" 
for that.
But if I open a bookmark, I usually want to see the associated page 
immediately. This is where the setting "open new tabs in the background" is 
contra-productive, because the tab has to be activated first.

I suggest to bypass this setting if a new tab is opened via a bookmark.
This is also the behavior of firefox (and I got used to it :D).

The patch is attached.
diff --git a/src/bookmarks.cpp b/src/bookmarks.cpp
index e7f572b..c08784e 100644
--- a/src/bookmarks.cpp
+++ b/src/bookmarks.cpp
@@ -66,7 +66,7 @@ void BookmarkOwner::openBookmark(const KBookmark & bookmark,
 {
     if (keyboardModifiers & Qt::ControlModifier || mouseButtons == Qt::MidButton)
     {
-        emit openUrl(bookmark.url(), Rekonq::SettingOpenTab);
+        emit openUrl(bookmark.url(), Rekonq::NewCurrentTab);
     }
     else
     {
_______________________________________________
rekonq mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/rekonq

Reply via email to