Closed Bug 1968196 Opened 3 months ago Closed 2 months ago

The search bar is not in focus and the keyboard is not displayed after confirming the authentication for a session opened via a PB shortcut

Categories

(Firefox for Android :: Privacy, defect)

All
Android
defect

Tracking

()

VERIFIED FIXED
141 Branch
Tracking Status
firefox138 --- unaffected
firefox139 --- unaffected
firefox140 --- verified
firefox141 --- verified

People

(Reporter: vtamas, Assigned: anpopa)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fxdroid][group2])

Attachments

(5 files)

Attached video PrivateShortcut.mp4

Preconditions

  • Lock tabs feature is enabled.
  • Have at least one private tab open.

Steps to reproduce

  1. Go to Settings -> Private mode and tap on "Add private browsing shortcut".
  2. Tap on the newly added shortcut.
  3. Confirm the Biometric authentication using the requested method.
  4. Check the PB homepage.

Expected behavior

Private mode homepage displays the keyboard and the searchbar in focus.

Actual behavior

The searchbar is not in focus and the keyboard is not displayed.

Device information

  • Firefox version: Firefox for android Nightly 140 (2025-05-22)
  • Android device model: Samsung S24 Ultra (Android 14), Google Pixel 8 (Android 15)
Whiteboard: [fxdroid][group2]
Assignee: nobody → anpopa

Not a blocker for 140

Blocks: 1971371
No longer blocks: 1971371

Is this bug still valid? I'm not able to reproduce on the most recent Nightly from the Play Store.

(In reply to :Gela from comment #3)

Created attachment 9493887 [details]
screen-20250610-110140.mp4

Is this bug still valid? I'm not able to reproduce on the most recent Nightly from the Play Store.

This issue still reproduces in latest Firefox for Android Nightly 141 (2025-06-10) and Firefox 140 beta 7. You need to have at least one tab opened and to confirm the authentication screen in order to reproduce this issue.

Blocks: 1971378
No longer blocks: 1807553
Pushed by gmalekpour@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/d5e8dda9ad5d https://hg.mozilla.org/integration/autoland/rev/26dbfa0f28c7 Fix focus on search bar when opening the app via private browsing shortcut with screen lock for private tabs enabled r=android-reviewers,gmalekpour,rebecatudor273
Status: NEW → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 141 Branch
Flags: qe-verify+

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

For more information, please visit BugBot documentation.

Flags: needinfo?(anpopa)

Comment on attachment 9493840 [details]
Bug 1968196 - Fix focus on search bar when opening the app via private browsing shortcut with screen lock for private tabs enabled

Beta/Release Uplift Approval Request

  • User impact if declined/Reason for urgency: The search bar would not be in focus and the keyboard would not be displayed if the user navigates to the application via private browsing shortcut with screen lock for private tabs enabled and having at least one private tab open.
  • Is this code covered by automated tests?: No
  • Has the fix been verified in Nightly?: No
  • Needs manual test from QE?: Yes
  • If yes, steps to reproduce: Preconditions:
    Lock tabs feature is enabled.
    Have at least one private tab open.

Steps to reproduce:
Go to Settings -> Private mode and tap on "Add private browsing shortcut".
Tap on the newly added shortcut.
Confirm the Biometric authentication using the requested method.
Check the PB homepage.

Expected behavior:
Private mode homepage displays the keyboard and the searchbar in focus.

  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Low risk overall, with a limited risk of affecting search bar focus behavior in other navigation flows.
  • String changes made/needed:
  • Is Android affected?: Yes
Flags: needinfo?(anpopa)
Attachment #9493840 - Flags: approval-mozilla-beta?

Comment on attachment 9493840 [details]
Bug 1968196 - Fix focus on search bar when opening the app via private browsing shortcut with screen lock for private tabs enabled

Beta is currently closed since Fx140 is now in Release.
Switching approval request from Beta to Release for consideration in a later dot release.

Attachment #9493840 - Flags: approval-mozilla-beta? → approval-mozilla-release?

Confirmed the issue on earlier Nightly 141.0a1 build.

Verified as fixed on the latest Nightly build (2025-06-22).

The Private mode homepage displays the keyboard and the searchbar in focus.

Devices used for testing:

  • Samsung Galaxy S23 Ultra (Android 14);
  • Google Pixel 9 Pro XL (Android 16).

Marking the ticket as verified on 141.

Flags: qe-verify+

Comment on attachment 9493840 [details]
Bug 1968196 - Fix focus on search bar when opening the app via private browsing shortcut with screen lock for private tabs enabled

Approved for 140.0.3

Attachment #9493840 - Flags: approval-mozilla-release? → approval-mozilla-release+
Attached video Searchbar&keyboard.mp4

This issue is verified as fixed on Firefox for Android 140.0.3 using Samsung S24 Ultra (Android 15) and Oppo Find X3 Neo (Android 11). The searchbar is in focus and the keyboard is automatically displayed after confirming the authentication for a session opened via a PB shortcut.

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

Attachment

General

Created:
Updated:
Size: