Closed Bug 2022311 Opened 6 months ago Closed 6 months ago

Disable "Ask LLM" on document PiP and maybe popups

Categories

(Core :: Machine Learning: Frontend, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
150 Branch
Tracking Status
firefox150 --- fixed

People

(Reporter: vhilla, Assigned: vhilla)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

mconley pointed out to us that "Ask ChatGPT" and similar context menu entries don't work for Document Picture-in-Picture windows and popups.

Document PiP use cases like floating media players don't really make sense with LLM integration, I'm less sure about popups. It should be simple to disable such context menu entries based on browsingContext.isDocumentPiP or on being a popup. If desired, I can file a follow-up to make the sidebar work with popups.

Example: https://bug2008334.bmoattachments.org/attachment.cgi?id=9535360

Blocks: doc-pip-api

( I don't think this is a high priority, I'll look into a patch tomorrow )

Assignee: nobody → vhilla
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → 150 Branch
QA Whiteboard: [qa-triage-done-c151/b150]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: