Bug#733492: evince-previewer: Should not register as the default viewer for PDFs or other documents
Josh Triplett
josh at joshtriplett.org
Thu May 26 19:12:43 UTC 2016
Package: evince
Version: 3.20.0-3
File: /usr/share/applications/evince-previewer.desktop
On Thu, 26 May 2016 00:41:33 -0500 Jason Crain <jason at inspiresomeone.us> wrote:
> On Sun, Dec 29, 2013 at 12:21:34PM +0100, Michal Suchanek wrote:
> > evince-previewer is the program registered for opening PDF documents.
> >
> > While evince ha s a search option it is not available in the previewer.
> >
> > Please fix the previewer or register the working PDF viewer.
>
> evince-previewer is not meant to be a full-featured document viewer.
> It's mainly for looking at print previews. Plain 'evince' will work
> better and is the default in gnome.
Then evince-previewer should not register itself as the default viewer
for various file types, including PDFs. By default, opening a PDF from
mutt or another program that respects the mailcap database (as updated
by update-mime) will open that PDF in evince-previewer, rather than
evince. If evince-previewer only exists to handle print previews (which
seems consistent with its window title of "Print Preview"), then it
should not register itself as a handler for the MIME types that evince
does.
/usr/share/applications/evince-previewer.desktop and
/usr/share/applications/evince.desktop both contain an identical
MimeType line. I don't see anything in either file that sets a
priority, so I don't see any way that an application (or update-mime)
could know to prefer one over the other.
- Josh Triplett
More information about the pkg-gnome-maintainers
mailing list