Forum > LCL

OnMouseMove/OnMouveLeave not working correctly on Linux

(1/1)

Gald:
On Windows it works as expected, but not on Linux. I tried Manjaro and Mint.

How to:

1- Execute de App.
2- Move your mouse between the panels as fast as you can.
3- Do not take your mouse off the Form (it's kind of a game to identify the problem).
4- Try to do what I did on the related pic.

Only ONE Panel should be Green.

Handoko:
Same issue has been reported:
https://forum.lazarus.freepascal.org/index.php/topic,37050.msg247726.html#msg247726

Gald:

--- Quote from: Handoko on December 02, 2021, 05:15:29 am ---Same issue has been reported:
https://forum.lazarus.freepascal.org/index.php/topic,37050.msg247726.html#msg247726

--- End quote ---

Ow, this is so sad!
Do you know if this applies on button components made of TPanels too?
I have many plans to build my own components based on TPanels.

Handoko:
I tested the issue on TForm, TStringGrid, TButton, TShape, TToolbar, TImage, the problem was reproducible on all of them if I run  the code on Linux GTK2. So I believe the bug is in their ancestor class. Button components made of TPanel, I think they will have the same issue too.

I have a workaround for it, not nice but that works:
https://forum.lazarus.freepascal.org/index.php/topic,37050.msg388249.html#msg388249

Gald:
Oh, i see...

Thanks, Handoko!

Navigation

[0] Message Index

Go to full version