Bug 404481 - Page.globalToolBarStyle None is ignored in mobile
Summary: Page.globalToolBarStyle None is ignored in mobile
Status: RESOLVED FIXED
Alias: None
Product: frameworks-kirigami
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: Master
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: Not decided
Assignee: Marco Martin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-17 15:56 UTC by Rinigus
Modified: 2019-03-05 10:02 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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