Bug 428533

Summary: FormLayout twinLayouts causes loop in energy info KCm
Product: [Frameworks and Libraries] frameworks-kirigami Reporter: Kai Uwe Broulik <kde>
Component: generalAssignee: Marco Martin <notmart>
Status: RESOLVED FIXED    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: Not decided   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Kai Uwe Broulik 2020-10-31 21:53:04 UTC
SUMMARY
The Energy Info KCM does not open anymore and gets stuck in some binding loop or something

STEPS TO REPRODUCE
1. kcmshell5 kcm_energyinfo

OBSERVED RESULT
Nothing happens, process hogs memory

EXPECTED RESULT
KCM opens like normal

If I comment the following line from the energy info KCM
> titleRepeater.layouts[i].twinFormLayouts = titleRepeater.layouts;
it shows up again, suggesting a bug in FormLayout, hence filing against Kirigami.
Comment 1 Kai Uwe Broulik 2020-10-31 23:02:03 UTC
Looks like it's caused by https://invent.kde.org/frameworks/kirigami/-/commit/69435062a8abc00dfcb01fae3ce96711d9f453f5