Playlist export only m3u under ubuntu

Bug #1402841 reported by Dennis Rohner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mixxx
New
Undecided
Unassigned

Bug Description

Under Ubuntu 14.04 Playlist Export function only exports m3u files.

This failure is due to QFileDialog::getSaveFileName only returns filename without extension under Linux.

This bug has been reported here: https://bugreports.qt-project.org/browse/QTBUG-27186

You can hack around this issue by defining a QString selfilter = tr("M3U Playlist (*.m3u)") which returns the appropiate filter (like Readable Text (*.txt)) after dialog is closed.

Afterwards extract the extension out of the string and append it to QString file_location in baseplaylistfeature.cpp in line 393.
Ugly hack tho :\

Revision history for this message
Daniel Schürmann (daschuer) wrote :

For me it works on Ubuntu, if you add the desired extension manually to the file name in the file save dialog.
The Filter is only to display the files, and does not select the export format.
The current behavior it is caused by the limitations of the Qt file dialog.
And can be fixed by writing our own.

Revision history for this message
Daniel Schürmann (daschuer) wrote :

@Dennis: do you have a working solution for the Bug and Qt 4.8?
I do not understand how your hack will work.
Please comment at Bug #1197302.
It would be very nice, if you can fix it for Mixxx 1.12
Thank you very much.

Revision history for this message
Swiftb0y (swiftb0y) wrote :

Mixxx now uses GitHub for bug tracking. This bug has been migrated to:
https://github.com/mixxxdj/mixxx/issues/7733

lock status: Metadata changes locked and limited to project staff
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.