| Summary: | ActionToolBar has no reasonable default size | ||
|---|---|---|---|
| Product: | [Frameworks and Libraries] frameworks-kirigami | Reporter: | Kai Uwe Broulik <kde> |
| Component: | general | Assignee: | kdelibs bugs <kdelibs-bugs-null> |
| Status: | CONFIRMED --- | ||
| Severity: | normal | CC: | ahiemstra, matej.starc, nate, notmart |
| Priority: | NOR | ||
| Version First Reported In: | Master | ||
| Target Milestone: | Not decided | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: |
Screenshot of ActionToolbar in KCM
qml for testing |
||
Created attachment 154076 [details]
qml for testing
we use this file for testing this.
For some reason, it works in my case. Operating System: Arch Linux KDE Plasma Version: 5.26.3 KDE Frameworks Version: 5.100.0 Qt Version: 5.15.7 Kernel Version: 6.0.9-zen1-1-zen (64-bit) Graphics Platform: Wayland Processors: 12 × Intel® Core™ i7-8700 CPU @ 3.20GHz Memory: 15,5 GiB of RAM Graphics Processor: AMD Radeon RX 480 Graphics Yeah you need to use layout properties (which we do in the KCMs that have it already implemented), but I agree it should have a sensible implicit size |
Created attachment 154075 [details] Screenshot of ActionToolbar in KCM SUMMARY Trying to use a Kirigami.ActionToolBar in a KCM header/footer results in it being squished to nothingness STEPS TO REPRODUCE KCM.SimpleKCM { footer: Kirigami.ActionToolBar { flat: false alignment: Qt.AlignRight actions: [ ... ] } } OBSERVED RESULT Control is squished and unusable EXPECTED RESULT Control has a reasonable default size SOFTWARE/OS VERSIONS Linux/KDE Plasma: git master as of 2022-11-21 ADDITIONAL INFORMATION