View Issue Details

IDProjectCategoryView StatusLast Update
0033874LazarusLCLpublic2018-06-19 17:05
ReportersembitAssigned ToMichl 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Platformx64OSWindowsOS Version10
Product Version1.9 (SVN)Product Build58271 
Target Version1.8.6Fixed in Version1.9 (SVN) 
Summary0033874: Speedbutton does not respond to pressing, after closing the modal form with a double click.
DescriptionIf the button is in any group in the form A, then after closing the modal form B with a double click, the button stops responding to pressing.
Steps To Reproduce1. Run project.
2. Try press speedbutton.
3. Press button "Button1".
4. Double click on form.
5. Try press speedbutton.
TagsNo tags attached.
Fixed in Revision58312,58314
LazTarget-
WidgetsetWin32/Win64
Attached Files

Relationships

related to 0029744 closedOndrej Pokorny MSWindows: ModalForm should be minimized into task bar 
related to 0026638 resolvedMichl onClick event not triggered for a TSpeedButton on a fresh created form when inside a TGroupbox 

Activities

sembit

2018-06-18 18:55

reporter  

TestDblClickClose.zip (129,624 bytes)

Michl

2018-06-18 22:12

developer   ~0108954

It comes with revision 51731.

Michl

2018-06-18 22:22

developer   ~0108955

Fixed in trunk revision 58312. Please test and close if ok.

Ondrej Pokorny

2018-06-18 23:02

developer   ~0108957

Thank you Michl for finding where was the problem! You did the hard part.

I had an easy job to make it more general - the issue was not in closing the modal form (what you fixed) but in destroying handle of CaptureControl that could not receive mouse messages any more. So your fix had to go to TWinControl.DestroyWnd.

Please retest.

Michl

2018-06-19 07:55

developer   ~0108962

You are right, that should be valid in all cases. Thank you.

sembit

2018-06-19 17:05

reporter   ~0108968

Thanks. Everything is working.

Issue History

Date Modified Username Field Change
2018-06-18 18:55 sembit New Issue
2018-06-18 18:55 sembit File Added: TestDblClickClose.zip
2018-06-18 20:59 Michl Assigned To => Michl
2018-06-18 20:59 Michl Status new => assigned
2018-06-18 22:10 Michl Relationship added related to 0029744
2018-06-18 22:12 Michl Note Added: 0108954
2018-06-18 22:22 Michl Fixed in Revision => 58312
2018-06-18 22:22 Michl LazTarget => -
2018-06-18 22:22 Michl Note Added: 0108955
2018-06-18 22:22 Michl Status assigned => resolved
2018-06-18 22:22 Michl Fixed in Version => 1.9 (SVN)
2018-06-18 22:22 Michl Resolution open => fixed
2018-06-18 22:22 Michl Target Version => 1.8.6
2018-06-18 22:23 Michl Relationship added related to 0026638
2018-06-18 23:02 Ondrej Pokorny Fixed in Revision 58312 => 58312,58314
2018-06-18 23:02 Ondrej Pokorny Note Added: 0108957
2018-06-19 07:55 Michl Note Added: 0108962
2018-06-19 17:05 sembit Note Added: 0108968
2018-06-19 17:05 sembit Status resolved => closed