Closed Bug 1997637 Opened 5 months ago Closed 5 months ago

[composable toolbar] "Fill link from clipboard" dropdown shows up (and is unusable) in custom tabs, if it's present in main Firefox session

Categories

(Firefox for Android :: Toolbar, defect)

All
Android
defect

Tracking

()

RESOLVED FIXED
146 Branch
Tracking Status
firefox144 --- disabled
firefox145 --- disabled
firefox146 --- fixed

People

(Reporter: dholbert, Assigned: petru)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fxdroid][group3][composable toolbar])

Attachments

(3 files)

Steps to reproduce

  1. Have Firefox Nightly set to be your default browser.
  2. Copy a URL to your clipboard.
  3. Open a new tab in Firefox and tap the URL bar, so that "Fill link from clipboard" UI shows up (attached to the URL bar)
  4. Switch to another app (e.g. Gmail) and tap a link to open a custom tab.

Expected behavior

Regular-looking custom tab.

Actual behavior

The Custom Tab has "Fill link from clipboard" present, attached to its (non-editable) toolbar. (Somewhat-unsurprisingly, it doesn't do anything if you tap it.)

Device information

  • Firefox version: 146.0a1 Nightly
  • Android device model: Pixel 6a
  • Android OS version: 16

Any additional information?

This bug reproduce if the Composable Toolbar is enabled.
So it affects Nightly 146 and Firefox 145 beta (tested & confirmed); and I tried turning off the Composable Toolbar option in beta and confirmed that the bug stopped reproducing.

It does not affect Firefox 144 release by default (because Composable Toolbar is off-by-default there); but if I use secret-settings to enable Composable Toolbar (and then quit-and-restart Firefox and Gmail for good measure), then it reproduces there too.

Note, this is superficially similar to bug 1993429 (see bug 1993429 comment 2 which mentions it being expected that we potentially show the "Fill link from clipboard" multiple times), but in this case here, we're showing it in a place where it's not useful and not functional.

Blocks: ct-bugs
No longer blocks: 1948591
Attachment #9523845 - Attachment description: screencast showing the bug ("fill link from keyboard" shows up but is unusable at t=10s)) → screencast showing the bug ("fill link from keyboard" shows up but is unusable at t=10s)
Attached image screenshot of bug

[ni=petru for triage since I think he's working on this feature]

Also, even though I was able to repro on beta (145.0b8), it looks like we can consider this disabled for v145 via bug 1997076 which landed after the commit that b8 was built from.

Flags: needinfo?(petru)

Thanks for the ping!
Interesting scenario!

Assignee: nobody → petru
Status: NEW → ASSIGNED
Flags: needinfo?(petru)
Whiteboard: [fxdroid][group3][composable toolbar]

Guard showing the AwesomeBar in custom tabs similarly to how we check
and avoid showing the TabStrip in custom tabs.

Status: ASSIGNED → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → 146 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: