Bug 447401

Summary: Landing page on system settings goes on a loop until crash without loading / QML Binding loop detected for property "preferredHeight" on kcms/kcm_landingpage/contents/ui/main.qml:57:9
Product: [Applications] systemsettings Reporter: Pablo Alonso <tau0>
Component: Quick SettingsAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: grave CC: nate, tau0, zocsfxljsgpmiuaanz
Priority: NOR    
Version: 5.23.4   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 5.24

Description Pablo Alonso 2021-12-22 22:29:31 UTC
SUMMARY
I was trying to open system settings, but I found that it was not opening, but actually in the process manager I saw that system settings was still running although I saw no window or anything. Later I found that opening a specific kcm trough the app menu opened successfully system settings. But when clicking the home button (which will load the landing page kcm) it would freeze system settings.

I've also found that when this happened, the terminal spit out constantly this:
file:///usr/share/kpackage/kcms/kcm_landingpage/contents/ui/main.qml:57:9: QML FormLayout (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "preferredHeight"

STEPS TO REPRODUCE
1. Open system settings normally
or
1. Open an specific kcm trough the menu apps (KDE Wallet, Colors, Global Theme...)
2. Click on the home button
or
1. In the terminal: systemsettings5 <kcm> (for example: systemsettings5 mouse)
2. Navigate and click the home button
3. See the logs

OBSERVED RESULT
If opened normally, system settings appears as if it's not working
If you open it but load first another kcm and then go to the landing page, it freezes
It will log the error message shown above constantly, either in the terminal or the journal

EXPECTED RESULT
System settings will open normally, load and display the landing page succesfully

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20211220
KDE Plasma Version: 5.23.4
KDE Frameworks Version: 5.89.0
Qt Version: 5.15.2
Kernel Version: 5.15.8-1-default (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i5-5300U CPU @ 2.30GHz
Memory: 7.6 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 5500

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2022-01-11 23:14:01 UTC
Can't reproduce the crash, but can reproduce the binding loop.
Comment 2 zocsfxljsgpmiuaanz 2022-02-24 19:35:07 UTC
I can reproduce the bug with KDE Plasma 5.23.5 but not with 5.24.2. I think is fixed now but can someone more test it?
Comment 3 Nate Graham 2022-02-28 21:43:38 UTC
Yeah there were some layout changes here for 5.24 that I can imagine might have fixed the bug.