Commit d0b9b138 authored by Nate Graham's avatar Nate Graham 🔩
Browse files

Switch to existing document in new tab by default

Right now Okular defaults to opening an already-open document in a new
tab when opened a second time, which is a bit odd. Most other
document-based apps will switch to the existing document's instance
instead of opening a new instance of it.

Interestingly enough, Okular has an option to do this, but it's off by
default. I think on by default makes more sense here, to be consistent
with other document-based apps. Since the option exists, people who have
a specialized use case that commonly involves opening multiple instances
of the same document can toggle the option to have that. Everyone wins!

BUG: 432942
FIXED-IN: 21.04
parent c2d72521
Pipeline #54698 passed with stage
in 27 minutes and 47 seconds
......@@ -174,7 +174,7 @@
<default>false</default>
</entry>
<entry key="SwitchToTabIfOpen" type="Bool">
<default>false</default>
<default>true</default>
</entry>
<entry key="ShowOSD" type="Bool" >
<default>true</default>
......
......@@ -2588,7 +2588,7 @@ Context menu actions like Rename Bookmarks etc.)
<varlistentry>
<term><guilabel>Switch to existing tab if file is already open</guilabel></term>
<listitem>
<para>Whether &okular; should switch to a tab if the file is already open instead of opening a new tab. This option is disabled by default. Can be toggled only if <guilabel>Open new files in tabs</guilabel> is enabled.</para>
<para>Whether &okular; should switch to a tab if the file is already open instead of opening a new tab. This option is enabled by default. Can be toggled only if <guilabel>Open new files in tabs</guilabel> is enabled.</para>
</listitem>
</varlistentry>
<varlistentry>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment