Closed Bug 2019462 Opened 2 months ago Closed 2 months ago

Stretched Kit wallpaper when homepage doesn't show any content and composable toolbar at the bottom is used

Categories

(Firefox for Android :: Homepage, defect)

Firefox 148
All
Android
defect

Tracking

()

VERIFIED FIXED
150 Branch
Tracking Status
firefox149 --- verified
firefox150 --- verified

People

(Reporter: nfurlan, Assigned: petru)

References

Details

(Whiteboard: [fxdroid][group3])

Attachments

(5 files, 1 obsolete file)

Steps to reproduce

  • Disable all items in your HNT
  • Have toolbar on the bttm
  • Configure the Kit wallpaper.
  • Navigation to a site,
  • Opening a new tab
  • Check Kit wallpaper

Expected behavior

Kit should be displayed correctly.

Actual behavior

Kit here should be pegged to the bottom right corner of the visible screen, but it looks like the wallpaper is being stretched beyond the edge of the screen. It flashes correctly for a split second when opening a new tab, but it reverts to the stretched position(?) when the keyboard disappears.

Device information

  • Firefox version: Firefox 148.0
  • Android device model: Pixel 9 Pro XL.
  • Android OS version:

Any additional information?

  • Compose toolbar needs to be enabled
Assignee: nobody → petru
Status: NEW → ASSIGNED
Summary: Issue with Kit when HNT doesn't have any component → Stretched Kit wallpaper when homepage doesn't show any content and composable toolbar at the bottom is used
Whiteboard: [fxdroid] → [fxdroid][group3]

This was hard to investigate since for me it reproduces only when the build is non-debuggable.
I can see the issue in a non-debuggable dev build and I can't see it in a debuggable Nightly build.

Think I though found the extra conditions for it:

  • a non-debuggable build - since it's faster than a debuggable one
  • have less/no home screen widgets shown - less functionalities means faster execution of the code
  • the composable toolbar at the bottom - searching through the composable toolbar has the entire home screen content accounting for the keyboard - to ensure the bottom toolbar is shown above the keyboard. The View based toolbar had search happen in a separate screen so the home content would not be touched in any way.

What happens (sometimes) is that:

See Also: → 1827107

Being a race condition with this many variables (that somehow get to align just right) means we have multiple possible approaches to avoid the issue.
I think the easiest and most natural is to observe wallpaper updates to refresh them only after the initial wallpaper set operation finished.
This would avoid the extra work to set again the same wallpaper and avoid also the issue reported here.

The flicker issue seems to be a separate bug, opened bug 2019584 for it.

See Also: → 2019584

This will allow checking if an operation is active and allow allow stopping it.

Attachment #9548209 - Attachment is obsolete: true
Attachment #9548210 - Attachment description: Bug 2019462 - part 2 - Start observing wallpapers updates only after one is first set r=#android-reviewers → Bug 2019462 - Start observing wallpapers updates only after one is first set r=#android-reviewers
See Also: → 2021006
Pushed by plingurar@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/62c571bdaa56 https://hg.mozilla.org/integration/autoland/rev/6634949b28a8 Start observing wallpapers updates only after one is first set r=android-reviewers,pollymce
Flags: qe-verify+
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 150 Branch
Regressions: 2021783

Verified as fixed on the latest Nightly 150.0a1 with Google Pixel 10 (Android 16).

Flags: qe-verify+
Attachment #9560399 - Flags: approval-mozilla-release?
Attachment #9560399 - Flags: approval-mozilla-release? → approval-mozilla-release+

This issue is verified as fixed on Firefox 149.0.1 using Samsung Galaxy s24 Ultra (Android 16). Confirming that the kit wallpaper is correctly displayed.

Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: