Closed
Bug 1995579
Opened 8 months ago
Closed 8 months ago
The comment dialog pop-up might spill out of the viewport if the browser window is a smaller size
Categories
(Firefox :: PDF Viewer, defect, P3)
Tracking
()
VERIFIED
FIXED
146 Branch
People
(Reporter: danibodea, Assigned: calixte)
References
Details
Attachments
(2 files)
Note
- When a smaller browser window is used and a comment pop-up is opened, it might spill out of the window. A horizontal scrollbar is not created to accpunt for the spillout.
- This issue more likely occurs when the comment is placed in the middle of the page because it opend to a side or another. In this case, our suggestion would be to center the pop-up in the available wiewport and add a horizontal scrollbar to compensate for further spilling.
Found in
- Beta v145.0b4
Affected versions
- Beta v145.0b4
- Nightly v146.0a1
Tested platforms
- Affected platforms: all
- Unaffected platforms: none
Steps to reproduce
- Load a PDF.
- Insert an annotation (Highlight, signature, text insert, etc.) in the center of the document.
- Attach a somewhat longer comment.
- Make the browser window smaller (1/3 of the screen width)
- Open the in-content comment pop-up.
Expected result
- The comment might spill out of the viewport; no horizontal scrollbar present.
Actual result
- The comment is centered inside the viewport; horizontal scrollbar is present to compensate for spills.
Regression range
- Not a regression.
| Reporter | ||
Updated•8 months ago
|
Blocks: 1989310
Has STR: --- → yes
QA Whiteboard: [QA-4345][qa-found-in-b145][S3]
status-firefox145:
--- → affected
status-firefox146:
--- → affected
| Assignee | ||
Updated•8 months ago
|
Severity: -- → S3
Priority: -- → P3
| Assignee | ||
Updated•8 months ago
|
Assignee: nobody → cdenizet
Status: NEW → ASSIGNED
Comment 1•8 months ago
|
||
Updated•8 months ago
|
Status: ASSIGNED → RESOLVED
Closed: 8 months ago
Resolution: --- → FIXED
Target Milestone: --- → 146 Branch
Updated•8 months ago
|
Summary: The comment dialog pop-up might spill out of the vierwport if the browser window is a smaller size → The comment dialog pop-up might spill out of the viewport if the browser window is a smaller size
| Reporter | ||
Comment 2•8 months ago
|
||
I can confirm this fix in Nightly v146.0a1 from 2028-10-24 and Beta v145.0b6 (treeherder builds). The fix was verified in Windows 10, MacOS 14.7.1 and Ubuntu 22. The pop-up no longer spills out as it is now automatically horizontally fit inside the viewport. The longer comments display downwords and a scrollbar is created to allow the user to easily scroll down and read it.
Status: RESOLVED → VERIFIED
OS: Unspecified → All
Hardware: Unspecified → Desktop
You need to log in
before you can comment on or make changes to this bug.
Description
•