gtoolkit icon indicating copy to clipboard operation
gtoolkit copied to clipboard

Editor stops letting me delete characters

Open edenworky opened this issue 2 years ago • 4 comments

The editor, after enough usage, enters a sort of lock state which is easier to describe than its triggers or escape hatches, so I'll start with that. In this state characters may be freely typed in, the editor responds to mouse clicks by e.g. switching windows, moving the cursor, etc. However, no characters may be deleted. Sometimes arrow keys are nonresponsive. You can mark text with the mouse but pressing backspace and delete does nothing, though you may type something new over it. Needless to say this renders it pretty difficult to work with.

Everything would work normally and then this starts happening, sometimes after a bracket is opened but focus is switched before it's closed, or sometimes it starts happening after an autosuggestion intellij-style popup thing shows up and I don't select an option.

Sometimes this goes back to normal after typing e.g. a closing bracket, sometimes by switching to a different window in gtoolkit, sometimes by gtoolkit losing focus for long enough, sometimes by saving (though it's easy to reach undesirable and unsavable states before this happens); and none of these work consistently. The only thing that consistently resolves this is shutting down gtoolkit and relaunching it.

edenworky avatar Sep 10 '23 18:09 edenworky

What operating system are you on?

girba avatar Sep 10 '23 18:09 girba

Pop_OS!, usually equivalent to Ubuntu for these purposes. All recent versions.

edenworky avatar Sep 10 '23 18:09 edenworky

Usually :)).

The keyboard getting stuck seems to be related to some modifier key appearing as being pressed. So, GT might believe that you press something like Ctrl+Backspace instead of Backspace.

When the keys get stuck, please try:

  • going to Monitor,
  • select the Events view,
  • press Start,
  • then press Ctrl,
  • then press Shift,
  • and then attach here the screenshot of the window here

2023-09-10_20-43-22_BlElement-823836672 2023-09-10_20-45-38_BlElement-823836672

girba avatar Sep 10 '23 18:09 girba

Hi! @girba That just happened to me, here's a screenshot of Monitor: image

When that happens alt-tabbing away from Glamorous Toolkit seems to fix it.

Hope it helps!

joao-pedro-braz avatar Mar 06 '24 12:03 joao-pedro-braz