#986861 pragha: No way of sorting album by track number

Package:
pragha
Source:
pragha
Description:
Lightweight Music Player
Submitter:
Pelle
Date:
2021-04-18 21:24:03 UTC
Severity:
normal
#986861#5
Date:
2021-04-12 22:12:40 UTC
From:
To:
Dear Maintainer,

It appears there is no way to sort an album (or several albums in a playlist)
by track order. The available column headers for sorting are 'Title', 'Artist',
'Album' and 'Length'. When clicking on 'Album' to sort the tracks into albums,
the track order within those albums will be either alphabetical by title or by
length, depending on what sort mode was previously selected. I expected it
would be possible to sort the playlist by track order within their respective
albums so they could be played in the order the appear on the album(s).

#986861#10
Date:
2021-04-12 22:37:27 UTC
From:
To:
Hello, Pelle,

These are the default columns, indeed.

Right.

To bring more columns into view, you can right click on any column
header, which will pop the list of available columns up, then select
the 'Track' item. Afterwards you will be able to sort by track, then
sort by album; then the songs within the album will also be sorted by
track number.

Let me know if that doens't work for you.

Cheers,
Gabriel

#986861#15
Date:
2021-04-14 13:32:34 UTC
From:
To:
Hi, Pelle,

I'm not sure, yet. I need to test it in Sway (and in Weston for that
matter), before I can come to any conclusions. I'll test once I learn
how to use Sway. :)

For now, I think we should keep this bug open and assigned to Pragha.

Cheers,
Gabriel

#986861#20
Date:
2021-04-16 22:43:16 UTC
From:
To:
Hello again, Pelle,

I just tested it under sway and the column selection pop up showed up
normally. Perhaps I'm using Sway the wrong way?

I simply installed it with apt install sway; logged in from lightdm,
learned how to open a terminal, and launched pragha from it. Then, when
I right click on the headers row, the column list pops up and the
following message is written to the controlling terminal:

  Gdk-Message: 19:35:07.947: Window 0x55e815cb2070 is a temporary window without parent, application will not be able to position it on screen.

  (pragha:210292): Gdk-CRITICAL **: 19:35:07.949: gdk_wayland_window_handle_configure_popup: assertion 'impl->transient_for' failed


Do you get any similar messages?
Perhaps your messages are different and might help us deciding whether
the bug is in pragha or in sway.

Cheers,
Gabriel

#986861#25
Date:
2021-04-18 21:20:46 UTC
From:
To:
I added a new user to the system. When starting Sway and Pragha with the
default settings, the columns selection pop up does indeed show up. It
must then be a configuration issue, perhaps some GTK settings rather
than an issue with Pragha. I'm have no idea which setting, but it's
strange that it appears to only be affecting Pragha.