Multiple Exaile instances run instead of one while using "Open With"

Bug #215001 reported by sleggy_allen
2
Affects Status Importance Assigned to Milestone
Exaile
Fix Released
Medium
Unassigned

Bug Description

i noticed that when i selected like 5 mp3 files and right click on it and selected "open with" exaile...it will actually open 5 exaile windows and play simultaneously...i hope they can have a fix for this one...i have a screenshot but i just reduced it to 2 windows....

Revision history for this message
sleggy_allen (sleggy-allen-hotmail) wrote :
Revision history for this message
Johannes Sasongko (sjohannes) wrote : Re: [Bug 215001] Re: "Open With"

What happens if you open a terminal, run "exaile", wait until it loads
up, open another terminal, and run "exaile" again?

Revision history for this message
sleggy_allen (sleggy-allen-hotmail) wrote :

i opened exaile in terminal...it opened it and i listened to one song and let it play...i opened a 2nd terminal and typed exaile...it says in terminal: "you have entered an invalid option"....the exaile window disappeared on my screen...but the song continues to play....and when i typed exaile again...still gives me "you have entered an invalid option" and exaile window reappeared on my screen...when i typed exaile again it usually loops back to the same result the window keeps on appearing and disappearing..

Revision history for this message
krishna (krishnakumar-eml) wrote :

when attempting to import a .m3u file the player simply crashed...

Revision history for this message
Masca (salinasv) wrote :

I guess this got fixed witht the changes in how exaile manages uri.
Can you confirm this in 0.3 ?

Revision history for this message
Johannes Sasongko (sjohannes) wrote :

There are 2 things that may cause this bug:

1. We didn't specify in exaile.desktop that we support multiple files in the command line (which we should support, otherwise it's a bug). The result is the same as the next problem.

2. The "Open With" feature of the file manager runs exaile N times no matter what we specify in the .desktop file. This causes a race condition while exaile is starting and trying to grab the D-Bus name.

If it's #1, the fix is IIRC a simple change from %u to %U, which I think is implemented in 0.3. If it's #2, we can probably move the D-Bus name-grabbing earlier; I'm not sure how it's done right now.

Changed in exaile:
assignee: nobody → Johannes Sasongko (sjohannes)
importance: Undecided → Medium
milestone: none → 0.3.0
status: New → Triaged
Revision history for this message
Steve Dodier-Lazaro (sidi) wrote :

The desktop file and command line arguments seem to be able to queue multiple files without problem.

Changed in exaile:
status: Triaged → Fix Committed
Changed in exaile:
assignee: Johannes Sasongko (sjohannes) → nobody
reacocard (reacocard)
Changed in exaile:
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.