Bug 428533 - FormLayout twinLayouts causes loop in energy info KCm
Summary: FormLayout twinLayouts causes loop in energy info KCm
Status: RESOLVED FIXED
Alias: None
Product: frameworks-kirigami
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR crash
Target Milestone: Not decided
Assignee: Marco Martin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-31 21:53 UTC by Kai Uwe Broulik
Modified: 2020-11-03 10:00 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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