Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Hang/freeze on lookup of certain kanji from Reader Popup #775
Aedict 3.39.39, dark theme, on Android 6.0.1.
Steps to reproduce:
Enable "Watch Clipboard" feature in Aedict Reader.
Copy the kanji 慇 or 懃 to the clipboard, causing the Aedict Reader Popup to appear with an explanation of the kanji as expected.
Tap the popup to reveal its tabs/buttons.
Tap the top left tab/button (Aedict あ icon) for "Show words in Aedict".
Observed behavior: Phone screen says "Aedict Search" and nothing else. Phone hangs / becomes sluggish.
Good catch, thanks! I wonder what is causing this behaviour. It seems that fetching the example sentences takes a long time; and Aedict blocks until those are fetched. Unfortunately, one can't just simply do profiling on such a retarded development platform which Android is beyond doubt; one just have to add more logging until the performance bottleneck becomes apparent.