-
-
Notifications
You must be signed in to change notification settings - Fork 159
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
Selecting all songs in my collection and right clicking freezes strawberry #392
Comments
There isn't an easy fix for this with the current model implementation as far as I can think of. |
Hmmmmm, then would it be possible for a right-click to do lazy loading in 'blocks' and if the user clicks outside (which would normally cause the right-click menu to disappear), it would cancel additional loading of blocks? The cursor could be set to a busy cursor to indicate that loading is occurring at that time. |
The loading needs to be done in a different thread to solve it, so it needs to be moved to the backend or use a current thread, otherwise it won't work showing a loading indicator or respond to clicks, because the song loading blocks everything until it's finished. |
This is probably the lowest priority of issues you're dealing with right now. In fact, we can ignore it for now. If I'm the only one who's mentioned it for many years of clementine/strawberry development, it's not important enough. I can always try my hand at it if it bothers me enough, so I'll close the ticket. Thanks for the information and context. |
I did some testing removing all the lazy loading stuff and changing to loading all songs in the model at startup. |
Describe the bug
Strawberry freezes when using the context menu on thousands of selected items in the collections sidebar
To Reproduce
Expected behavior
The context menu to pop up. It seems to be doing a lot of processing which I think is unneeded.
In my mind, if multiple items are selected, strawberry should understand that we are selecting multiples and have a right click menu specific for multiple item selection appear immediately, so we can click out of it and cancel the operation easily. If we select an item, then we should go full bore with the processing of thousands of artists/albums/songs. Perhaps a box to show loading and a cancel button that can be clicked because otherwise I have to close out strawberry forcefully.
Screenshots:
System Information:
The text was updated successfully, but these errors were encountered: