Closed Bug 1982573 Opened 3 months ago Closed 2 months ago

[composable toolbar] Long-tap on the custom tab's URL doesn't trigger the context menu

Categories

(Firefox for Android :: Toolbar, defect, P2)

Firefox 143
All
Android
defect

Tracking

()

RESOLVED FIXED
144 Branch
Tracking Status
firefox143 --- wontfix
firefox144 --- fixed

People

(Reporter: mlobontiuroman, Assigned: petru)

References

(Blocks 1 open bug)

Details

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

Attachments

(1 file, 1 obsolete file)

Steps to reproduce

  1. Enable the "Compose Toolbar" from Secret settings.
  2. Make Firefox for Android the default browser.
  3. Go to Gmail, or other app to open a custom tab.
  4. Open a link as a custom tab.
  5. Long-tap on the custom tab's URL.

Expected behavior

The context menu is triggerred with the "copy" option.

Actual behavior

Nothing happens.

Device information

  • Firefox version: Nightly 143.0a1 from 8/10
  • Android device: Oppo Find X3 Lite (Android 11), Google Pixel 6 (Android 16)

Any additional information?

  • NOT reproducible with composable toolbar disabled
Assignee: nobody → petru
Status: NEW → ASSIGNED
Priority: -- → P2

This was indeed an overlook.
Since currently we use the same token/color for the toolbar and popups I've checked with UX if this should still be the case for custom tabs - eg: if the toolbar is blue should popups also be blue?
Posting here the response from Nicole:

Keep the (custom) color just for the toolbar and keep context menu and browser menu the same as what we have in Firefox respecting light/dark mode. I'm worried that we will run into accessibility, legibility issues, and keeping the browser color will also look more recognizable, trustworthy.

While the toolbar can have a custom color in custom tabs the popups shown
from the toolbar (the search selector or popup menus) will still follow the
application's theme.

Attachment #9506667 - Attachment is obsolete: true

Abandoning this after talking more with Noah about rather first adopting the new M3 tokens.

Assignee: petru → nobody
Blocks: ct-fenix-followups
No longer blocks: ct-bugs
Status: ASSIGNED → NEW
Priority: P2 → P3
Whiteboard: [fxdroid][group3][composable toolbar] → [fxdroid][group3]

Sorry, the theming part should be another ticket - we already have bug 1983833 for it but we can make the context menu work in this ticket.

Assignee: nobody → petru
Blocks: ct-bugs
No longer blocks: ct-fenix-followups
Status: NEW → ASSIGNED
Priority: P3 → P2
See Also: → 1983833
Whiteboard: [fxdroid][group3] → [fxdroid][group3][composable toolbar]
Pushed by plingurar@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/05bbce22fe39 https://hg.mozilla.org/integration/autoland/rev/c7900e1079b2 Show an option to copy the url when long clicking on the addressbar in custom tabs r=android-reviewers,Roger
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 144 Branch

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)

Small loss of functionality in while the feature is slowly rolled out to beta/release while already in the RC week.
Avoiding the uplift.

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

Attachment

General

Created:
Updated:
Size: