Bug 334566

Summary: If a document fails to open, the empty window/tab is not used when a another document is open
Product: [Applications] okular Reporter: Luigi Toscano <luigi.toscano>
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED WORKSFORME    
Severity: normal CC: aacid, jonathan.doman, postix
Priority: NOR    
Version First Reported In: 1.9.2   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Luigi Toscano 2014-05-09 21:30:53 UTC
If an the current window/tab is empty because the last open operation failed, and then a new document is opened, this new document is opened in a new window/tab, not in the existing one.
Comment 1 Albert Astals Cid 2014-07-30 22:18:51 UTC
Jonathan any chance we can get a fix for this for 4.14.0 (tagging in one week)?
Comment 2 postix 2020-02-28 14:22:38 UTC
I can no longer reproduce this on 

Operating System: Manjaro Linux 
KDE Plasma Version: 5.17.5
KDE Frameworks Version: 5.68.0


Steps to reproduce:
1) Open a valid PDF
2) Open a faulty PDF, which creates an empty tab
3) Focus the empty tab
4) Open another valid PDF

4) will be opened in the empty tab of 3)