Don't spawn multiple instances from the .desktop file

Bug #704221 reported by Emilio Pozuelo Monfort
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Decibel Audio Player
Fix Released
Low
Anonym25712

Bug Description

Hi François,

I've got this bug report in Debian:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=610102

"When I select multiple audio files in Thunar and click "Play
with Decibel", multiple instances are spawn. This is due to a lacking
argument in the Exec entry in the desktop file. In fact, the Freedesktop
specifications
(http://standards.freedesktop.org/desktop-entry-spec/latest/ar01s06.html) mentions
that with %f, the system should assume that the application can't manage
multiple files on its command line, and should run multiple instances,
whereas with %F, all files can be pushed to the same single instance.
In the provided desktop file, no argument is set, and I'm guessing
that's the reason why Thunar launch multiple players. Could you please
modify the Exec entry so that it has a trailing "%F"?"

I've reproduced the problem selecting multiple sogs in nautilus and opening them. Multiple instances of decibel open if I do that. I've tested adding the %F to the Exec file and it solves the problem (note that you need to run update-desktop-database as root if you modify the desktop file by hand).

Revision history for this message
Emilio Pozuelo Monfort (pochu) wrote :
Revision history for this message
Anonym25712 (anonym25712) wrote :

Fixed on trunk.

Changed in decibel-audio-player:
assignee: nobody → François Ingelrest (athropos)
importance: Undecided → Low
status: New → Fix Committed
Revision history for this message
Anonym25712 (anonym25712) wrote :

See v1.07

Changed in decibel-audio-player:
status: Fix Committed → Fix Released
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.