https://bugs.kde.org/show_bug.cgi?id=437825
Bug ID: 437825
Summary: FormLayout spills errors when items are removed from
the model
Product: frameworks-kirigami
Version: 5.82.0
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: Not decided
SUMMARY
In the Skanpage application (https://invent.kde.org/utilities/skanpage) I use
the Kirigami.FormLayout to display all scanner options. These options depend on
the scanning device that is opened and are removed and re-added when a new
scanning device is selected. Removing the option items generate a large amount
of errors in Kirigami.FormLayout. There are no visible issues and the
FormLayout continues to work as expected.
I suspect that it is due to the items of the model being deleted, which is
probably not handled in the FormLayout? Corresponding QML code is at
https://invent.kde.org/utilities/skanpage/-/blob/master/src/OptionsWindow.qml
STEPS TO REPRODUCE
1. Open Skanpage
2. select a scanning device if needed
3. reselect a scanning device
OBSERVED RESULT
Kirigami.FormLayout spills errors.
EXPECTED RESULT
No errors generated
--
You are receiving this mail because:
You are watching all bug changes.