View Issue Details

IDProjectCategoryView StatusLast Update
0037116LazarusLCLpublic2020-05-21 20:37
ReporterJohn McClane Assigned To 
Status newResolutionopen 
Product Version2.0.6 
Summary0037116: TEdit and Backspace
Description2.0.6 3.0.4
When I press Control + Backspace, It doesn't delete one word as it is expected.
Control + Delete is working.
I'm using Lazarus 2.0.6 with FPC 3.0.4 on Ubuntu 18.04 "BIonic"
It worked with older Linuxes and versions.
Thanks in advance. Have a nice day.

* I wanted to attach a very tiny program but it surpasses 2 Mb, sory-
Steps To ReproduceWrite two words on a TEdit and press control + backspace when the caret is at the end of the sentence.
TagsNo tags attached.
Fixed in Revision
WidgetsetGTK 2
Attached Files


Bart Broersma

2020-05-19 20:33

developer   ~0122939

Ctrl+Backspace has never worked like that in Windows IIRC (it also does not work that way in Delphi 7).
Since a TEdit basically is a native control, I would suspect that this behaviour is cotrolled by the underlying widgetset.

OTOH, if you know a revision where it worked, you can bisect to find the guilty revision.

John McClane

2020-05-21 17:43

reporter   ~0122984

I'm sure it worked before on Linux and Windows. I used that feature, and I have an old program which is working.
I don't understand what you're saying by 'bisect'.

jamie philbrook

2020-05-21 18:50

reporter   ~0122987

I agree with Bart, I just checked two of my windows PC's and the Control+backspace does nothing but insert some Unicode characters in there.

 Are you sure you didn't enhance the keyboard editing via the OnKeyDown or up ? that can be done.

Btw, I did the test on Lazarus and Delphi 10.x
 I guess it could be a possible issue when full Unicode took over.
What did you compile your old app in ?

John McClane

2020-05-21 19:26

reporter   ~0122990

No I didn't enhance my keyboard and I don't remember what version of Lazarus I used, but I'm not talking about Windows, I'm talking about Linux.

Juha Manninen

2020-05-21 20:37

developer   ~0122993

About bisecting:

Issue History

Date Modified Username Field Change
2020-05-19 20:00 John McClane New Issue
2020-05-19 20:33 Bart Broersma Note Added: 0122939
2020-05-21 17:43 John McClane Note Added: 0122984
2020-05-21 18:50 jamie philbrook Note Added: 0122987
2020-05-21 19:26 John McClane Note Added: 0122990
2020-05-21 20:37 Juha Manninen Note Added: 0122993