[Qgis-developer] Map canvas flickers

Marco Hugentobler marco.hugentobler at sourcepole.ch
Thu Aug 9 02:48:54 PDT 2012


Applied to master branch. Thanks, Matthias!

>I hope Windows doesn't care either about PaintOnScreen neither

According to the docs, PaintOnScreen has no effect on windows.

Regards,
Marco

Am 09.08.2012 09:48, schrieb Kuhn Matthias, Vermessung:
> Done
>
> On X11: Show backbuffer checkbox / enable disable "incremental rendering" spinbox according to availability
> On Mac: Disable backbuffer option (but check so user knows it's enabled) / disable "incremental rendering" spinbox
> On Windows: Disable backbuffer option (but check so user knows it's enabled) / enable "incremental rendering" spinbox
>
> I hope Windows doesn't care either about PaintOnScreen neither, because it's not set there any more now. But no problems on this win-system here. Couldn't test mac though, but the changes there where minimal.
>
> --
> Matthias Kuhn
>   
>
>> -----Original Message-----
>> From: Marco Hugentobler [mailto:marco.hugentobler at sourcepole.ch]
>> Sent: Wednesday, August 08, 2012 11:16 AM
>> To: Kuhn Matthias, Vermessung
>> Cc: qgis-developer at lists.osgeo.org
>> Subject: Re: [Qgis-developer] Map canvas flickers
>>
>>> If there is a good reason to leave it this way, I would hide
>> the incremental drawing option for mac completely as I'm
>> working on this code anyway.
>>
>> Yes, good point. Please hide that option for Mac.
>>
>> Marco
>>
>> Am 08.08.2012 10:36, schrieb Kuhn Matthias, Vermessung:
>>>>> I'll disable this option and remove it from the dialog on
>> any other
>>>>> than
>>>>> Q_WS_X11 or do you think this can be useful for Mac as well?
>>>> Disabling is fine for Mac as well (Qt::WA_PaintOnScreen
>> has no effect
>>>> on Mac).
>>> I was more thinking about incremental drawing.
>>> At the moment processEvents is not called inside the vector
>> renderer on Mac, so on this platform neither keytrokes (esc)
>> nor incremental rendering is possible as far as I can see. If
>> there is a good reason to leave it this way, I would hide the
>> incremental drawing option for mac completely as I'm working
>> on this code anyway.
>>> --
>>> Matthias Kuhn
>>>    
>>
>> --
>> Dr. Marco Hugentobler
>> Sourcepole -  Linux & Open Source Solutions Weberstrasse 5,
>> CH-8004 Zürich, Switzerland marco.hugentobler at sourcepole.ch
>> http://www.sourcepole.ch Technical Advisor QGIS Project
>> Steering Committee
>>


-- 
Dr. Marco Hugentobler
Sourcepole -  Linux & Open Source Solutions
Weberstrasse 5, CH-8004 Zürich, Switzerland
marco.hugentobler at sourcepole.ch http://www.sourcepole.ch
Technical Advisor QGIS Project Steering Committee



More information about the Qgis-developer mailing list