Bug 476091 - Anchors bug in PageRowGlobalToolBarUI
Summary: Anchors bug in PageRowGlobalToolBarUI
Status: RESOLVED FIXED
Alias: None
Product: frameworks-kirigami
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: Master
Platform: Other Linux
: NOR normal
Target Milestone: Not decided
Assignee: kdelibs bugs
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2023-10-25 16:46 UTC by ratijas
Modified: 2023-11-08 20:16 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ratijas 2023-10-25 16:46:40 UTC
SUMMARY

file:///usr/local/kde6/lib/qml/org/kde/kirigami/private/globaltoolbar/PageRowGlobalToolBarUI.qml:55:5: QML Rectangle: Cannot specify top, bottom, and verticalCenter anchors at the same time.

Are the anchors being assigned some conditional expressions without an atomic state machine?

STEPS TO REPRODUCE
1. Open any QML based app with a global toolbar, such as Kirigami Gallery or QML based KCM in System Settings

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.27.80
KDE Frameworks Version: 5.240.0
Qt Version: 6.6.0
Comment 1 Joshua Goins 2023-11-08 20:16:06 UTC
Git commit acef01e6996b231945a03f510fb95fc424334c64 by Joshua Goins.
Committed on 08/11/2023 at 21:16.
Pushed by redstrate into branch 'master'.

Don't set top and bottom anchors since verticalCenter is used

AbstractApplicationHeader sets verticalCenter on its children, so remove
the explicit top/bottom anchors.

M  +0    -2    src/controls/private/globaltoolbar/PageRowGlobalToolBarUI.qml

https://invent.kde.org/frameworks/kirigami/-/commit/acef01e6996b231945a03f510fb95fc424334c64