Bug 208999 - please show filename in Okular's File->Properties dialog
Summary: please show filename in Okular's File->Properties dialog
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-30 16:58 UTC by Marcel Martin
Modified: 2009-11-16 01:46 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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