Skip to content
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

Audio tracks are imported to GnomeMpv in reversed order #315

Open
hubslave opened this issue Oct 7, 2017 · 4 comments
Open

Audio tracks are imported to GnomeMpv in reversed order #315

hubslave opened this issue Oct 7, 2017 · 4 comments

Comments

@hubslave
Copy link

hubslave commented Oct 7, 2017

Overview Description:

Hello, I have a folder where I have multiple audio tracks named by this pattern:

01 - "Name".mp3
02 - "Name".mp3
03 - "Name".mp3
04 - "Name".mp3
...
11 - "Name".mp3

In GnomeMpv I click on + sign icon, choose Open... I navigate to folder where the tracks are stored, I have the items listed alphabetically by name - seeing the smallest number on the top, ascending to bottom, I select the first audio track (01), and then by holding shift I select the last audio track (11), having all the tracks selected. I click open and the tracks start playing from the last (11) to first (01). When I open playlist they are also sorted this way.

This happens also when I select the last track (11) first and by holding shift selecting the first track (01) last (to select them all). Also the same thing happens when I select the tracks by pressing Ctrl+A

Only way I am able to import them in correct order (sorted from 01 to 11) is to revert the listing of items in "Open Dialog". When I list items by "reverted" name ("reversed alphabetical sorting" :) ) - seeing the biggest number on top, descending to bottom and select the tracks, they import in correct order.

I am not sure if this is expected behaviour.

Also I think that it may be worth checking if this also happens when importing the tracks by double clicking or some other way, since in my version of flatpak I can only import files to GnomeMpv this way, I am not able to test other ways of importing.

Steps to Reproduce:
1.Open GnomeMpv
2. Import multiple audio tracks with some naming pattern
3. See them imported in reversed order

Actual Results:
Reversed order

Expected Results:
"Expected" order

Version:
Master

Additional Information:
EL 7.4, flatpak 0.8.7

@gnome-mpv
Copy link
Collaborator

This only happens when using flatpak, so it's probably a bug in flatpak or xdg-desktop-portal.

@hubslave
Copy link
Author

should I report it on flatpak github or do flatpak developers get notified of this issue when you label it with red flatpak label?

@TingPing
Copy link
Contributor

It might be a discussion for flatpak/xdg-desktop-portal (depends on what portal you use too) but a minimal reproducer would be important to ensure thats where the problem is.

@fabriciojardim
Copy link

This issue is still present on Fedora 33 with flatpak 1.8.3 and Celluloid 0.20.
There is no bug report I could find on flatpak/xdg-desktop-portal so I submitted one, tough I couldn't add any further details like the reproducer mentioned on the previous comment.

flatpak/xdg-desktop-portal#548

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants