https://bugs.kde.org/show_bug.cgi?id=528379
Bug ID: 528379
Summary: Using autoexclusive actions with ActionToolBar causes
infinite recursion
Classification: Frameworks and Libraries
Product: frameworks-kirigami
Version First 6.31.0
Reported In:
Platform: Other
OS: Linux
Status: REPORTED
Severity: crash
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: Not decided
DESCRIPTION
Toggling on any of autoexclusive actions of ActionToolBar causes stack overflow
STEPS TO REPRODUCE
1. Create a Toolbar, add a couple of Action with autoExclusive=true
2. Launch application and try to toggle any of actions
OBSERVED RESULT
app crashes with "RangeError: Maximum call stack size exceeded."
EXPECTED RESULT
app works
SOFTWARE/OS VERSIONS
Operating System: ALT 20260806
KDE Plasma Version: 6.7.5
KDE Frameworks Version: 6.31.0
Qt Version: 6.11.2
ADDITIONAL INFORMATION
A minimal example:
```
import QtQuick
import QtQuick.Controls
import org.kde.kirigami as Kirigami
ApplicationWindow {
visible: true
title: "test"
header: Kirigami.ActionToolBar {
actions: [
Kirigami.Action {
text: "One"
displayHint: Kirigami.DisplayHint.KeepVisible
checkable: true
autoExclusive: true
checked: true
},
Kirigami.Action {
text: "Two"
displayHint: Kirigami.DisplayHint.KeepVisible
checkable: true
autoExclusive: true
}
]
}
}
```
Before app crashes, the following or similar messages may appear in the log:
qrc:/qt/qml/org/kde/desktop/ToolButton.qml:1218824688: RangeError: Maximum call
stack size exceeded.
qrc:/qt/qml/org/kde/desktop/ToolButton.qml:1218824688: RangeError: Maximum call
stack size exceeded.
But note that this bug is style-independent (or at least reproducable with
breeze, fusion, kvantum)
--
You are receiving this mail because:
You are watching all bug changes.