You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
The right-pointing mouse pointer is oversized in high DPI #5
changed the title [-]The right-pointing mouse pointer is oversized under Chrome 51, win64, 200% dpi[/-][+]The right-pointing mouse pointer is oversized under Chrome 51.0.2704.103 m, Windows 10 x64, 200% dpi[/+]on Jun 20, 2016
changed the title [-]The right-pointing mouse pointer is oversized under Chrome 51.0.2704.103 m, Windows 10 x64, 200% dpi[/-][+]The right-pointing mouse pointer is oversized in high DPI[/+]on Jun 20, 2016
I was going to try this on my high DPI Windows machine, but I don't even get a right-facing pointer in that scenario. (Using Chrome Version 53.0.2767.4 dev-m (64-bit))
It shows big pointer even in normal dpi when zoom is applied. Tested on chrome.
It is problem with css property cursor: webkit-image-set, which only have 2 definitions: one for normal(1x) resolution and one for high dpi(2x). Adding more definitions would solve the problem.
This is css4 feature, so no official support yet.
Ok I think your fix solves this for the standalone editor by just changing the CSS rule to be workbench specific. I will create an issue in VS Code repository.
Activity
[-]The right-pointing mouse pointer is oversized under Chrome 51, win64, 200% dpi[/-][+]The right-pointing mouse pointer is oversized under Chrome 51.0.2704.103 m, Windows 10 x64, 200% dpi[/+]joaomoreno commentedon Jun 20, 2016
Hehe was coming here to say the same thing: happens on OS X too, retina display.
[-]The right-pointing mouse pointer is oversized under Chrome 51.0.2704.103 m, Windows 10 x64, 200% dpi[/-][+]The right-pointing mouse pointer is oversized in high DPI[/+]alexdima commentedon Jun 20, 2016
I'm thinking it is caused by https://github.com/Microsoft/vscode/blob/master/src/vs/editor/browser/viewParts/lineNumbers/lineNumbers.css#L22 I wonder why we don't see this in vscode too.
csinco commentedon Jun 21, 2016
Wowzers 😅
somewhatabstract commentedon Jun 21, 2016
I was going to try this on my high DPI Windows machine, but I don't even get a right-facing pointer in that scenario. (Using Chrome Version 53.0.2767.4 dev-m (64-bit))
Haroenv commentedon Jun 21, 2016
On Safari (9.1) I get a proper sized pointer on a high dpi screen
nikikante commentedon Jun 21, 2016
It shows big pointer even in normal dpi when zoom is applied. Tested on chrome.
It is problem with css property cursor: webkit-image-set, which only have 2 definitions: one for normal(1x) resolution and one for high dpi(2x). Adding more definitions would solve the problem.
This is css4 feature, so no official support yet.
bpasero commentedon Jul 4, 2016
alexandrudima I am still getting this when using a newer electron (with Chrome 51) in VS Code:
bpasero commentedon Jul 4, 2016
Ok I think your fix solves this for the standalone editor by just changing the CSS rule to be workbench specific. I will create an issue in VS Code repository.
No more need for workaround to microsoft/monaco-editor#5
clone _extraLibs before handing it out, fixes microsoft#5
Fixes microsoft/monaco-editor#5
Fixes microsoft/monaco-editor#5