Bug 443146 - Anchor setting issue in AboutPage.qml
Summary: Anchor setting issue in AboutPage.qml
Status: RESOLVED FIXED
Alias: None
Product: frameworks-kirigami
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: Master
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: Not decided
Assignee: Marco Martin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-30 02:20 UTC by Snehit Sah
Modified: 2021-10-01 17:31 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.87
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Snehit Sah 2021-09-30 02:20:43 UTC
SUMMARY

This line contains a typo in "parent"

https://invent.kde.org/frameworks/kirigami/-/blob/master/src/controls/AboutPage.qml#L56

However, "anchors.fill: parent" doesn't seem to be the correct property, as it left aligns the about page, whereas we want it to be center aligned.

Removing the line produces the desired result.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: EndeavourOS 
(available in About System)
KDE Plasma Version: 5.22.90
KDE Frameworks Version: 5.86.0
Qt Version: 5.13.2
Comment 1 Nate Graham 2021-09-30 14:54:53 UTC
Good catch. In fact the problem is that "parent" is misspelled; it says "parnet" instead! Wanna fix it? You can submit a merge request here: https://invent.kde.org/frameworks/kirigami/-/merge_requests/
Comment 2 Snehit Sah 2021-10-01 12:00:01 UTC
(In reply to Nate Graham from comment #1)
> Good catch. In fact the problem is that "parent" is misspelled; it says
> "parnet" instead! Wanna fix it? You can submit a merge request here:
> https://invent.kde.org/frameworks/kirigami/-/merge_requests/

Thanks!
I have created a merge request : https://invent.kde.org/frameworks/kirigami/-/merge_requests/384
Comment 3 Nate Graham 2021-10-01 17:31:14 UTC
Fixed by Snehit Sah with https://invent.kde.org/frameworks/kirigami/-/commit/84438e5bd6721102a5db6190af6b74c7ffda0573 in Frameworks 5.87!