Bug 430261

Summary: Application crashes if a component inside a Kirigami.BasicListItem contentItem has an id
Product: [Frameworks and Libraries] frameworks-qqc2-desktop-style Reporter: george fb <georgefb899>
Component: generalAssignee: Marco Martin <notmart>
Status: RESOLVED DOWNSTREAM    
Severity: normal CC: kde, nate
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: example app

Description george fb 2020-12-11 15:20:35 UTC
Created attachment 134009 [details]
example app

SUMMARY
When using Kirigami.BasicListItem as a delegate with a custom contentItem and
a component inside contentItem has an id the application crashes when run.

If I remove the id it works.
If I remove the org.kde.desktop style it works.

This happens on Ubuntu 20.10 in a VM. All is fine on OpenSuse Tumbleweed.

STEPS TO REPRODUCE
1. Download attached test app
2. Build
3. Run

OBSERVED RESULT
Application crashes.

EXPECTED RESULT
Application doesn't crash.


SOFTWARE/OS VERSIONS
Operating System: Ubuntu 20.10
KDE Plasma Version: 5.19.5
KDE Frameworks Version: 5.74.0
Qt Version: 5.14.2
Kernel Version: 5.8.0-29-generic
Comment 1 Nate Graham 2020-12-17 18:46:21 UTC
Hmm, your test app (thanks a lot for this, BTW!) does not crash for me when I run it using the qqc2 desktop style.
Comment 2 george fb 2020-12-17 19:39:43 UTC
Did you test on Ubuntu 20.10?
Comment 3 Nate Graham 2020-12-17 20:14:04 UTC
No, I tested using the latest Frameworks version. The versions of software shipped in Ubuntu 20.10 are no longer receiving updates for those versions.
Comment 4 george fb 2020-12-17 20:43:20 UTC
Guess it's a bug for Ubuntu 20.10 then.
Comment 5 Nate Graham 2021-03-18 17:10:48 UTC
Yeah.