• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Setlist Editor: Filtering by Duration issues
#1
While being in the Setlist Editor:
When I filter by Duration, nothing is filtered in the left column.
When I filter by Duration= 0:00, the right column is completely empty.
Other Duration values are filtered correctly in the right column.
see screenshots

Other filters work as expected, also in Setlist Editor.

In other views filtering seems to work fine, not only by Duration.


Attached Files Thumbnail(s)
       
first language: German
Acer A1-830, Android 4.4.2 - HP x2 210 G2 Detachable, Win 10 22H2 - Huawei Media Pad T5, Android 8.0 - Boox Tab Ultra C, Android 11
www.moonlightcrisis.de - www.basdjo.de - www.frankenbaend.de


Reply
#2
Update:
The right column is empty when I enter 0:00 into the search field, even with "All Fields" set. This is the reported bug: 0:00 is definitely there, in many Duration fields.
When I change "All Fields" to "Duration" the right column stays empty.
When I choose "Duration" first and enter 0:00 afterwards, the right column is filtered correctly and shows only songs with Duration 0:00
first language: German
Acer A1-830, Android 4.4.2 - HP x2 210 G2 Detachable, Win 10 22H2 - Huawei Media Pad T5, Android 8.0 - Boox Tab Ultra C, Android 11
www.moonlightcrisis.de - www.basdjo.de - www.frankenbaend.de


Reply
#3
The left column is never filtered by the filter settings in the setlist editor. It's not designed to be. The filters are to help you locate songs to add to the setlist, not to filter what is currently being shown in the setlist in the left side. That would cause all sorts of issues if I filtered the left list (think about what it would do to the reordering logic if someone tried to move a song, or if they drag & drop a song into the filtered list, should it go after the previous or before the next?). 

As far as the duration bug, I only filter on duration if you explicitly pick duration as the search field. Otherwise duration is not processed because it is more intensive than other filter checks because every numeric duration value in the state table has to be converted to a string to do the comparison and I didn't want to slow down the speed of the filtering (especially with libraries with a huge number of songs in them). I also feel that it could cause unintended matches if I include duration as part of the check for "All Fields" as a user might want to filter on a number shown in the title, custom or song ID field, and instead the duration would show up as a match. So it appears that the bug is really that filtering is not applied when you switch the search dropdown. Once I fix that, everything should work as expected.

Thanks,
Mike
Reply
#4
That sounds reasonable. Thank you.
first language: German
Acer A1-830, Android 4.4.2 - HP x2 210 G2 Detachable, Win 10 22H2 - Huawei Media Pad T5, Android 8.0 - Boox Tab Ultra C, Android 11
www.moonlightcrisis.de - www.basdjo.de - www.frankenbaend.de


Reply




Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2024 MyBB Group.