labels PDF document a microsoft word document

Bug #98876 reported by Slogger
4
Affects Status Importance Assigned to Milestone
evince (Ubuntu)
Invalid
Low
Ubuntu Desktop Bugs

Bug Description

Binary package hint: evince

This isn't a major bug, but when a PDF is open, the top window says "Microsoft Word - DocName.doc (DocName.pdf)" which probably confuses people, considering that only the beginning is generally visible. Should probably say "DocName.pdf" or something.

ProblemType: Bug
Architecture: i386
Date: Thu Mar 29 22:38:15 2007
DistroRelease: Ubuntu 7.04
ExecutablePath: /tmp/hw8-ElevatorBonanza.pdf
InterpreterPath: /usr/bin/evince
Package: evince 0.8.0-0ubuntu1
PackageArchitecture: i386
ProcCmdline: /usr/bin/evince /tmp/hw8-ElevatorBonanza.pdf
ProcCwd: /home/slogkhan
ProcEnviron:
 SHELL=/bin/bash
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_US.UTF-8
SourcePackage: evince
Uname: Linux FFUbuntu 2.6.20-13-generic #2 SMP Sun Mar 25 00:21:25 UTC 2007 i686 GNU/Linux

Revision history for this message
Slogger (slogger) wrote :
Revision history for this message
Daniel Holbach (dholbach) wrote :

Thanks for your bug report. I could imagine "Microsoft Window ..." being the title of the document. Can you attach such a document?

Changed in evince:
assignee: nobody → desktop-bugs
importance: Undecided → Medium
status: Unconfirmed → Needs Info
Revision history for this message
etteyafed (gdefayette) wrote :

I believe I have found the document in question at <a href="http://www.cs.arizona.edu/classes/cs127a/spring07/HW/hw8-ElevatorBonanza.pdf">this address</a>. I have seen this before actually, and never really thought much of it. Maybe something to do with an odd PDF format? Will check bugzilla tomorrow for a dupe and forward it upstream if there isn't one unless I am directed to do otherwise before then. I will get any changes to this report via email.

Revision history for this message
etteyafed (gdefayette) wrote :

I am currently checking whether this effects the current development version of evince or if its just the 6.10(0.5.2) and 7.04(0.8.0)versions. Unfortunately I am currently working with a P2 350Mhz w/224MB ram (my main comp died) so compiles take forever. I will be more productive when I get my new laptop, promise ;)

Revision history for this message
Slogger (slogger) wrote :

Like I said, I don't think it's big deal, but a surprising number of pdf documents do something similar. As an example:

http://www.amd.com/us-en/assets/content_type/DownloadableAssets/AMD_ATI_Fact_Sheet.pdf

http://www.ubuntulive.com/ubuntu/prospectus.pdf

I think maybe they don't have an internal field for document name or title filled out so it gets replaced with the originating file or something?

Revision history for this message
Slogger (slogger) wrote :

My version of Evince is now showing the whole title instead of having "..." appended to it everywhere except on the window list.

Revision history for this message
etteyafed (gdefayette) wrote :

After examining the evince source code and generating a few test pdf files I don't think that this is a bug in evince at all. The program just reports the internal document title given to it by the pdf file itself. Documents generated by document converters or from software not designed to properly generate pdf files may incorrectly set the original file name as the pdf document title or somthing. Note that the internal document title is not necessarily the same as the filename. It is up to the person that creates the file or the file conversion software to set the correct document title and not up to the evince developers to figure out what they mean.

Revision history for this message
etteyafed (gdefayette) wrote :

Ill give the specifics,
this code in evince (ev-window-title.c) sets the window title we see:
new_title = g_strdup_printf ("%s (%s)", *title, filename)
as you can see the format is "internal doc title (real filename)"

Revision history for this message
Sebastien Bacher (seb128) wrote :

not a bug then

Changed in evince:
importance: Medium → Low
status: Needs Info → Rejected
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.