'm' and 'i' keys suddenly causing odd behavior! [SOLVED] lazarus / 32-Linux ---------------------------------------------------------------------- Gizmo · 2020-05-03 19:54 Hi guys I have a really weird issue with my Lazarus setup. I'm using v2.0.4 and Linux Mint 19.3. All the the alphabetical keys are OK except that when I press the 'i' key, it causes a tab, and when I press the 'm' key, it causes a new line carriage return. If I use any other program (text editor, Libreoffice etc) it is fine, and if I launch a Windows virtual machine, it is fine in that too. But Lazarus running on my Linux box, all of a sudden, causes this; never seen it in 10 years of using the IDE!. I've tried blowing out the keyboard of crumbs etc! No fix. Is there something in Lazarus (a setting or something?) that might be causing this that I have perhaps enabled or changed in error without realizing? Thanks a lot ---------------------------------------------------------------------- winni · 2020-05-03 20:10 Hi! Maybe your CTRL key hangs: CTRL-I = TAB CTRL-M = Cariage Return Lift it up with a nail or a scissor??? Winni ---------------------------------------------------------------------- Bart · 2020-05-03 20:36 There's a bugreport about m behaving as Ctrl+m. So, you're not alone. It hasn't been solved yet. Bart ---------------------------------------------------------------------- Gizmo · 2020-05-20 21:03 This is driving me to madness. I notice that if I try do a search, every key I press types twice. e.g. "e" becomes "ee". Yet in the main source code area, it is as before (everything OK except for "i" and "m"). It is only impacting Lazarus - no other tool. There has to be something in the settings causing it or conflicting but I have no idea where to start. I even tried resetting my keyboard layout to default in Linux Mint system settings - no avail. :-( ---------------------------------------------------------------------- Zoran · 2020-05-20 21:42 Quote from: Gizmo on May 20, 2020, 11:03:07 pmI notice that if I try do a search, every key I press types twice. e.g. "e" becomes "ee". This may be solveable: https://wiki.freepascal.org/Lazarus_Faq#Typing_ in_edit_fields_generate_duplicate_letters However, this may not be connected with the problem with "i" and "m". ---------------------------------------------------------------------- Bart · 2020-05-20 21:51 Quote from: Zoran on May 20, 2020, 11:42:02 pmQuote from: Gizmo on May 20, 2020, 11:03:07 pmI notice that if I try do a search, every key I press types twice. e.g. "e" becomes "ee". This may be solveable: https://wiki.freepascal.org/Lazarus_Faq#Typing_ in_edit_fields_generate_duplicate_letters However, this may not be connected with the problem with "i" and "m". I think this was solved in trunk recently. Bart ---------------------------------------------------------------------- Gizmo · 2020-05-21 19:47 Zoran Your instructions fixed it! I disabled the IBus thingy and entered the 3 lines into the 2 or 3 files it mentions (creating one or two new files, editing one existing I think it was) as directed. Rebooted and solved! 'i' and 'm' now work, and I no longer have double characters for keypresses! Double bonus! Thank you sir. ---------------------------------------------------------------------- del · 2020-05-22 04:45 Quote from: winni on May 03, 2020, 10:10:51 pmHi! Maybe your CTRL key hangs: CTRL-I = TAB CTRL-M = Cariage Return Lift it up with a nail or a scissor??? Winni Instead of major surgery why not just hit "a" ("ctrl a" selects all)? It's probably not mechanical, it's probably a bug. When I had this problem I went through the whole alphabet and only had problems with "i" and "m". Here I was just typing characters, and you can see that the "i" was generating a preceding tab, and "m" was generating a preceding newline: Quoteabcdefgh   ijkl mnopqustuvwxyz1234567890    ijkl mjkl mkl ml m m m m mMMMMMMMIIIIIIII