Bug 342492 - Display PDF Document Title when switching tabs falls back to File name
Summary: Display PDF Document Title when switching tabs falls back to File name
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (show other bugs)
Version: 0.20.2
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-04 21:58 UTC by Thomas Ruschival
Modified: 2015-01-06 23:18 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 14.12.1


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Ruschival 2015-01-04 21:58:27 UTC
Okular is configured to open new files in Tabs and to display the document title in titlebar if available. The documents have a document title.
Opening the first PDF (form dolphin) correctly displays the document title in the titlebar (window title). Opening the second document also by doubleclicking in dolphin opens a new tab and correctly shows the second document title in the titlebar.
When switching between first and second tab the titlebar falls back to the file path instead of the document title (something like "file://path/to/file.pdf")
Opening the preferences dialog disabling and enabling (with apply) the checkbox 'document title in titlebar if available' brings back the document title, until switching tabs again.



Reproducible: Always

Steps to Reproduce:
1. Open 2 PDF documents in tabs
2. Switch tabs


Actual Results:  
Titlebar / Window title shows only file path

Expected Results:  
Titlebar / Window title should show PDF document title as configured
Comment 1 Albert Astals Cid 2015-01-06 23:18:09 UTC
Git commit eb0da16e45e38c4542743a0d460dacc4c135fbb2 by Albert Astals Cid.
Committed on 06/01/2015 at 23:17.
Pushed by aacid into branch 'Applications/14.12'.

Set the proper title again after tab change
FIXED-IN: 14.12.1

M  +2    -0    part.cpp

http://commits.kde.org/okular/eb0da16e45e38c4542743a0d460dacc4c135fbb2