ultranity / Pix-EzViewer

一个支持免代理直连+多种额外特性功能优化的第三方 Pixiv android 客户端 | A third-party Pixiv Android client with modern design and many other enhancements
https://ultranity.github.io/Pix-EzViewer/
MIT License
742 stars 32 forks source link

crash on too long string in clipboard #85

Open miezebieze opened 3 months ago

miezebieze commented 3 months ago

After opening the app, a dialog opens with the content of the clipboard. When the clipboard is too long the app crashes right away. A small text pops up and disappears throwing characters i cannot recognize and complainingabout : "setspan (5562 ... 5562) ends beyond length 5000."

Instead of crashing the app should automatically disregard the string (as if one clicked "NOT THIS ONE").

Screenshot_2024-07-11-08-25-21-965_com perol asdpl play pixivez libre

I run the app on Android 14 with Xiaomi HyperOS 1.0.3.0.UMOEUXM.