Delete this Smart Page? pop up is affected by page zoom
Categories
(Core :: Machine Learning: Frontend, defect)
Tracking
()
People
(Reporter: atrif, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [aiaug])
Attachments
(1 file)
|
2.64 MB,
image/gif
|
Details |
Found in
- Nightly 163.0a1 (2026-11-25)
Affected versions
- Nightly 163.0a1 (2026-11-25)
- 162.0b1
- 161.0
Affected platforms
- All
Preconditions
- Enable Smart Window.
- browser.smartwindow.aitab.enabled: true
Steps to reproduce
- Ask the assistant to create a page
- Open the created page and click to delete the page.
- Zoom in or out of the page.
Expected result
- The
Delete this Smart Page?pop-up is not affected by the page zoom.
Actual result
- The
Delete this Smart Page?pop-up is affected by the page zoom.
Regression range
N/A
Updated•4 days ago
|
Comment 1•4 days ago
|
||
| frontend-triage | ||
The confirmation is an in-content <dialog> opened with showModal() in aitab-page-actions.mjs, so it belongs to the about:smartpage document and scales with its zoom like the rest of the page.
Fix: Drop the in-content dialog and have #handleDeletePage in AITabParent.sys.mjs confirm through Services.prompt.asyncConfirmEx(this.browsingContext, Ci.nsIPrompt.MODAL_TYPE_TAB, ...), following deleteMonitorWithConfirmation in MonitorUIUtils.sys.mjs but with a tab-modal prompt, return {success: true, cancelled: true} on cancel for #deletePage in aitab-page.mjs to ignore, and move browser_aitab_actions.js to the prompt.
Suggested severity: S4. The dialog stays fully usable at any zoom level and only its scale differs, so this is cosmetic.
If you'd like to provide feedback on this comment, please use the 👍 or 👎 reaction.
If you want to categorize your feedback you can add one of the following tags: ai-triage-{wrong-file, wrong-cause, hallucination, out-of-scope, not-a-bug, wrong-fix, shallow-fix, wrong-severity}.
Needinfo hackbot@mozilla.tld to have a patch generated for this bug, include any questions or directions as needed in your comment.
Description
•