View Issue Details

IDProjectCategoryView StatusLast Update
0034807LazarusLCLpublic2019-01-26 00:32
ReporterMartin Friebe Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
Platform64bit IntelOSwin 10 
Product Version2.1 (SVN) 
Summary0034807: TCheckBox.Action.Checked may be incorrectly updated
DescriptionTCheckbox has several occurrences of the following code:

    if Action is TCustomAction then
      TCustomAction(Action).Checked := FState = cbChecked;
    ApplyChanges;
    //some widgetsets (gtk*) does not allow to uncheck a radio button
    //only call OnChange if effectivelly changed
    FState := RetrieveState;

FState can change again after the action was updated, leaving the action with the wrong value.
TagsNo tags attached.
Fixed in Revision
LazTarget-
Widgetset
Attached Files

Relationships

related to 0034763 resolvedMichl Regression: not every TGrouBox child follows parent's "Enabled" property. 

Activities

BrunoK

2019-01-04 15:15

reporter   ~0113158

Last edited: 2019-01-04 15:41

View 2 revisions

win32-enable-190104.patch :

Solves 0033705 Program starts slowly (tested 5 months);
Solves 0034763 Regression: not every TGrouBox child follows parent's "Enabled" property. (tested 5 months);
{--- Sorry totally unrelated ---- }
  
Limited tests on XP / Laz 1.4.4 and on WIN10 / Laz 1.4.4 have shown revision to work.

BrunoK

2019-01-04 15:26

reporter   ~0113160

Last edited: 2019-01-04 15:27

View 2 revisions

Sorry it should be in 0034763. Don't know how to move it there.

Juha Manninen

2019-01-05 07:15

developer   ~0113182

Last edited: 2019-01-05 07:20

View 2 revisions

BrunoK, do you mean you have a patch for issue 0034763? Why don't you upload it there?
Issue 0033705 was fixed half a year ago.

Michl

2019-01-26 00:32

developer   ~0113625

I moved the patch

Issue History

Date Modified Username Field Change
2019-01-03 19:55 Martin Friebe New Issue
2019-01-04 15:15 BrunoK File Added: win32-enable-190104.patch
2019-01-04 15:15 BrunoK Note Added: 0113158
2019-01-04 15:26 BrunoK Note Added: 0113160
2019-01-04 15:27 BrunoK Note Edited: 0113160 View Revisions
2019-01-04 15:41 BrunoK Note Edited: 0113158 View Revisions
2019-01-05 07:15 Juha Manninen Note Added: 0113182
2019-01-05 07:20 Juha Manninen Note Edited: 0113182 View Revisions
2019-01-26 00:30 Michl Relationship added related to 0034763
2019-01-26 00:32 Michl File Deleted: win32-enable-190104.patch
2019-01-26 00:32 Michl Note Added: 0113625