Bug 166645

Summary: open should open document not replace current
Product: [Applications] okular Reporter: Helge Hielscher <hhielscher>
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED FIXED    
Severity: wishlist CC: aacid, caionnew
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In: 4.10.0
Attachments: Fix for this bug

Description Helge Hielscher 2008-07-15 18:57:31 UTC
Version:            (using Devel)
Installed from:    Compiled sources

Current behaviour:
1. start okular
2. File/Open/FileA
3. File/Open/FileB
Result: Only FileB is open

Expected Result: FileA and FileB are open
Workaround: Use a file manager to open FileA and FileB with okular or start okular twice
Comment 1 disabled account 2010-01-23 05:01:55 UTC
Confirmed in Okular 0.9.80.
Comment 2 jaydeep17 2012-08-11 23:04:08 UTC
Created attachment 73102 [details]
Fix for this bug

I have created a fix, works fine for me.
I would love to have a review.
Comment 3 Albert Astals Cid 2012-08-12 09:49:09 UTC
First, thanks for caring about Okular and creating the patch.

Now let's set some things straight:
 * This is not a bug. This is a wish.
 * We already saw your review request, no need to also write it here.
 * We have lives, unfortunately we can't review things in 3 seconds after they are published, so be patient
Comment 4 Albert Astals Cid 2012-09-04 18:05:38 UTC
Git commit 6d6a3bfce5d5b1e35500edb2851d6a0d9a8c0e85 by Albert Astals Cid, on behalf of Jaydeep Solanki.
Committed on 04/09/2012 at 20:04.
Pushed by aacid into branch 'master'.

Open a new Shell when opening a new file
FIXED-IN: 4.10.0
REVIEW: 105965
GUI

M  +3    -0    part.cpp
M  +1    -0    part.h
M  +14   -1    shell/shell.cpp
M  +2    -0    shell/shell.h

http://commits.kde.org/okular/6d6a3bfce5d5b1e35500edb2851d6a0d9a8c0e85
Comment 5 Albert Astals Cid 2012-09-04 18:09:30 UTC
Git commit 6d6a3bfce5d5b1e35500edb2851d6a0d9a8c0e85 by Albert Astals Cid, on behalf of Jaydeep Solanki.
Committed on 04/09/2012 at 20:04.
Pushed by aacid into branch 'master'.

Open a new Shell when opening a new file
FIXED-IN: 4.10.0
REVIEW: 105965
GUI

M  +3    -0    part.cpp
M  +1    -0    part.h
M  +14   -1    shell/shell.cpp
M  +2    -0    shell/shell.h

http://commits.kde.org/okular/6d6a3bfce5d5b1e35500edb2851d6a0d9a8c0e85
Comment 6 Albert Astals Cid 2012-09-04 18:11:54 UTC
Git commit 6d6a3bfce5d5b1e35500edb2851d6a0d9a8c0e85 by Albert Astals Cid, on behalf of Jaydeep Solanki.
Committed on 04/09/2012 at 20:04.
Pushed by aacid into branch 'master'.

Open a new Shell when opening a new file
FIXED-IN: 4.10.0
REVIEW: 105965
GUI

M  +3    -0    part.cpp
M  +1    -0    part.h
M  +14   -1    shell/shell.cpp
M  +2    -0    shell/shell.h

http://commits.kde.org/okular/6d6a3bfce5d5b1e35500edb2851d6a0d9a8c0e85