Closed Bug 1998100 Opened 9 months ago Closed 9 months ago

Empty strip remains and stories section cut when scrolling on homescreen with the toolbar set to top with composable toolbar disabled

Categories

(Firefox for Android :: Toolbar, defect)

Firefox 146
All
Android
defect

Tracking

()

VERIFIED FIXED
147 Branch
Tracking Status
firefox144 --- unaffected
firefox145 --- verified
firefox146 --- verified
firefox147 --- verified

People

(Reporter: ljanos, Assigned: petru)

References

(Regression)

Details

(Keywords: regression, Whiteboard: [fxdroid][group3])

Attachments

(9 files)

4.18 MB, video/mp4
Details
3.79 MB, video/mp4
Details
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
3.01 MB, video/mp4
Details
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review

Steps to reproduce

  1. Make sure Composable toolbar is disabled from Secret Settings.
  2. Make sure to have the toolbar set on top in Settings>Customize.
  3. Go to homescreen and scroll down.
  4. Observe the top part of the screen.

Expected behavior

The whole screen is scrolled.

Actual behavior

  • There's an empty strip above the logo and the PB icon that remains there when scrolling.
  • Stories section is either cut or not reachable on some devices.

Device information

  • Firefox versions: Nightly 146.0a1, Beta 145.0b9, RC 145.0
  • Android device model: OnePlus 13R
  • Android OS version: 15

Any additional information?

As the composable toolbar is not enabled by default on the latest Beta (145.0b9) and latest RC 145.0 builds, the issue is reproducible without any additional settings, on Nightly the feature needs to be turned off in order to reproduce the issue.

  • Last good build: Nightly 145.0a1 from 2025-09-17-16-16-33.
  • First bad build: Nightly 145.0a1 from 2025-09-18-09-15-32.
Severity: -- → S3
Summary: Empty strip remains when scrolling on homescreen with the toolbar set to top with composable toolbar disabled → Empty strip remains and stories section cut when scrolling on homescreen with the toolbar set to top with composable toolbar disabled

Stories section is not reachable on Lenovo TB X606X (Android 10)

Duplicate of this bug: 1998589
Assignee: nobody → petru
Status: NEW → ASSIGNED
Regressed by: 1988105
Whiteboard: [fxdroid][group3]
Duplicate of this bug: 1999553

The View based toolbar is part of the layout while the composable toolbar is
added as an overlay so only n this case the padding is needed.

Set release status flags based on info from the regressing bug 1988105

Attachment #9526147 - Attachment description: Bug 1998100 - Don't add a top padding on homepage if using the View based toolbar r=#android-reviewers → Bug 1998100 - part 1 - Don't add a top padding on homepage if using the View based toolbar r=#android-reviewers

This is an old bug stemming from the act that home Views are not shown in a
vertical layout group but rather independent from each other so they need
custom padding set to ensure a consistent UI.
(Fix/issue can be observed more easily if the tabstrip is also enabled)

Pushed by plingurar@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/dd3c500a9dd8 https://hg.mozilla.org/integration/autoland/rev/9e05261f9cde part 1 - Don't add a top padding on homepage if using the View based toolbar r=android-reviewers,Roger https://github.com/mozilla-firefox/firefox/commit/6b0ded1484ea https://hg.mozilla.org/integration/autoland/rev/90d390c049c7 part 2 - Ensure the right bottom padding depending on the top View based toolbar r=android-reviewers,Roger
Status: ASSIGNED → RESOLVED
Closed: 9 months ago
Resolution: --- → FIXED
Target Milestone: --- → 147 Branch
Flags: qe-verify+

The patch landed in nightly and beta is affected.
:petru, is this bug important enough to require an uplift?

For more information, please visit BugBot documentation.

Flags: needinfo?(petru)

This issue is still reproducible on the latest Nightly 147.0a1 (2025-11-13) using a Moto G72 (Android 13) and a Realme 14 Pro+ 5G (Android 15). On both devices, both issues are reproducible — the empty strip and the cut Stories section.
On a Samsung S25 Ultra (Android 15) and a Google Pixel 10 (Android 16), the empty strip does not appear, but the Stories section is still cut.

Status: RESOLVED → REOPENED
Flags: qe-verify+
Resolution: FIXED → ---

Verified as fixed on the latest Nighlty 147.0a1 with Realme 14 Pro + 5G - Android 15, Moto G72 (Android 13) , and Google Pixel 10 (Android 16).

Status: REOPENED → RESOLVED
Closed: 9 months ago9 months ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED

The layout is updated to account for the top View based toolbar inside
HomeToolbarView already.

Original Revision: https://phabricator.services.mozilla.com/D272235

Attachment #9527167 - Flags: approval-mozilla-beta?

firefox-beta Uplift Approval Request

  • User impact if declined: Incorrect margins for the content of the home screen resulting in either empty space at the top either content being clipped at the bottom.
  • Code covered by automated testing: no
  • Fix verified in Nightly: yes
  • Needs manual QE test: yes
  • Steps to reproduce for manual QE testing: https://bugzilla.mozilla.org/show_bug.cgi?id=1998100#c0
  • Risk associated with taking this patch: low
  • Explanation of risk level: Small targeted change verified by QA in Nightly.
  • String changes made/needed: --
  • Is Android affected?: yes
Attachment #9527168 - Flags: approval-mozilla-beta?
Flags: qe-verify+

This is an old bug stemming from the act that home Views are not shown in a
vertical layout group but rather independent from each other so they need
custom padding set to ensure a consistent UI.
(Fix/issue can be observed more easily if the tabstrip is also enabled)

Original Revision: https://phabricator.services.mozilla.com/D272243

The layout is updated to account for the top View based toolbar inside
HomeToolbarView already.

Original Revision: https://phabricator.services.mozilla.com/D272235

Attachment #9527169 - Flags: approval-mozilla-release?

firefox-release Uplift Approval Request

  • User impact if declined: Incorrect margins for the content of the home screen resulting in either empty space at the top either content being clipped at the bottom.
  • Code covered by automated testing: no
  • Fix verified in Nightly: yes
  • Needs manual QE test: yes
  • Steps to reproduce for manual QE testing: https://bugzilla.mozilla.org/show_bug.cgi?id=1998100#c0
  • Risk associated with taking this patch: low
  • Explanation of risk level: Small targeted change verified by QA in Nightly.
  • String changes made/needed: --
  • Is Android affected?: yes
Attachment #9527170 - Flags: approval-mozilla-release?

This is an old bug stemming from the act that home Views are not shown in a
vertical layout group but rather independent from each other so they need
custom padding set to ensure a consistent UI.
(Fix/issue can be observed more easily if the tabstrip is also enabled)

Original Revision: https://phabricator.services.mozilla.com/D272243

Attachment #9527169 - Flags: approval-mozilla-release? → approval-mozilla-release+
Attachment #9527170 - Flags: approval-mozilla-release? → approval-mozilla-release+

Verified as fixed on the RC 145.0.1 with Samsung S24 Ultra (Android 15).

Flags: qe-verify+
Attachment #9527167 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Attachment #9527168 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Duplicate of this bug: 2000372

Verified as fixed on Fenix 146.0b5 using a Google Pixel 10 (Android 16) and a Moto G72 (Android 13). However, we opened a new issue exclusively affecting tablets in strip mode.

See Also: → 2001292
Flags: needinfo?(petru)
See Also: → 2016139
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: