Created attachment 114144 [details] Mis-aligned header +++ This bug was initially created as a clone of Bug #396861 +++ With everything from git master. See attached screen recording: the Update page's header is centered until the window is resized, at which point it becomes correctly left-aligned. When centered, it undesirably makes the toolbar buttons lose their text labels.
Correct, can reproduce, discussed it with Marco last time we met, it's an issue in kirigami.
*** Bug 396861 has been marked as a duplicate of this bug. ***
Git commit 9a261bff2e518c734a24f0673c2e048987be3f25 by Marco Martin. Committed on 26/07/2018 at 15:23. Pushed by mart into branch 'master'. add ScenePosition element it's an attached property which allows to acess the scene position of its item, it's tracking it and can be binded to this should solve some positioning issues M +1 -0 src/CMakeLists.txt M +8 -6 src/controls/private/AbstractPageHeader.qml M +3 -2 src/controls/private/PageRowGlobalToolBarUI.qml M +3 -6 src/controls/templates/OverlayDrawer.qml M +2 -0 src/kirigamiplugin.cpp A +79 -0 src/scenepositionattached.cpp [License: LGPL (v2+)] A +76 -0 src/scenepositionattached.h [License: LGPL (v2+)] https://commits.kde.org/kirigami/9a261bff2e518c734a24f0673c2e048987be3f25
That commit made things much worse, I'm afraid. Now none of Discover's toolbars have header text when the window is somewhat narrow, and the toolbar buttons are never positioned properly. Can you test with Discover (especially the Settings and Updates pages) before pushing the next fix? Thanks!
That was fixed with https://cgit.kde.org/kirigami.git/commit/?id=448458d006f81ceb4629efc6ea3667e943ffe519