[macOS] Do no display highlight-specific context menu options (Copy Link to Highlight, Print selection, Copy) in the link context menu
Categories
(Core :: Widget: Cocoa, defect)
Tracking
()
People
(Reporter: asafko, Assigned: kpatenio)
References
(Regression)
Details
(Keywords: regression, Whiteboard: [fidefe-splitview] )
Attachments
(1 external file)
Currently, in macOS, context menu for a link displays up three actions that should only be displayed for a highlight context menu (when a user selects a text and then right-clicks it):
- Copy Link to Highlight
- Copy Clean Link to Highlight
- Print selection
- Copy
The link context menu works correctly in Release on all platforms, and doesn't display these options.
Comment 1•28 days ago
|
||
To be clear the "regression" part here is that right clicking a link now selects the word on macOS (bug 1751335).
Updated•28 days ago
|
Comment 2•28 days ago
|
||
:kpatenio, since you are the author of the regressor, bug 2044138, could you take a look? Also, could you set the severity field?
For more information, please visit BugBot documentation.
Comment 3•28 days ago
|
||
Err sorry.
Comment 4•28 days ago
|
||
Set release status flags based on info from the regressing bug 1751335
Comment 5•28 days ago
|
||
I may be misunderstanding the ask here, but this is indeed an intentional change and aligns us with Safari's behavior. Does this answer the question, or are you suggesting that we tweak the behavior?
Updated•28 days ago
|
Updated•26 days ago
|
Comment 6•21 days ago
•
|
||
(In reply to Stephen A Pohl [:spohl] from comment #5)
and aligns us with Safari's behavior.
The menu you get in Safari when you right-click a link is much more compact than ours. The new functionality increased the size of our menu. I think we need to revisit what items we really want in the context menu on a link.
Since ui.mouse.right_click.select_under_cursor is currently enabled for Nightly only on macOS, I don't think this should block Bug 2044138; the patches for the aforementioned ticket will focus on rearranging other context menu items for links (unrelated to text selection) and update strings accordingly. On other platforms and channels, the context menu would be aligned with the spec.
Not sure if Bug 2085873 should be added as "See Also" or "Depends on", but at the very least I'd like to remove it as a dependency blocking Bug 2044138.
Note: 2044138 adds [fidefe-splitview] as the whiteboard tag. I don't think this is the right tag for this issue, but linking it anyways so that it can be tracked on Jira.
Updated•13 days ago
|
An experimental patch to hide select menu items for links in nsContextMenu.sys.mjs.
Does so by adding a new property linkInSelection in ContextMenuChild.sys.mjs which checks if a link node is also a selection.
WIP changes were built on top of Bug 2044138 patch stack.
Not a final submission.
Updated•7 days ago
|
Updated•6 days ago
|
Comment 10•4 days ago
|
||
| bugherder | ||
Comment 11•4 days ago
|
||
Since nightly and release are affected, beta will likely be affected too.
For more information, please visit BugBot documentation.
Comment 12•4 days ago
|
||
The patch landed in nightly and beta is affected.
:kpatenio, please make an uplift decision for beta:
- For beta, nominate the patch for beta uplift approval if the fix should be included in this release, or set
status-firefox162towontfixif the fix can wait for the next release.
Uplift requests can be submitted from Lando: D341673.
See Requesting an Uplift for documentation on how to request an uplift.
For more information, please visit BugBot documentation.
Updated•3 days ago
|
Description
•