[Lazarus] First click disappearing

Michael Van Canneyt michael at freepascal.org
Sun Apr 1 10:49:27 CEST 2018


I'm completely puzzled by the following bug:

My setup: trunk lazarus, FPC 3.1.1, GTK2 widgetset.

in the FPReport report designer the first click almost anywhere is simply not
registered in any OnMouseDown handler.

I have tried to reproduce this in a more simple program, but failed till now.

Stephano (patspiper at gmail.com) can reliably reproduce this as well, 
and reported that he has observed the same problem for some time in 
the source editor of the lazarus IDE as well, but it disappeared after some
weeks (presumably something was fixed)

The strange thing is that it can be reproduced in the dialogs of the
program, as well, not just in the main window.

To reproduce: 
* compile the reportdesign program (components/fpreport/design) using FPC 3.1.1.
* Start program
* Load design attached to bug 33453 (any other will do as well)
* click on a field -> nothing happens. (onmousedown is not called, I debugged this)
* click again on the field -> field is selected

See also

and the 2 related bugs.


More information about the Lazarus mailing list