Lazarus
Free Pascal => Unix => Topic started by: neklar on February 15, 2017, 10:37:39 pm
-
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?
-
Please, report the bug. Yes, the code editor on Linux sometimes do crazy things like that.
-
IIRC this was already reported.
Please search the bugtracker before posting it.
Bart
-
Found it: http://bugs.freepascal.org/view.php?id=30596 (http://bugs.freepascal.org/view.php?id=30596)
Bart
-
IIRC 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.
-
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.
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
-
Found it: http://bugs.freepascal.org/view.php?id=30596 (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
-
Not sure what the syntax is in Linux.
On Windows it would be:
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
-
Not sure what the syntax is in Linux.
On Windows it would be:
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