Open Bug 1340177 Opened 8 years ago Updated 2 years ago

Custom cursor offsets mouse location reported by mouse event on high resolution screen with text zoom enabled on windows

Categories

(Core :: Widget: Win32, defect, P3)

51 Branch
x86_64
Windows
defect

Tracking

()

UNCONFIRMED

People

(Reporter: brendan.c.stevenson, Unassigned)

Details

(Whiteboard: tpi:+)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36 Steps to reproduce: Implement a custom cursor through CSS. Here is an example: http://jsfiddle.net/TmsrP/898/ In windows display settings, set the text zoom higher than 100%. (http://www.windowscentral.com/how-make-text-apps-bigger-windows-10 for windows 10, similar instructions for windows 8 can be found online, i can repro in both) Click with that custom cursor on an element where you can be sure you can reproduce the click-location. Note the x & y values reported. (the jsfiddle above writes those values to console.log) Set the windows text zoom display setting to 100%. Repeat the click with the custom cursor. Note the x & y values reported. Actual results: The x & y values should be the same for both zoom settings (chrome, IE both show this behavior). Expected results: The x & y values are different (there is a consistent offset) when the windows display settings are set to zoom text.
Slight update to JSFiddle to provide a non-svg example as well: http://jsfiddle.net/TmsrP/899/
OS: Unspecified → Windows
Hardware: Unspecified → x86_64
Component: Untriaged → Widget: Win32
Product: Firefox → Core
Priority: -- → P3
Whiteboard: tpi:+
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.