View Issue Details

IDProjectCategoryView StatusLast Update
0032368LazarusWidgetsetpublic2017-09-04 23:07
ReporterValdas Jankūnas Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Platformlinux 64 bitOSKubuntu 17.04 
Product Version1.9 (SVN) 
Summary0032368: TFloatSpinEdit emits dealyed secondary OnChange on Value change when DecimalPlaces=0
DescriptionWhen FloatSpinEdit.DecimalPlaces is set to 0 and Value is changed programmatically first time then secondary OnChange event occurs outside procedure that changes that Value.
Steps To Reproduce
Try attached test project:
 - start application,
 - press "DecimalPlaces := 0",
 - press "Value := 2";
Memo output:
"WS = GTK2
FloatSpinEdit1Change occurred
Setting FloatSpinEdit.DecimalPlaces := 0
FloatSpinEdit1Change occured
Button1Click: START
Button1Click: change value in FloatSpinEdit
Button1Click: END
FloatSpinEdit1Change occurred"
Additional InformationMaybe related 0031618

Qt and Qt5 don't have this behavior.
TagsNo tags attached.
Fixed in Revision
LazTarget
WidgetsetGTK 2
Attached Files

Relationships

related to 0031618 closedJuha Manninen TSpinEdit.OnChange events in GTk2 

Activities

Valdas Jankūnas

2017-09-02 14:30

reporter  

test.zip (67,205 bytes)

Issue History

Date Modified Username Field Change
2017-09-02 14:30 Valdas Jankūnas New Issue
2017-09-02 14:30 Valdas Jankūnas File Added: test.zip
2017-09-04 23:07 Bart Broersma Relationship added related to 0031618