I've encountered this or a similar bug in Ubuntu 18.04 on a Dell XPS 13 with a touchscreen. I observed that the touchpad seemed to be stuck in mouse down mode, but only in KDE apps (specifically, Kate and Quassel). I found this bug report, saw that the bug may be touchscreen-related, and tried touching the touchscreen to see if that would unstick the touchpad -- but this made my cursor disappear completely, and I had to reboot. Next time this happens I will try disabling and re-enabling the touchscreen to confirm whether this fixes the problem (but given that I never use the touchscreen I should probably just disable it permanently).
I've encountered this or a similar bug in Ubuntu 18.04 on a Dell XPS 13 with a touchscreen. I observed that the touchpad seemed to be stuck in mouse down mode, but only in KDE apps (specifically, Kate and Quassel). I found this bug report, saw that the bug may be touchscreen- related, and tried touching the touchscreen to see if that would unstick the touchpad -- but this made my cursor disappear completely, and I had to reboot. Next time this happens I will try disabling and re-enabling the touchscreen to confirm whether this fixes the problem (but given that I never use the touchscreen I should probably just disable it permanently).