View Issue Details

IDProjectCategoryView StatusLast Update
0035480LazarusLCLpublic2019-05-04 19:05
ReporterChris Rorden Assigned ToDmitry Boyarintsev  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
PlatformMacBook 2012 Retina 13"OSDarwin 
Product Version2.0.3 (SVN) 
Summary0035480: Cocoa: OpenGL MouseDown fires twice
DescriptionThe Cocoa OpenGL component sends the mouse down event twice on each click. In the example below, one would expect the caption to report 0,1,2,3... but instead we see 1,3,5....
Steps To Reproducevar
  gNumDown : integer = 0;

procedure TGLForm1.GLboxMouseDown(Sender: TObject; Button: TMouseButton;
  Shift: TShiftState; X, Y: Integer);
begin
  gMouseY := Y;
  caption := inttostr(gNumDown);
  gNumDown := gNumDown + 1;
end;
TagsNo tags attached.
Fixed in Revision61135
LazTarget-
WidgetsetCocoa
Attached Files

Activities

Chris Rorden

2019-05-04 16:36

reporter  

Dmitry Boyarintsev

2019-05-04 18:08

developer   ~0115994

please test and close if ok

Issue History

Date Modified Username Field Change
2019-05-04 16:36 Chris Rorden New Issue
2019-05-04 16:36 Chris Rorden File Added: openGL_mouseDown_multiple_Messages.zip
2019-05-04 18:08 Dmitry Boyarintsev Assigned To => Dmitry Boyarintsev
2019-05-04 18:08 Dmitry Boyarintsev Status new => resolved
2019-05-04 18:08 Dmitry Boyarintsev Resolution open => fixed
2019-05-04 18:08 Dmitry Boyarintsev Fixed in Revision => 61135
2019-05-04 18:08 Dmitry Boyarintsev LazTarget => -
2019-05-04 18:08 Dmitry Boyarintsev Widgetset Cocoa => Cocoa
2019-05-04 18:08 Dmitry Boyarintsev Note Added: 0115994
2019-05-04 19:05 Chris Rorden Status resolved => closed