The DnD Sanctuary

Pings => Otter Browser Forum => Topic started by: rhubarbpieguy on 2015-01-22, 00:14:20

Title: Allow windows instead of tabs?
Post by: rhubarbpieguy on 2015-01-22, 00:14:20
Can I configure Otter without tabs?  I have "Reuse current tab" checked in General/Preferences and it works, but I want no tab at all.  Opera has "Allow windows instead of tabs" under "Additional tab options ..."

Title: Re: Allow windows instead of tabs?
Post by: Emdek on 2015-01-23, 07:40:36
You are looking for Open new windows in a new tab instead, just toggle it off.
But apparently it was broken until now, so you will have to compile from source...
Title: Re: Allow windows instead of tabs?
Post by: rhubarbpieguy on 2015-01-23, 13:47:52

You are looking for Open new windows in a new tab instead, just toggle it off.
But apparently it was broken until now, so you will have to compile from source...


I'd tried that.  Checking or unchecking that option gives me a tab.  I'm running Otter 0.9.05-dev compiled with cmake.

I realize tabbed browsing is popular and should certainly be available.  I'm surely the minority, but to me, a tab just wastes screen space.  Perhaps I'm not understanding the Tools/Preferences ... options?
Title: Re: Allow windows instead of tabs?
Post by: Emdek on 2015-01-23, 16:50:09
@rhubarbpieguy, which way of triggering links are you using?
It works for me for middle click, haven't tried on links with target="_blank" yet.
Title: Re: Allow windows instead of tabs?
Post by: rhubarbpieguy on 2015-01-24, 04:01:58
Typing a link through F2, or left-clicking a link produces the same result.  To make certain we're on the same page I'm attaching screen shots of Opera and Otter accessing ibm.com.  I've found no combinations in Tools/Preferences ... that omits the tab I see in OtterTab.jpg.

Title: Re: Allow windows instead of tabs?
Post by: Emdek on 2015-01-24, 18:58:17
@rhubarbpieguy, so the only issue for you is hiding tab bar, right?
There is no option to hide it yet, until then you could try this patch:
Code: [Select]
diff --git a/src/ui/MainWindow.cpp b/src/ui/MainWindow.cpp
index acce3bb..9aa1480 100644
--- a/src/ui/MainWindow.cpp
+++ b/src/ui/MainWindow.cpp
@@ -135,7 +135,7 @@ MainWindow::MainWindow(bool isPrivate, const SessionMainWindow &session, QWidget
restoreState(session.state);
}

- m_tabBarToolBarWidget->updateOrientation();
+ m_tabBarToolBarWidget->hide();
}

MainWindow::~MainWindow()

Maybe I'll add such option today, although I'm not convinced that it should be automatically disabled when that option is set (as tabs can be still forced using context menu), but we definitely should have option to hide it when there is only one tab.
Title: Re: Allow windows instead of tabs?
Post by: rhubarbpieguy on 2015-01-25, 02:59:19

There is no option to hide it yet, until then you could try this patch:


Thank you, the patch works.  No tab displays.
Title: Re: Allow windows instead of tabs?
Post by: Emdek on 2015-01-25, 07:09:12
@rhubarbpieguy, no problem, that option landed into master, although it needs more work as part of #31 (https://github.com/Emdek/otter/issues/31).