Alexey-T / CudaText

Cross-platform text editor, written in Free Pascal
Mozilla Public License 2.0
2.46k stars 170 forks source link

Linux qt5 version: first click on code-tree filter cannot focus the input #5672

Open Alexey-T opened 2 weeks ago

Alexey-T commented 2 weeks ago

Lazarus bug. gtk2 version is ok.

IDE shows that even 1st click calls MouseDown which calls SetFocus. but this does not call DoEnter method of ATSynEdit! so ATSynedit does not set flag FIsEntered and this disables the caret blinking. 2nd click - calls DoEnter.

Alexey-T commented 2 weeks ago

making the workaround: calling DoEnter in MouseDown, is not OK. it gives problems - 2 input fields can have focused-blue-border at the same time (e.g. code-tree fiter and console input).