missing parameter in .desktop-file for Gnome 3

Bug #1603745 reported by groovy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Rapid Photo Downloader
Status tracked in Pyqt
Pyqt
Fix Released
Medium
Damon Lynch

Bug Description

If I put in my SD-card or browse in nautilus to the mount-point, Gnome suggests opening it with rapid-photo-downloader. Clicking that, nothing happens, but I can see in journalctl:

Jul 17 11:59:30 elitebook org.gnome.Nautilus[582]: usage: rapid-photo-downloader [-h] [--version] [--detailed-version] [-v]
Jul 17 11:59:30 elitebook org.gnome.Nautilus[582]: [--debug] [-e] [--photo-renaming {on,off}]
Jul 17 11:59:30 elitebook org.gnome.Nautilus[582]: [--video-renaming {on,off}] [-a {on,off}]
Jul 17 11:59:30 elitebook org.gnome.Nautilus[582]: [-t {on,off}] [--this-computer-location PATH]
Jul 17 11:59:30 elitebook org.gnome.Nautilus[582]: [--photo-destination PATH]
Jul 17 11:59:30 elitebook org.gnome.Nautilus[582]: [--video-destination PATH] [-b {on,off}]
Jul 17 11:59:30 elitebook org.gnome.Nautilus[582]: [--backup-auto-detect {on,off}]
Jul 17 11:59:30 elitebook org.gnome.Nautilus[582]: [--photo-backup-identifier FOLDER]
Jul 17 11:59:30 elitebook org.gnome.Nautilus[582]: [--video-backup-identifier FOLDER]
Jul 17 11:59:30 elitebook org.gnome.Nautilus[582]: [--photo-backup-location PATH]
Jul 17 11:59:30 elitebook org.gnome.Nautilus[582]: [--video-backup-location PATH]
Jul 17 11:59:30 elitebook org.gnome.Nautilus[582]: [--ignore-other-photo-file-types]
Jul 17 11:59:30 elitebook org.gnome.Nautilus[582]: [--auto-download-startup {on,off}]
Jul 17 11:59:30 elitebook org.gnome.Nautilus[582]: [--auto-download-device-insertion {on,off}]
Jul 17 11:59:30 elitebook org.gnome.Nautilus[582]: [--thumbnail-cache {on,off}]
Jul 17 11:59:30 elitebook org.gnome.Nautilus[582]: [--delete-thumbnail-cache]
Jul 17 11:59:30 elitebook org.gnome.Nautilus[582]: [--forget-remembered-files]
Jul 17 11:59:30 elitebook org.gnome.Nautilus[582]: [--import-old-version-preferences] [--reset]
Jul 17 11:59:30 elitebook org.gnome.Nautilus[582]: [--log-gphoto2]
Jul 17 11:59:30 elitebook org.gnome.Nautilus[582]: rapid-photo-downloader: error: unrecognized arguments: /run/media/groovy/NIKON D90

So Gnome tries to append the path as a parameter to the Exec-directive in rapid-photo-downloader.desktop, which doesn't work (anymore).
I added the parameter "--this-computer-location" to the Exec-directive in the file and that fixed it.

Related branches

Revision history for this message
Damon Lynch (dlynch3) wrote :

Thanks for your bug report.

Given Rapid Photo Downloader distinguishes between automatically detected devices (e.g. memory cards, cameras, external drives) and a single manually specified path (i.e. "This Computer"), using the "This Computer" location to handle this bug leads to conceptual inconsistency when a device is being used.

My solution will be to add a solution where if a path is passed the the command line, the program will determine if it is an automatically detected device or a manually specified path, and then act accordingly. No command line switch will be needed.

Changed in rapid:
status: New → Triaged
importance: Undecided → Medium
assignee: nobody → Damon Lynch (dlynch3)
milestone: none → 0.9.0a5
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.