fossasia / susi_android

SUSI.AI Android App https://play.google.com/apps/testing/ai.susi
Apache License 2.0
2.42k stars 1.11k forks source link

App crashes on taking screenshot #2420

Closed tronku closed 4 years ago

tronku commented 4 years ago

Describe the bug

On the ChatActivity screen, when I use 3-finger gesture to take screenshot, the app crashes.

Expected Behaviour

App shouldn't have crashed.

Steps to reproduce it

  1. Go to ChatActivity
  2. Use any gesture like fling.
  3. App crashes after one or two times.

LogCat for the issue Screenshot (100)

Screenshots of the issue ezgif-2-b1df41ba33f8

Smartphone Info:

Device Mi Note 5
Android Version Oreo 8.1

Would you like to work on the issue? Yes

pallav12 commented 4 years ago

Apparently not an issue in Oppo A3s, Android Version oreo 8.1

tronku commented 4 years ago

@pallav12 are you using hand gestures to take a screenshot?

pallav12 commented 4 years ago

My bad, sometimes it does crash, but most of the times it doesn't. And its hard to find pattern, but if you clear app from background then it'll never crash.

tronku commented 4 years ago

I have found the issue through the logcat. I can fix it but no maintainer is active I guess.

atm1504 commented 4 years ago

@tronku if u can solve it, please do it

tronku commented 4 years ago

Please review the pull request.