Attempt to select text in chatty leads to state where some touch events are ignored, problem persists until next reboot
I have noticed several times before that the phone gets into a state where the first touch event in each view gets ignored, but until now I have not had any way to reproduce it, it just seemed to happen randomly. Now I found a way to the problem, as follows:
- open Chatty
- go inside a chat that has some previous messages
- drag inside the message text so that some part of the text is selected
- long-press on the selected text for a few seconds (which I was hoping would bring up a menu letting me copy the selected text)
- while still holding the long-press, drag it right a bit (then a shadow image of the selected text appears)
- release the long-press
- now the phone is in a state where the first touch in each view in Chatty gets ignored, so for example when tapping the back button that takes 2 attempts, and selecting another chat in the list takes 2 attempts, and so on.
It is easy to reproduce the problem in this way, I tried it several times and it behaves like this every time.
If someone can suggest ways to debug, like how to log information about touch events to see why some touches get ignored, that would be interesting to try.
Video:
The problem persists after restarting Chatty, it only goes away after reboot.
Filing this issue in "OS-Issues" because I have a feeling the problem is not only in Chatty itself but something more general with how touch events are processed. Please move to Chatty if you think it belongs there.
This is on a Librem 5 running PureOS Byzantium.