Bug in qt 5.15.2: Button.checkable = false is gettin ignored
Unsolved
QML and Qt Quick
-
Hi guys,
I just found a bug in qt 5.15.2 which was not there on older version and is also not there in qt 6.8
When you create 2 buttons and set checkable = false, you usually could set the checked property but clicking is not changing anything.
Unfortunatley, even with checkable=false the button is changing the checked state.property bool t Button { x: 0 id: button checkable: false checked : t onClicked: t = true } Button { x: 100 id: button1 checkable: false checked: !t onClicked: t = false }
Is there any workaround to get the correct behaviour back?
Of course I know about ButtonGroups, but that is not what I'm looking for. -
Checkable and checked are not components of Button QML.
A similar question here; https://forum.qt.io/topic/36479/solved-button-checkable-and-checked-not-working albeit a different answer/outcome from my response. Regardless, I still myself, cannot use checkable or checked with Button.