[QGIS-Developer] Incorrect hidpi setting in 3.0 for OSX

Alessandro Pasotti apasotti at gmail.com
Mon Feb 19 03:45:27 PST 2018


Hi,

sorry if this does not apply to mac (I'm not a Mac user), but did you try
to experiment with the following environment variables?

QT_AUTO_SCREEN_SCALE_FACTOR
QT_DEVICE_PIXEL_RATIO

the effect may be different with different Qt versions and platforms.



On Mon, Feb 19, 2018 at 7:32 AM, Jeremy Palmer <palmerjnz at gmail.com> wrote:

> Thanks for starting this thread Nyall.
>
> Ian not sure if it's relates to the HiDPI changes that occurred recently
> (e.g maptool cursors becoming small) but I've also noted that since Xmas
> the canvas is very sluggish when panning and zooming on Macosx and
> burning through many More CPU cycles than 2.18 for the same operations.
>
> Cheers
> Jeremy
>
> On 19/02/2018 19:14, "Nyall Dawson" <nyall.dawson at gmail.com> wrote:
>
>> Hey all (specifically OSX devs)
>>
>> From a few open bug reports we have against the OSX build of 3.0, I
>> gather that the OSX builds currently are not correctly handling hidpi
>> screens.
>>
>> My understanding is that the builds are silently trying to scale the
>> UI by pixel doubling/scaling - it's resulting in bugs like
>> https://issues.qgis.org/issues/18043,
>> https://issues.qgis.org/issues/17773, and
>> https://issues.qgis.org/issues/15984.
>>
>> Does any OSX expert know why this is happening? I think the automatic
>> pixel scaling should be switched off - while master isn't perfect with
>> hidpi screens, it's usable and the benefits of the hidpi
>> canvas/composer outweigh the remaining issues.
>>
>> Plus, I'd rather we use a single approach to hidpi scaling then have
>> to worry about separate code paths for OSX.
>>
>> Nyall
>> _______________________________________________
>> QGIS-Developer mailing list
>> QGIS-Developer at lists.osgeo.org
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>
>
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>



-- 
Alessandro Pasotti
w3:   www.itopen.it
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20180219/0c195a9f/attachment.html>


More information about the QGIS-Developer mailing list