Fix recent toolbar layout regression
AbandonedPublic

Authored by ngraham on Jun 22 2018, 1:44 PM.

Details

Reviewers
None
Group Reviewers
Discover Software Store
Summary

D13663 fixed the issue, so let's use it and then bump the required Kirigami frameworks version

BUG: 395455
Depends on D13663

Test Plan

Looked at Discover; the issue is fixed.

Diff Detail

Repository
R134 Discover Software Store
Branch
fix-toolbar-layout-regression (branched from master)
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 227
Build 227: arc lint + arc unit
ngraham created this revision.Jun 22 2018, 1:44 PM
Restricted Application added a project: Plasma. · View Herald TranscriptJun 22 2018, 1:44 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
ngraham requested review of this revision.Jun 22 2018, 1:44 PM
mart added a subscriber: mart.Jun 25 2018, 9:26 AM
mart added inline comments.
discover/qml/DiscoverWindow.qml
30

why the logic of all of this?

mart added a comment.Jun 25 2018, 9:32 AM

oh, yes, i know why the extra space problem, i'll fix

discover/qml/DiscoverWindow.qml
30

no applicationheader should be there at any point, in any formfactor, unless you want something to go on top of the toolbar

mart added a comment.Jun 25 2018, 12:29 PM

last version of D13663 should fix that bug

ngraham edited the test plan for this revision. (Show Details)Jun 26 2018, 2:16 AM
mart added a comment.Jun 27 2018, 9:50 AM

I'm still not sure about it.
is it supposed to switch to breadcrumb when the window is narrow? (and buttons as fab on the bottom) in kirigami desktop apps are supposed to always have the top toolbar, even when they are narrow, that's why it gets navigation buttons, even when they are in tablet mode: bottom action buttons are purely for reachability in single hand mode on phones.

Note that this has nothing to do with plasma mobile, there it would always be in breadcrumb+fab mode (you can test its behavior on desktop with export QT_QUICK_CONTROLS_MOBILE=1)