Closed Bug 2046696 Opened 20 days ago Closed 20 days ago

Swiping vertically in search results can open the tabs tray

Categories

(Firefox for Android :: Toolbar, defect)

All
Android
defect

Tracking

()

VERIFIED FIXED
153 Branch
Tracking Status
relnote-firefox --- 152+
firefox151 --- wontfix
firefox152 --- verified
firefox153 --- verified

People

(Reporter: petru, Assigned: petru)

References

(Regression)

Details

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

Attachments

(4 files)

Steps to reproduce

  1. ensure "Swipe toolbar vertically to see open tabs" is enabled in Settings -> Customize
  2. ensure the toolbar is shown at the bottom of the screen
  3. do a search
  4. tap on the search item to update the original search
  5. Swipe up in search results (not in the toolbar)

Expected behavior

The keyboard closes

Actual behavior

The tabs tray is opened

The issue happened because the BrowserToolbarComposable's layout contains also the
Awesomebar so when searching the BrowserToolbarComposable's height is close to the
entire screen's height which would have ~any vertical swipe seen as swipes over the
toolbar that should open the tabs tray.

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

Pushed by plingurar@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/fd83f8b9cadc https://hg.mozilla.org/integration/autoland/rev/80204e5046f2 Avoid a vertical toolbar swipe opening tabs tray if currently searching r=android-reviewers,mcarare
Status: ASSIGNED → RESOLVED
Closed: 20 days ago
Resolution: --- → FIXED
Target Milestone: --- → 153 Branch

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

For more information, please visit BugBot documentation.

Flags: needinfo?(petru)
Flags: needinfo?(petru) → qe-verify+

Adding back my NI to remember to ask for uplift after QA verifies the fix.

Flags: needinfo?(petru)

This issue is verified as fixed on Firefox for Android Nightly 154 and Firefox 153 beta 1 build 2 on Samsung S24 Ultra (Android 16) and Google Pixel 10 pro (Android 16).

Status: RESOLVED → VERIFIED
Flags: qe-verify+

firefox-release Uplift Approval Request

  • User impact if declined/Reason for urgency: v152 introduced a new swipe up gesture on the bottom toolbar to open the tabstray that can conflict with the same gesture that puts the app to background and users complained about the conflict.
    These patches reduce the sensibility of our gesture to avoid the conflict.
  • Code covered by automated testing?: yes
  • Fix verified in Nightly?: yes
  • Needs manual QE testing?: yes
  • Steps to reproduce for manual QE testing: https://bugzilla.mozilla.org/show_bug.cgi?id=2046696#c0 & https://bugzilla.mozilla.org/show_bug.cgi?id=2037701#c0
  • Risk associated with taking this patch: low
  • Explanation of risk level: Small, targeted changes verified by QA.
  • String changes made/needed?: --
  • Is Android affected?: yes
Attachment #9599702 - Flags: approval-mozilla-release?
Flags: qe-verify+

The issue happened because the BrowserToolbarComposable's layout contains also the
Awesomebar so when searching the BrowserToolbarComposable's height is close to the
entire screen's height which would have ~any vertical swipe seen as swipes over the
toolbar that should open the tabs tray.

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

Flags: needinfo?(petru)
Attachment #9599702 - Flags: approval-mozilla-release? → approval-mozilla-release+
Flags: in-testsuite+

Added to the 152.0.4 relnotes.

Verified as fixed on the 152.0.4 Firefox for Android, using a Samsung Galaxy S24 (Android 16), and a Motorola Moto G30 (Android 12).

Flags: qe-verify+
QA Whiteboard: [qa-triage-done-c154/b153]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: