komikku-app / komikku

Free and open source manga reader for Android
Apache License 2.0
687 stars 18 forks source link

Wrong invert selection #541

Open JoeloJoestar opened 2 weeks ago

JoeloJoestar commented 2 weeks ago

Steps to reproduce

  1. Browse any source
  2. Multi select few entries
  3. Tap on Invert selection

Expected behavior

All of the other entries are selected, except the previous ones

Actual behavior

Some of them are correctly deselected, others are not

https://github.com/user-attachments/assets/908c431d-086e-4a99-b32c-e03c442f02fd

I can't figure out any cause of this bug, those affected seem to be random, but I noticed it seems to happen only in Browse and not in library

Crash logs

No response

Komikku version

r9576

Android version

Android 12/13

Device

OnePlus 5T, Lenovo Tab M3+

Other details

No response

Acknowledgements

cuong-tran commented 1 week ago

those entries might appears duplicated on both Latest/Popular, if that is the case, they are unselected then selected again. But your video is on Filter/Search, so it's might be another reason