hass-music-assistant
hass-music-assistant copied to clipboard
<CNTL>-A action menu not visible in some cases and sometimes only grabs the first 100 entries
What version of Music Assistant has the issue?
2022.8.1
The problem
In the "Artist" area, if you press <CNTL>-A the action menu is brought up to allow you to perform an action on all entries. {For example to add ALL your artists to the library.} If you have more than 100 entries, (I have ~430 currently) if you don't scroll to the bottom of your artists first your actions will only be performed on the first 100 entries.
pressing <CNTL>-A here causes this...
However scrolling down to the very bottom of your entries (433) in my case, then pressing CNTL>-A will pop up the option to open the action menu. But if you press "actions" here you cannot do anything. The action menu doesn't open, nor can you scroll back to the top of the entries list. Basically locked with the only possibility to back out of artists.
To make this work as expected you must:
- Go to the Artist list.
- Scroll down to the bottom of the list. (Note that you may need to scroll a little up and back down as you get to entry 100 to make it go further than 100).
- After successfully scrolling all the way down to your last entry, scroll back to the very top of the list.
- Now press <CNTL>-A. The Action menu will pop up as expected, and your will be able to perform your desired action.
How to reproduce
As above
Relevant log output
No response
Additional information
No response
What version of Home Assistant Core are your running
2022.8.1
What type of installation are you running?
Home Assistant OS
On what type of hardware are you running?
Generic x86-64 (e.g. Intel NUC)
I am guessing this is the result of the “lazy loading” that MA does to speed up the UI. Will see if Marcel can come up with a solution…
Yeah correct, it's the server side paging now messing with the "CTRL-A" select all... I'll see if I can come up with an elegant solution for this...
Although that delay or little up-down motion is an issue, the bigger one is when you do scroll to the end, then do the <CNTL>-A and click "Actions", it doesn't display the menu and locks up the screen. Perhaps when "Actions" is clicked, you can automatically make the list jump back to the top before displaying the action menu?
fj
On 8/7/2022 5:52 PM, Marcel van der Veldt wrote:
Yeah correct, it's the server side paging now messing with the "CTRL-A" select all... I'll see if I can come up with an elegant solution for this...
— Reply to this email directly, view it on GitHub https://github.com/music-assistant/hass-music-assistant/issues/821#issuecomment-1207491832, or unsubscribe https://github.com/notifications/unsubscribe-auth/AS5E4DX7ODM544NB7CIJUC3VYAVZLANCNFSM552V4ZKQ. You are receiving this because you authored the thread.Message ID: @.***>
when you do scroll to the end, then do the <CNTL>-A and click "Actions", it doesn't display the menu and locks up the screen.
Just tried this on b31 and it works fine from the bottom of the list. Still only grabbing 100 entries from the top though.
fixed in next frontend version (most likely beta60)