Open Norgus opened 5 years ago
OK I discovered it happens when I switch between keyboard layouts (which I do to get '#' to correspond to the actual printed key on my keyboard)
the symptom seems to actually be that the game interprets the CTRL key as remaining depressed (typing 'v' alone pastes text, for example)
Alt-tabbing out and back seems to fix it, so fairly minor issue now I can avoid it.
Do you have a shortcut to change the layout that involves ctrl? That may be the cause. Or you just change it through GUI?
This is weird because we manually get if ctrl is down at the moment you press 'a' (here) (instead of keeping track of key pressed and released), so maybe this is a LOVE bug?
@Norgus can you help us, so we can fix this issue?
The shortcut I use on my system is
This switch seems to reliably cause the bug. Could be something in the LOVE engine I suppose?
Sometimes when typing the letter "a", all of the code is deleted from the editor.
Strangely, ctrl+a does an all-select without deleting just fine.
Both times this has happened were after starting to write a # comment (which works most of the time, so this may be a fluke)
ctrl-z to undo and get back the deleted code works, but I have found no way to stop the bug besides closing the game and restarting it.
Environment is windows 10, steam, sometimes my keyboard layout is UK-qwerty and sometimes US-qwerty.