[composable toolbar] status bar color does not match custom toolbar background color in custom tabs
Categories
(Firefox for Android :: Toolbar, defect, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox144 | --- | fixed |
People
(Reporter: michel, Assigned: petru)
References
(Blocks 1 open bug)
Details
(Whiteboard: [fxdroid][group3][composable toolbar])
Attachments
(2 files, 3 obsolete files)
Steps to reproduce
- Open a Fenix custom tab with an app that sets
setToolbarColor - Notice that the status bar (the system bar on top of the screen) only follows the device theme and doesn't match the toolbar color
Expected behavior
The status bar color should match the toolbar color or at least be dark when the toolbar color is dark and the other way around.
Actual behavior
The status bar color follows the device theme and does not match the custom toolbar background color.
Device information
- Firefox version: -
- Android device model: -
- Android OS version: -
Any additional information?
| Assignee | ||
Comment 1•10 months ago
|
||
This is an issue affecting the toolbar View also.
Postponing this for later.
| Assignee | ||
Comment 2•10 months ago
|
||
When edge-to-edge is enabled Android doesn't theme anymore the system bars
so we have to do it ourselves.
The new method allows configuring the window background for the status bar,
the navigation bar and any horizontal insets but it is state-less - calling
it again with a different colour will reset the backgrounds set before.
Updated•10 months ago
|
| Assignee | ||
Comment 3•10 months ago
|
||
| Assignee | ||
Comment 4•10 months ago
|
||
Updated•10 months ago
|
Comment 5•10 months ago
|
||
Comment on attachment 9507107 [details]
Bug 1981861 - part 2 - Theme system bars when using custom tabs with the Toolbar View r=#android-reviewers
Revision D261096 was moved to bug 1983103. Setting attachment 9507107 [details] to obsolete.
| Assignee | ||
Updated•10 months ago
|
Updated•10 months ago
|
| Assignee | ||
Comment 6•10 months ago
|
||
Small update to the naming to provide data instead of behavior through the State.
| Assignee | ||
Comment 7•10 months ago
|
||
This was needed to support trending/shortcuts/past searches suggestions
which are to be shown only for searches started from a loaded website
as long as there is no user typed search query.
Comment 8•10 months ago
|
||
Comment on attachment 9507836 [details]
WIP: Bug 1981861 - part 2 - Update composable toolbar parameter name to avoid asking for behavior
Revision D261557 was moved to bug 1982356. Setting attachment 9507836 [details] to obsolete.
Comment 9•10 months ago
|
||
Comment on attachment 9507837 [details]
WIP: Bug 1981861 - part 3 - Add search being started from a loaded website to the search state
Revision D261558 was moved to bug 1982356. Setting attachment 9507837 [details] to obsolete.
Comment 10•10 months ago
|
||
Comment 11•10 months ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/1feee6c62130
https://hg.mozilla.org/mozilla-central/rev/be8044e078ce
Description
•