Bug 494437

Summary: Session kcm: kf.kirigami.layouts: FormData.buddyFor must be a direct child of the attachee.
Product: [Applications] systemsettings Reporter: postix <postix>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: minor CC: nate
Priority: NOR    
Version: 6.2.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 6.3.0
Sentry Crash Report:

Description postix 2024-10-10 12:59:56 UTC
SUMMARY

Open the session kcm

```
kf.kirigami.layouts: FormData.buddyFor must be a direct child of the attachee. Attachee: QQuickColumnLayout(0x55c6514a57c0, parent=0x55c6528efb30, geometry=0,0 0x0), buddyFor: TextField_QMLTYPE_98(0x55c64dd58de0, parent=0x55c6522080d0, geometry=0,0 0x0)
```

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20241007
KDE Plasma Version: 6.2.0
KDE Frameworks Version: 6.6.0
Qt Version: 6.7.3
Graphics Platform: Wayland
Comment 1 Nate Graham 2024-11-14 20:00:38 UTC
Git commit f9c12bcdd8bb94c6af5adf908bdae872a8b3c472 by Nate Graham.
Committed on 14/11/2024 at 19:59.
Pushed by ngraham into branch 'master'.

kcms/smserver: remove unnecessary layout elements

1. No need for a ColumnLayout since it only has one child item
2. No need to manually assign the label a buddy relationship since it
   picks the right thing automatically
FIXED-IN: 6.3.0

M  +19   -24   kcms/ksmserver/ui/main.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/f9c12bcdd8bb94c6af5adf908bdae872a8b3c472