Bug 404481

Summary: Page.globalToolBarStyle None is ignored in mobile
Product: [Frameworks and Libraries] frameworks-kirigami Reporter: Rinigus <rinigus.git>
Component: generalAssignee: Marco Martin <notmart>
Status: RESOLVED FIXED    
Severity: normal CC: nate, rinigus.git
Priority: NOR    
Version First Reported In: Master   
Target Milestone: Not decided   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Rinigus 2019-02-17 15:56:49 UTC
SUMMARY

When declaring that a specific page should have no toolbar, toolbar is still shown when using QT_QUICK_CONTROLS_MOBILE=1

STEPS TO REPRODUCE
1. On Page, declare property `globalToolBarStyle: Kirigami.ApplicationHeaderStyle.None`
2. Start application with QT_QUICK_CONTROLS_MOBILE=1 and observe that toolbar is still rendered on that page
3. Start application with QT_QUICK_CONTROLS_MOBILE=1 and observe that there is no toolbar, as expected

OBSERVED RESULT

see above

EXPECTED RESULT

see above

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: gentoo
(available in About System)
KDE Frameworks Version: current master
Qt Version: 5.11
Comment 1 Marco Martin 2019-03-05 10:02:41 UTC
Git commit 4bf1d0e87b41e1eb5782295ce29500cd7abce3f1 by Marco Martin.
Committed on 05/03/2019 at 10:02.
Pushed by mart into branch 'master'.

hide breadcrumb on pages that don't want a toolbar

M  +3    -1    src/controls/PageRow.qml
M  +1    -1    src/controls/private/globaltoolbar/PageRowGlobalToolBarUI.qml

https://commits.kde.org/kirigami/4bf1d0e87b41e1eb5782295ce29500cd7abce3f1