LNReader / lnreader

Light novel reader for Android.
https://lnreader.github.io
MIT License
1.69k stars 182 forks source link

book filter buttons and chapter sort buttons not working #1192

Open Farori opened 1 month ago

Farori commented 1 month ago

Steps to reproduce

click on the book filter buttons OR the chapter sort buttons

Expected behavior

a window will open with a choice of filters or a choice of sorting

Actual behavior

nothing happens. (window does not open)

LNReader version

v2.0.0-beta.2

Android version

Android 13

Device

moto 20 pro

Other details

I tried version 1.1.19 on the same device, the buttons worked. on versions 2.0.0, only the animation of the click itself(hover) without opening windows. v2.0.0 in virtual android 13 does not repeat the problem. for testing in android studio requires a version with debuggable options enabled(build.gradle)

Acknowledgements

Farori commented 1 month ago

I found the cause of the problem: animation is disabled in my system. Steps to reproduce: Developer options: "Window animation scale: Animation off", "Translation animation scale: Animation off", "Animator duration scale: Animation off". if you set at least "animation scale .5x" then there are no problems.

p.s. the problem also occurs in other actions besides the one mentioned in the first message. for example, in some cases chapters are not downloaded.

p.s. https://github.com/facebook/react-native/issues/6278 https://medium.com/iontea/react-native-bug-discovered-ce6695cda1ff https://stackoverflow.com/questions/47278781/react-native-animation-not-working-properly-on-android