Desktop Entry %f does not work, needs %U

Bug #1600174 reported by Andreas Wehler
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gpicview (Ubuntu)
New
Undecided
Unassigned

Bug Description

Xubuntu 16.04; gpicview 0.2.5; XFCE

From within shutter some image can be launched via right mouse: "Open With".
If gpicview is selected, some image from home directory is presented, instead of
the related image. Other viewers like eog don't show this effect but open the
right file.

Investigation shows, that in /usr/share/applications/gpicview.desktop there
is a line:

  # BAD
  Exec=gpicview %f

If this is replaced by:
  # GOOD
  Exec=gpicview %U

then it works. Seems there has to be some debugging about this issue.
I cannot tell if shutter or gpicview is wrong. But I assume gpicview
to be wrong because other viewers / browsers do it right.

https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html

description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.