[SOLVED] "Backspace" and "Delete" keys are not working properly under Linux lazarus / 66-Unix ---------------------------------------------------------------------- neklar · 2017-02-15 21:37 In a TEdit, when I press backspace or delete key, the cursor jumps a character to the right. This is happening only under Linux, no problems under Windows. Any ideeas? ---------------------------------------------------------------------- GAN · 2017-02-15 21:57 Please, report the bug. Yes, the code editor on Linux sometimes do crazy things like that. ---------------------------------------------------------------------- Bart · 2017-02-15 22:16 IIRC this was already reported. Please search the bugtracker before posting it. Bart ---------------------------------------------------------------------- Bart · 2017-02-15 22:17 Found it: http://bugs.freepascal.org/view.php?id=30596 Bart ---------------------------------------------------------------------- GAN · 2017-02-16 02:17 Quote from: Bart on February 15, 2017, 11:16:06 pmIIRC this was already reported. Please search the bugtracker before posting it. Bart Hi Bart, I'm sorry, I don't know how to search in the bugtracker, I don't find the option to search a bug. Regards. ---------------------------------------------------------------------- Bart · 2017-02-16 08:30 Quote from: GAN on February 16, 2017, 03:17:06 amHi Bart, I'm sorry, I don't know how to search in the bugtracker, I don't find the option to search a bug. Go to the bugtracker. Select the appropriate project (Lazarus in this case) Click on "View Issues" In "Search" field type a keyword, I typed "backspace". Click on "Apply filter" There are lots of fields you can adjust to narrow or broaded your search, most noticeably the "Hide status"  field. This defaults to "Closed", so your search won't show issues that have already been clsed. Just play with it. As always, coming up with the right keyword for your search is the difficult part. Bart ---------------------------------------------------------------------- neklar · 2017-02-16 18:40 Quote from: Bart on February 15, 2017, 11:17:48 pmFound it: http://bugs.freepascal.org/view.php?id=30596 Bart Thank you for your answer. How do I apply the patch? I never did this before Thank you again ---------------------------------------------------------------------- Bart · 2017-02-16 21:12 Not sure what the syntax is in Linux. On Windows it would be: Code: [Select]cd \path\to\Lazarus patch -p0 < test.patch The patch though is easy, just look at it, open the sourcefiles, make the changes (+ markes a line that is added, - marks a line that is deleted. In essence it just comments 2 lines). After that rebuild Lazarus. Bart ---------------------------------------------------------------------- neklar · 2017-02-16 21:44 Quote from: Bart on February 16, 2017, 10:12:18 pmNot sure what the syntax is in Linux. On Windows it would be: Code: [Select]cd \path\to\Lazarus patch -p0 < test.patch The patch though is easy, just look at it, open the sourcefiles, make the changes (+ markes a line that is added, - marks a line that is deleted. In essence it just comments 2 lines). After that rebuild Lazarus. Bart Got it! Thank you for your help! On Linux the files are located at /usr/lib/lazarus/lcl/interfaces/gtk2/ Now it works fine