imgbrd-grabber
imgbrd-grabber copied to clipboard
Adding new Favorites to large Favorites list hangs the Grabber process temporarily
Bug description
With a large favorites list ~4000 entries, adding additional favorites hangs the process temporarily for 6-7 seconds. If the Favorites sidebar is open (View->Favorites) then this extends to 10-15 seconds.
Steps to reproduce
- View->Favorites to bring up sidebar
- Go to Search, add any tag when you have a long Favorites list
- (Not Responding)
Expected behavior
Being able to add/remove favorites without any delays
Context
My current favorites.json is about 520kb and 3900 entries Sorry can't provide it out of shame
Screenshots
System information
- OS: Windows 10
- Grabber version: Nightly b2452be3
- Running from an SSD
Could be fixed by using proper model/views for favorites in the UI as it seems most of the time spent is done by Qt rendering new widgets created when refreshing the favorites lists.
Opening any favorite page causes hanging(Not Responding) and eventually crashing. Even tried this after removing some favorites.
Any other workarounds?