| Summary: | Excessive margins around Kirigami.Separator in FormLayout | ||
|---|---|---|---|
| Product: | [Frameworks and Libraries] frameworks-kirigami | Reporter: | Kai Uwe Broulik <kde> |
| Component: | general | Assignee: | kdelibs bugs <kdelibs-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | nate, notmart |
| Priority: | NOR | Keywords: | regression |
| Version First Reported In: | Master | ||
| Target Milestone: | Not decided | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/frameworks/kirigami/commit/6cfe4af123a98ecacec5580a5e228a847789d9ad | Version Fixed/Implemented In: | 5.102 |
| Sentry Crash Report: | |||
| Attachments: | Screenshot of FormLayout | ||
|
Description
Kai Uwe Broulik
2022-11-27 09:06:40 UTC
Yeah, confirmed. Tried to GammaRay this to find out which item causes the unwanted extra spacing, and it reproducibly crashes the moment I navigate into the FormLayout. :/ A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kirigami/-/merge_requests/850 Git commit 6cfe4af123a98ecacec5580a5e228a847789d9ad by Nate Graham. Committed on 07/12/2022 at 14:26. Pushed by ngraham into branch 'master'. FormLayout: remove excessive spacing above unlabeled separators The clear intention of the code (as even evidenced by a code comment) was to add more spacing above the label of a labeled separator item being used as a section header. But the code was not checking for whether the separator actually had a label, so the extra spacing log was being inappropriately applied to all separator items. FIXED-IN: 5.102 M +2 -3 src/controls/FormLayout.qml https://invent.kde.org/frameworks/kirigami/commit/6cfe4af123a98ecacec5580a5e228a847789d9ad |