FS#32974 - [thunar and/or evince and/or arch] The new thunar 1.6.0 "breaks" PDF viewing with evince.

Attached to Project: Arch Linux
Opened by René Herman (rene) - Wednesday, 05 December 2012, 15:41 GMT
Last edited by Evangelos Foutras (foutrelis) - Wednesday, 05 December 2012, 19:02 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Evangelos Foutras (foutrelis)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Good day.

After auto-upgrading to the newest thunar (1.6.0), PDF viewing broke for me. I use "evince" as my PDF viewer, which thunar would all of a sudden not use anymore (nor add to its list of "recommended applications" in the file-context menu for PDF files).

The issue is caused by the datum "NoDisplay=true" in

/usr/share/applications/evince.desktop

and commenting out that line fixes it -- but I'm not sure if this is to be considered a Thunar, Evince or Arch Linux problem, since I'm not all that sure what the idea is of NoDisplay=true. Up to now it seems to have only been relevant in a global desktop-menu context, but has with the new Thunar apparently become relevant in its file-context as well.

When searching for the issue it I hit upon this:

https://bugs.archlinux.org/task/4775?opened=1214&status[0]=

which says that the "NoDisplay=true" was at least back then intentional for evince.

Given that Thunar did not use to pay attention to NoDisplay in file-context, it could be a simple Thunar problem. If it is however intentional, then I guess it might be evince specifically or Arch Linux globally since "NoDisplay" seems more of a distribution choice then an application's choice. I believe it's ultimately handled by mime-type stuff (through update-desktop-database) which to me muddies up even further where this issue belongs.

Could someone with the oversight transport it to the right channel? (although I guess I'll also open a report on the XFCE bugzilla)
This task depends upon

Closed by  Evangelos Foutras (foutrelis)
Wednesday, 05 December 2012, 19:02 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in thunar 1.6.0-2.
Comment by René Herman (rene) - Wednesday, 05 December 2012, 15:53 GMT
This is the matching Thunar report:

https://bugzilla.xfce.org/show_bug.cgi?id=9595

(note to anyone hitting upon this report: note that you might need to run -- as root -- "update-desktop-database" after commenting out the NoDisplay=true line in the desktop file and/or restart Thunar or all of XFCE before anything changes)
Comment by Greg (dolby) - Wednesday, 05 December 2012, 18:48 GMT Comment by René Herman (rene) - Wednesday, 05 December 2012, 18:54 GMT
@ Greg, #2:

No, that's not the relevant bug-report (also note that it's from 2005). The Thunar developers have been quick to respond at the above linked XFCE bugzilla entry and it's a Thunar bug. The fix is currently finding its way upstream. Let's mark as "upstream" therefore, but let's not close it until it is actually fixed in arch.
Comment by Evangelos Foutras (foutrelis) - Wednesday, 05 December 2012, 18:55 GMT
Thanks for taking the bug upstream. I will backport the fix shortly.
Comment by Greg (dolby) - Wednesday, 05 December 2012, 18:58 GMT
@Rene: As far as evince is consernced *it is* the relevant bug report. See the links in last reply.

Loading...