Does this also affect Artful? Looks like Zesty is also affected. ** Also affects: evince (Ubuntu Xenial) Importance: Undecided Status: New
** Also affects: evince (Ubuntu Zesty) Importance: Undecided Status: New ** Changed in: evince (Ubuntu Xenial) Importance: Undecided => Medium ** Changed in: evince (Ubuntu Zesty) Importance: Undecided => Medium ** Changed in: evince (Ubuntu) Importance: Low => Medium -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to evince in Ubuntu. https://bugs.launchpad.net/bugs/1716357 Title: a typo in evince-previewer.desktop breaks /etc/mailcap Status in evince package in Ubuntu: Fix Committed Status in evince source package in Xenial: New Status in evince source package in Zesty: New Bug description: * Impact there is an extra ";" in the mimetype list leading to a buggy mailcap entry * Test case: check if /etc/mailcap contains a line "; evince-previewer %s; test=test -n "$DISPLAY"" * regression potentiel check that evince is correcly used when trying to open file associated to it ----------------- Release version: Ubuntu 16.04.3 LTS Package version: 3.18.2-1ubuntu4.1 /usr/share/applications/evince-previewer.desktop comes from the evince package. It has an empty entry in mime types between application/x -ext-cb7 and application/oxps. ===8<=== ... MimeType=application/pdf;application/x-bzpdf;application/x-gzpdf;application/x-xzpdf;application/x-ext-pdf;application/postscript;application/x-bzpostscript;application/x-gzpostscript;image/x-eps;image/x-bzeps;image/x-gzeps;application/x-ext-ps;application/x-ext-eps;application/x-dvi;application/x-bzdvi;application/x-gzdvi;application/x-ext-dvi;image/vnd.djvu;application/x-ext-djv;application/x-ext-djvu;image/tiff;application/x-cbr;application/x-cbz;application/x-cb7;application/x-ext-cbr;application/x-ext-cbz;application/x-ext-cb7;;application/oxps;application/vnd.ms-xpsdocument; ... ===>8=== This entry gets included in /etc/mailcap via update-mime trigger from the package mime-support and the result is a broken line: ===8<=== ... application/x-ext-cb7; evince-previewer %s; test=test -n "$DISPLAY" ; evince-previewer %s; test=test -n "$DISPLAY" application/oxps; evince-previewer %s; test=test -n "$DISPLAY" ... ===>8=== Some programs that use /etc/mailcap get confused by the broken line so it would be nice if the typo it originates from was fixed. The expected result in /etc/mailcap from running update-mime: ===8<=== ... application/x-ext-cb7; evince-previewer %s; test=test -n "$DISPLAY" application/oxps; evince-previewer %s; test=test -n "$DISPLAY" ... ===>8=== To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/evince/+bug/1716357/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp