! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
[thunar] Thunar 1.6.0 and "NoDisplay=true" in file-context menus.
Status:
RESOLVED: DUPLICATE

Comments

Description René Herman 2012-12-05 16:49:59 CET
Good day.

I just now opened an arch-linux bug, saying that the new Thunar 1.6.0 "broke" my PDF viewing:

https://bugs.archlinux.org/task/32974

As this says, I'm not really sure where this issue belongs but it seems that the Thunar people will be the ones able to answer whether or not the change in behaviour is intentional at least. Cut and paste from the above link: 

===
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)
===

Many thanks in advance for the attention.

Regards,
Rene
Comment 1 Nick Schermer editbugs 2012-12-05 18:30:53 CET
You are right, I didn't read the spec properly. Marking as a dup to keep this and the original bug together.

*** This bug has been marked as a duplicate of bug 9169 ***
Comment 2 Nick Schermer editbugs 2012-12-05 18:34:40 CET
Fix pushed in 6b5c1c9.
Comment 3 René Herman 2012-12-05 20:39:34 CET
Thanks much for the exceedingly fast reply and resolution -- which has as of now even been backported to arch already. All bug-reporting should be like this... :-)

Bug #9595

Reported by:
René Herman
Reported on: 2012-12-05
Last modified on: 2012-12-05

People

Assignee:
Jannis Pohlmann
CC List:
2 users

Version

Attachments

Additional information