xpra icon
Bug tracker and wiki

Changes between Version 11 and Version 12 of DPI


Ignore:
Timestamp:
12/01/15 22:18:22 (5 years ago)
Author:
alas
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DPI

    v11 v12  
    220220* Testing with {{{XPRA_DPI_AWARE=1}}} produces the same values as above as well.
    221221
    222 * Testing with {{{XPRA_DPI_AWARE=0}}} does have different results however, as indicated below. (Client will also show a {{{SetProcessDPIAware not set due to environment override}}} message.)
     222* Testing with {{{XPRA_DPI_AWARE=0}}} does have different results however, as indicated below. (Client will also show a {{{SetProcessDPIAware not set due to environment override}}} message.)
     223
     224Namely - '''rather than the detected workarea remaining constant, and the DPI scaling''' (100% to 125%, 150%, etc.); with {{{XPRA_DPI_AWARE=0}}} '''the DPI values remain constant''' (with DPI 96 at 100% {{{dektop-scaling}}}, 76 at 125%, etc.), '''while the workareas detected are instead scaled''' (based on values as indicated in the above {{{NativeGUI_info.exe}}} detected & adjusted for tray size) - i.e. the 4K monitor at the "Second smallest" text size (125%), rather than adjusting the DPI from 96 to 120, adjusts the workarea from [(0, 0, 3840, 2112)] to [(0, 0, 3072, 1690)] by dividing the values by the scaling factor of 125%.
    223225
    224226[[BR]]