[Qgis-developer] [plugins] refreshing canvas
Luigi Pirelli
luipir at gmail.com
Mon Nov 24 14:49:27 PST 2014
may you also test with the last 2.6version?
regards, Luigi Pirelli
On 24 November 2014 at 01:16, Alexia Mondot <alexia at mondot.fr> wrote:
> Hi all,
>
> I have a plugin using a customized version of Dockable Mirror Map.
> I use it to display each processing result in a new view.
>
> I get a strange behaviour with my plugin :
> Some times, the canvas stays white. A scroll in it is fine to reload it and
> my image is displayed.
> I get this problem since the beginning of the development on QIGS 2.2. It is
> for me a "random" problem, because I can't say why I get these white canvas.
> But, when I get it I save the projet with the white view, and when reloaded,
> the canvas is still white.
>
> I've played with canvas.refresh(), canvas renderer flags and even with
> canvas.freeze().
> I can't understand the behaviour I get, maybe I have a wrong usage of the
> properties above.
> I also thought about triggerRepaint()...
>
> Thanks by advance,
> Alexia
>
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
More information about the Qgis-developer
mailing list