Boorusama
Boorusama copied to clipboard
Horizontal orientation can crash the app or OS
Hello, probably an obvious bug, but I can’t figure out how to reproduce it correctly.
Basically, when I have a long session of searching, viewing/loading images, etc., and then suddenly rotate my phone horizontally while on the screen with the ListView (the list of image previews after a search query), the app changes the grid size and tries to preload a lot of images. At that point, the app’s performance becomes unstable. It starts by crashing the app itself and ends with freezing my entire Android system for about 20 seconds, after which a “System is not responding” message appears. You can probably repeat it if you try changing the orientation very quickly.
It happens not frequently but sometimes shit happens. I know my phone has not so much RAM or good CPU, so it's not a big deal, I can live with that, but any improvements would be appreciated.
Personally, I would suggest to add horizontal rotation only to the Image Viewer or lock the orientation globally in settings.
Smartphone:
- Device: Samsung A71
- OS: Android 13
My grid settings:
Try the latest version from the store (4.2.2) and let me know if it helps.
Sry for the late reply, I haven't checked github recently. About the problem, I've noticed that performance definetely improved, so this issue became less relatable.
Before I close it, I'd suggest checking inheritance of the search tabs. It seems that the more pages (fragments) you open, the more resources the app starts using. It would be cool to have feature like "performance" mode, where everything is loading from scratch, there are no "back" options, only one View that load everything without cache or smth (just my speculations). I'm not sure I need to create separate issue for that, though.
Yeah, maybe a mode where there is a single global search page would be good, like tapping on tags from anywhere will modify this page instead of pushing a new search page every time.