lnreader icon indicating copy to clipboard operation
lnreader copied to clipboard

App closing when settings> reader page is scrolled to the bottom

Open Kai-Nui opened this issue 2 years ago • 18 comments

https://user-images.githubusercontent.com/96187646/180357635-b4e61ba5-0aeb-4f10-9c1d-a08b19290b38.mp4

App closing when settings> reader page is scrolled to the bottom

I'm trying to code custom css but when I scroll down, the app closes. I'm using latest preview build and went back to latest stable release 1.1.10 but same behavior

Kai-Nui avatar Jul 15 '22 01:07 Kai-Nui

Could you try changing the reader theme in reader bottom sheet and then open reader settings.

rajarsheechatterjee avatar Jul 20 '22 11:07 rajarsheechatterjee

Tried this just now, app still closing when scrolled down to bottom of page

Kai-Nui avatar Jul 20 '22 13:07 Kai-Nui

I'm on MIUI 13.0.2.0 just in case it's device model specific glitch

Kai-Nui avatar Jul 20 '22 13:07 Kai-Nui

It's been reported before but I have never been able to reproduce it.

Could you share the logs of the crash? You can use logcat.

rajarsheechatterjee avatar Jul 22 '22 01:07 rajarsheechatterjee

logcat_07-22-2022_10-29-54.txt Like this? Not sure if I did it properly.

Kai-Nui avatar Jul 22 '22 02:07 Kai-Nui

The logcat with android permission setting granted via ladb is over 25mb, I cant attach it here

Kai-Nui avatar Jul 22 '22 02:07 Kai-Nui

Like this? Not sure if I did it properly.

This doesn't seem to have any info related to the app/crash.

The logcat with android permission setting granted via ladb is over 25mb, I cant attach it here

Not sure how large the logs usually are but you can upload them to a google drive and share the link.

rajarsheechatterjee avatar Jul 22 '22 03:07 rajarsheechatterjee

https://drive.google.com/file/d/12zpLIbisyYs4rYzyxqQi6M1Q7mU8mooa/view?usp=drivesdk

Kai-Nui avatar Jul 22 '22 03:07 Kai-Nui

https://drive.google.com/file/d/12zpLIbisyYs4rYzyxqQi6M1Q7mU8mooa/view?usp=drivesdk

I didn't find anything about the crash related to the app in the logs but I think I have found the issue. I'll share an apk soon with the fix.

rajarsheechatterjee avatar Jul 22 '22 03:07 rajarsheechatterjee

https://drive.google.com/file/d/12zpLIbisyYs4rYzyxqQi6M1Q7mU8mooa/view?usp=drivesdk

I didn't find anything about the crash related to the app in the logs but I think I have found the issue. I'll share an apk soon with the fix.

Eh, sorry if the logs weren't useful. Maybe I did it wrong. Looking forward to the fix. Thank you so much.

Kai-Nui avatar Jul 22 '22 04:07 Kai-Nui

Could you check if the crash is fixed in this version?

rajarsheechatterjee avatar Jul 22 '22 04:07 rajarsheechatterjee

Could you check if the crash is fixed in this version?

Updated using that version, reboot phone- still crashing

Uploading ScreenRecord-2022-07-22-12-52-13~2.mp4…

Kai-Nui avatar Jul 22 '22 04:07 Kai-Nui

You can either share better crash logs (only record the crash) or backup and try a clean install. The latter should definitely fix the issue but you'll lose your progress and downloads.

rajarsheechatterjee avatar Jul 22 '22 05:07 rajarsheechatterjee

Tips on how to only record crash logs? Sorry I'm a coding dummy. I tried clean reinstall and rebootng phone but still crashing when render html is toggled on and scrolling to bottom

Kai-Nui avatar Jul 22 '22 05:07 Kai-Nui

Tips on how to only record crash logs?

Only record opening the app and going to reader settings.

I tried clean reinstall and rebootng phone but still crashing when render html is toggled on and scrolling to bottom

If clean reinstall isn't fixing it I don't think it's an app issue. Could be something device specific.

rajarsheechatterjee avatar Jul 22 '22 09:07 rajarsheechatterjee

I used the filter to include only lnreader. Hope this captured the crash. logcat_07-22-2022_17-32-25.txt

Kai-Nui avatar Jul 22 '22 09:07 Kai-Nui

If clean reinstall isn't fixing it I don't think it's an app issue. Could be something device specific.

I also have a feeling it's MIUI. Lately having issues with other apps too after updating to MIUI 13.

Kai-Nui avatar Jul 22 '22 09:07 Kai-Nui

I have more details on this

This only occurs if renderhtml is enabled, the app won't crash if u disable first

Edit: using s20 fe if that's important

CaptPlasma avatar Jul 27 '22 18:07 CaptPlasma