After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 164755 - no thumbnails for postscript documents
no thumbnails for postscript documents
Status: RESOLVED FIXED
Product: evince
Classification: Core
Component: PS
git master
Other Linux
: Low enhancement
: ---
Assigned To: Evince Maintainers
Evince Maintainers
: 321080 326439 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-01-20 21:40 UTC by Vincent Noel
Modified: 2007-02-13 15:35 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Vincent Noel 2005-01-20 21:40:23 UTC
Thumbnails do not appear for postscript documents.
Try for example
http://www.cwi.nl/~paulv/papers/mathint97.ps
Comment 1 Marco Pesenti Gritti 2005-01-21 09:40:50 UTC
Marking low because ghostscript is probably too slow for this sort of things.
Comment 2 Martin Kretzschmar 2005-01-21 09:44:23 UTC
OTOH, according to http://lwn.net/Articles/113094/ kghostview has thumbnails.
Comment 3 Vincent Noel 2005-01-21 14:29:08 UTC
If there's no practical way of showing bookmarks, the sidebar should perhaps be
hidden for postscript files, and the option to show it disabled (this would also
make sense for other non-thumbnailable formats, like most image formats, etc).

If this is impossible for usability reasons (the user would not understand why
the sidebar appears in some cases and doesn't in others) maybe setting the
sidebar in a disabled, un-clickable state ?
Comment 4 Bryan W Clark 2005-01-27 19:10:04 UTC
Hiding it would be confusing for the person.  Leaving it there but disabled is
probably the best option in terms of the "action of least surprise" usability
rule.  Bug 164811 talks about the index being disabled or hidden when there is
not index available. 

I'm thinking we should just go with insensitive/disabled in the view when those
elements are not available.
Comment 5 Vincent Noel 2005-01-27 19:19:35 UTC
I'm note totally convinced hiding the sidebar would be confusing.

Given the way evince works (no preferences, keep the interface to a minimum,
etc) people should not even be aware that they use evince, they should just
think of it as viewing a document. In that way, it seems reasonable to base the
application features on what is available in the document, instead of trying to
impose features (ie thumbnails) on a document that do not support them.

Because they don't know it's the same app that opens a PDF (with thumbnails) and
a postscript (without thumbnails), they should not be surprised by the absence
of the sidebar when there's no need for one. However, as they don't know it's
the same app, they will be surprised to find a useless sidebar when opening a
document with no need for one.

I'm not sure I'm really clear here :-)
Comment 6 Bryan W Clark 2005-02-07 23:29:52 UTC
Ok, I think the confusing part here is that we also are thinking about this
notion of remembering application/document settings WRT the sidebar and other
elements.  Like in bug 163570 and bug 164772

This is about deciding if we want evince to remember settings on some level
(application or document based) or if we want to to auto-determine settings each
time.  But we probably can't have all of these settings systems working at the
same time or else we run into confusing situations.
Comment 7 Marco Pesenti Gritti 2005-02-17 13:45:20 UTC
I'm a bit confused about this. Can it be considered a dup of bug 164811 ? (Just
for a different sidebar item). Is the behavior described there what we want?
Comment 8 Dave Malcolm 2005-02-23 18:51:57 UTC
How about showing page numbers, showing a fragment of text?  (e.g. the middle
words on a page)  Or sniffing the titles based on font information?  Or running
OTS on the page's textual content?
Comment 9 Bryan W Clark 2005-03-11 08:16:26 UTC
Oh, I think I was getting confused on the fact that postscript documents don't
ever offer an index at all so if there are no thumbnails then there is nothing
for us to show.  This makes sense to do.  

jrb had shown using the Index space to just show page numbers, but I'm dubious
of the usefulness of that element.  The person already knows the number pages
available from the toolbar as well as what page they are on.  Displaying just
page numbers one by one in a list doesn't sound all that helpful.  Maybe it is...

So I'd say this is a dup of bug 164811 from the opposite angle, not sure if you
wan to mark it as a dup or treat it differently.
Comment 10 Marco Pesenti Gritti 2005-04-08 11:16:40 UTC
We should give this a try now that we have threads. To have acceptable perf we
should avoid to restart gs every time we render to a pixmap of different size.
Comment 11 Nickolay V. Shmyrev 2005-12-29 17:21:07 UTC
*** Bug 321080 has been marked as a duplicate of this bug. ***
Comment 12 Nickolay V. Shmyrev 2006-01-10 16:02:12 UTC
*** Bug 326439 has been marked as a duplicate of this bug. ***
Comment 13 Sebastien Bacher 2006-03-18 14:50:53 UTC
Ubuntu bug about that: https://launchpad.net/distros/ubuntu/+source/evince/+bug/35357
Comment 14 Carlos Garcia Campos 2007-02-13 15:35:20 UTC
Fixed, we have now thumbnails for PS documents too.