Closed Bug 1312973 Opened 9 years ago Closed 9 years ago

[e10s][HiDPI] SVG cursor is upscaled incorrectly on HiDPI screen

Categories

(Core :: Widget, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1304098
Tracking Status
firefox52 --- affected

People

(Reporter: xidorn, Unassigned)

References

Details

See the attachment in bug 888781 comment 13. Open the test page and try the last block. That block uses an SVG image as cursor, so the cursor should be displayed properly in whatever DPI the screen is. However, it is upscaled incorrectly with e10s on all platforms. It is mainly because we prerender the cursor in the content process (in PuppetWidget::SetCursor) in the image's intrinsic size, and send the surface data to the chrome process to get the cursor displayed. Even if we use GetFrameAtSize to generate the image in scaled size, we would need a way to send the original size to the chrome process, otherwise it would just be scaled again.
Seems similar to bug 1304098
I guess it is actually a duplicate.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.