Bug 208999

Summary: please show filename in Okular's File->Properties dialog
Product: [Applications] okular Reporter: Marcel Martin <mmar>
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED FIXED    
Severity: wishlist    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Marcel Martin 2009-09-30 16:58:49 UTC
Version:           0.9.1 (using 4.3.1 (KDE 4.3.1), Gentoo)
Compiler:          i686-pc-linux-gnu-gcc
OS:                Linux (i686) release 2.6.31-05315-gab86e57

There's no obvious way to find out the name of the currently displayed file. Using the solution introduced in bug #158401 counts as non-obvious since it involves changing a hidden configuration option, same goes for selecting "Save as ..." and reading the pre-filled-in filename.
Comment 1 Albert Astals Cid 2009-11-16 01:46:37 UTC
SVN commit 1049872 by aacid:

Commit "Document information" patch by Luigi Toscano, 8 months without a nack from any devel and i like it, so let's commit it

Luigi's mail says
********
The attached patch changes a bit the handling of document informations 
and the informations shown in the info page.
- document path is added to the information and a button allows you to 
toggle between to file name (default) and the complete path;
- the number of the page is added to the information set by 
documentInfo() and not by the properties dialog (so the latter will not 
modify datas);
- the order of the information shown is the fixed now (see 
orderedProperties).
*********

Then there are a few things of my own since some const here and there and adding three values to Key enum

Also it fixes wish 208999
BUGS: 208999


 M  +125 -33   core/document.cpp  
 M  +20 -2     core/document.h  
 M  +3 -1      core/document_p.h  
 M  +82 -21    ui/propertiesdialog.cpp  
 M  +8 -0      ui/propertiesdialog.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1049872