-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Export Playlist file naming issue #11327
Comments
This was last touched by #4531, and IIRC it was only on Linux where this simple file dialog was causing trouble... The extension that is finally selected is simply appended to the file name, compared to replacing every So we need to check if the file name ends with |
@ronso0 Thanks a lot for providing a fix on such short notice! Please excuse my ignorance, unfortunately I'm by no means a developer, how to the test the fix you're referring to? Any package I could download and install you can point me to? Thanks! |
Oh, sorry, here are the instructions how test PRs with pre-built binaries provided by Github https://github.com/mixxxdj/mixxx/wiki/Testing#github-pull-requests, and #11332 is the PR with the fix. |
I cannot confirm the issue with Ubuntu Focal and Qt 5.12.8 |
@ronso0 Thanks for pointing me to the instructions! I've followed the instructions up to the "Artifacts", unfortunately for Ubuntu there is only "18.04" and "20.04" listed, it seems "22.04" is missing. Nevertheless I've tried to install the version for "20.04" on my Ubuntu 22.04: but it fails with:
and mixxx doesn't get installed. Looks like it is requiring "older" libraries which 22.04 doesn't provide. Any chance you could provide a |
@daschuer This is not about the extension displayed in the dialog, it's about the extension of the resulting playlist file after selecting a different extension than the default m3u. |
@daschuer I can confirm the behavior in the UI for exporting a playlist file from a Crate that no file extension is added in the UI, but the playlist file created has the correct file extension as selected in the UI. This seems to me a different issue, but nevertheless related to the initial issue. From a usability point of view both "Export Playlist" and "Export Crate" should behave similar, i.e. either display the extension in the UI and export the file with the selected extension only; or don't display the extension in the UI and just add the correct extension to the file when exported (like "Export Crate" is currently doing). |
@webdb22 Yes, this is unfortunate. It's been reported (@daschuer?) that you can to install these packages manually (no replace, just add), at least libprotobuf-lite17. You can try that, but don't bend over since for this specific bug it doesn't matter too much because it can be reproduced by others. |
As I alreayd stated in #11332 since the file dialog seems to be broken (on Linux with both Qt 5.12.8 and 5.15.*), it feels like we're now pretty close to reimplementing I'm not to keen on doing that, but if it finally gets us a clean UX 🤷♂️ |
@ronso0 I've created a new instance with Ubuntu 20.04 (Focal Fossa) and installed Mixxx from PR #11332 Good news, the behaviour is now as expected, when switching the file type, the file extension is changed accordingly, no " Thanks a lot for providing this fix on such short notice! |
Fixed in #11332 |
Bug Description
When exporting a playlist using "Export Playlist", the dialogue comes up with the playlist name, e.g "MyPlaylist" and the "m3u" extension, e.g. "
MyPlalist.m3u
" as a default, which is useful and fine.If you switch the file format using the combo box (M3U, M3U8, PLS,...), the exported file is in the correct (selected) file format, but the file name has still the "m3u" included, e.g. "
MyPlaylist.m3u.pls
".The expected behaviour would be, that if the file format is switched using the combo box, the extension "m3u" should be replaced by the selected file format extension, so the file name should end up being "
MyPlaylist.pls
" (without the "m3u")Version
2.3.4
OS
Ubuntu 22.04
The text was updated successfully, but these errors were encountered: