The comment dialog is spilling out of the viewport when the dialog is opened at the edge of the viewport
Categories
(Firefox :: PDF Viewer, defect, P1)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox145 | --- | verified |
People
(Reporter: rpopovici, Assigned: calixte)
References
Details
Attachments
(3 files)
Found in:
Nightly 145.0a1(2025-09-18)
Affected versions:
Nightly 145.0a1(2025-09-18)
Tested platforms:
Affected platforms: macOS 13.2.1, Ubuntu 24.10, Windows 10
Unaffected platforms:
Steps to reproduce:
- Load a PDF
- Select any length of text at the edge of the viewport/window.
- Click the "Comment" button under the text selection.
Expected result:
The 'Add Comment' dialog is displayed in the viewport regardless of window size.
Actual result:
When the dialog is opened at the edge of the viewport(window), the 'Add Comment' dialog spills out of the viewport. Please see the screenshot.
Regression range:
This is not a regression; it is a bug related to the new implementation of the PDF comments.
Additional notes:
The 'Add Comment' box should remain properly positioned when the browser is resized. The user should not scroll the page to reach 'Save'
button or the 'Add comment' dialog to be fully visible.
| Reporter | ||
Updated•9 months ago
|
| Reporter | ||
Updated•9 months ago
|
| Reporter | ||
Updated•9 months ago
|
Comment 1•9 months ago
|
||
| Reporter | ||
Updated•9 months ago
|
| Reporter | ||
Updated•9 months ago
|
| Reporter | ||
Updated•9 months ago
|
| Assignee | ||
Updated•9 months ago
|
Updated•9 months ago
|
| Reporter | ||
Comment 2•9 months ago
|
||
| Reporter | ||
Comment 3•9 months ago
•
|
||
Verified on the latest Nightly 145.0a1 (2025-10-02). Sometimes, when the Firefox window is resized, highlighting text on the left side of the PDF and opening the 'Add Comment' dialog causes the dialog to disappear after resizing the window again. When this happens, I can’t scroll the PDF to the left to bring the dialog back into view. Please see the attached screen recording.
Do you think we should reopen this issue or log another one?
| Reporter | ||
Updated•9 months ago
|
| Assignee | ||
Comment 4•9 months ago
|
||
It isn't easy to reproduce but I managed too.
Could you file a new bug please ?
| Reporter | ||
Comment 5•9 months ago
•
|
||
Hello Calixte,
I reported a new issue for this: https://bugzilla.mozilla.org/show_bug.cgi?id=1992358
| Reporter | ||
Comment 6•9 months ago
|
||
Verified as fixed in Nightly 145(2025-10-02) using MacOS 13.2.1, Windows 11 and Ubuntu 24.
| Reporter | ||
Updated•9 months ago
|
Description
•