CudaText: Occasionally single clicks are ignored in text

This is on Linux Light. Basically I have a hotkey Meta+4 to bring Cudatext window to the front: xdotool windowactivate $(xdotool search --name '.*\s-\sCudaText')

and occasionally after this cudatext starts to ignore single clicks - caret doesn’t move, until I click somewhere outside of text area or press some button. Although selection with the mouse works, selection with double click also works, but still no single clicks…

After some fiddling I found that not releasing the Meta key immediately, but holding for a second, removes the problem. And it is the only modifier key that causes this. Weird. huh?

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 17 (11 by maintainers)

Commits related to this issue

Most upvoted comments

i have some ill problems. cannopt do the Cud these days. sorry. need some pause.

@veksha @kvichans @jairomartineza

done. see files in #4816

okay, VSCode also supports windows+click. todo.

I suggest to ignore the Windows key in the Windows+click event. Which would avoid current issue - non-functioning editor when Windows key got “stuck” during window switching. Another argument: present behavior (doing nothing) by definition serves no purpose.