TSplitter steals focus (gtk2, qt5)
- Lazarus Version: today's Git
- Operating System: Ubuntu 20.4
- CPU / Bitness: x64
What happens
Demo: tst-splitter.zip
On dragging the splitter by mouse, any focused TMemo looses the focus.
Bug: gtk2 and Qt5. Win32 works good.
What did you expect
Dragging of splitter must not affect the focusing of other controls. I tested it in DoubleCommander Linux-x64 made with Lazarus 2.2.6 - there, it works correctly.
Notes
I added the line ControlStyle := ControlStyle + [csNoFocus];
to the TCustomSplitter.Create. Did not help.
Edited by Alexey Torgashin