View Issue Details

IDProjectCategoryView StatusLast Update
0036266LazarusWidgetsetpublic2019-11-06 18:43
ReporterDan Hallock Assigned ToDmitry Boyarintsev  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
PlatformdarwinOSmacOS 
Product Version2.0.6 
Summary0036266: Double click in TListBox to do ShowModal causes loss of focus
DescriptionThe sequence of events is:

    Double click in a TListBox
    Display another form via showmodal
    Exit the showmodal form


At this point, the original form with the TListBox is displayed but the keyboard no longer works (focus lost?). You cannot use arrows, tab, escape. Nothing appears to work.

If you use the mouse, the first click is ignored. Click again and then the first click is registered.

Steps To ReproduceTo replicate this error in the attached project:

    In FormA click DoIt
    In FormB double click "Double Click Test1"
    In FormC press ESC or click on Exit

At this point you should be able to press ESC to return to FormA. That does not work. In fact nothing seems to work using the keyboard.

Further, if you click on exit, the button is highlighted, but no exit occurs. Now click anywhere in the form and the exit will occur.

Note that if, in FormB you click on DoIt or Click on "Single Click Test" TListBox, the problem will not occur.
TagsNo tags attached.
Fixed in Revision62204
LazTarget-
WidgetsetCocoa
Attached Files

Activities

Dan Hallock

2019-11-05 22:57

reporter  

modalProblem.zip (68,849 bytes)

Dmitry Boyarintsev

2019-11-06 05:46

developer   ~0119086

please test and close if ok

Dan Hallock

2019-11-06 18:43

reporter   ~0119106

Works in sample program and production program.

Issue History

Date Modified Username Field Change
2019-11-05 22:57 Dan Hallock New Issue
2019-11-05 22:57 Dan Hallock File Added: modalProblem.zip
2019-11-06 05:46 Dmitry Boyarintsev Assigned To => Dmitry Boyarintsev
2019-11-06 05:46 Dmitry Boyarintsev Status new => resolved
2019-11-06 05:46 Dmitry Boyarintsev Resolution open => fixed
2019-11-06 05:46 Dmitry Boyarintsev Fixed in Revision => 62204
2019-11-06 05:46 Dmitry Boyarintsev LazTarget => -
2019-11-06 05:46 Dmitry Boyarintsev Widgetset Cocoa => Cocoa
2019-11-06 05:46 Dmitry Boyarintsev Note Added: 0119086
2019-11-06 18:43 Dan Hallock Note Added: 0119106
2019-11-06 18:43 Dan Hallock Status resolved => closed