Changes between Version 1 and Version 4 of Ticket #18694
- Timestamp:
- 2020-02-11T20:53:12+01:00 (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #18694
- Property Keywords hidpi mouse cursor added
-
Ticket #18694 – Description
v1 v4 7 7 Mouse cursor with a dashed rectangle close to it, containing a little plus sign. Mouse arrow and rectangle have approximately the same size. 8 8 9 [[Image(CorrectLoDpiCursor.png)]] 10 9 11 ==== What happens instead? 10 12 Mouse cursor with a dashed rectangle quite distant to it, containing a very tiny plus sign (very hard to see). The mouse arrow is larger than the rectangle. 13 14 [[Image(FaultyHiDpiCursor.png)]] 11 15 12 16 ==== Please provide any additional information below. Attach a screenshot if possible. … … 17 21 I would like to fix this myself. However, I would need some explanations on the existing code. 18 22 Deep down in the cursor construction I get via 23 {{{ 24 #!java 19 25 GuiSizesHelper.getSizeDpiAdjusted() 26 }}} 20 27 to 28 {{{ 29 #!java 21 30 GuiSizesHelper.getScreenDPI() 31 }}} 22 32 which claims to return the "screen resolution in DPI". 23 33 However, unless for the unlikely case that the user sets "gui.scale" in the settings manually, it will always return 96, regardless of the actual screen resolution (and/or scaling), will it not?