Hi Luc, This sounds like a Qt bug, as it looks very much like the original code is sensible. I've looked at your proposed fix and it's feely pretty awkward. The idea of a having to keep re-invoking a timer just to force a redraw doesn't feel appropriate.
Robert. On 10 July 2014 10:48, Luc Frauciel <[email protected]> wrote: > Hi Robert, > > > > We've recently upgraded to a QT5/VS2012/Windows7 environment. > > We use an application that uses osgviewerQt model for Qt/OpenSceneGraph > integration. > > With the new environment, the application hang each time a widget > partially covers the QGLWidget. > > Some investigation showed that it was related to QTimer used to refresh > the widget. > > The problem is similar to this thread : > > https://bugreports.qt-project.org/browse/QTBUG-27266 > > A solution is to fire the timer only once and repeat once called. > > This problem only appear on windows, with VS2012, QT up to 5.3, but the > new behavior shouldn't affect negatively other platforms. > > > > Regards, > > > > Luc Frauciel > Responsable R&D > > R&D Manager > > > <http://www.1spatial.com> > > > > > > <http://www.youtube.com/user/1SpatialGroup> > <https://www.facebook.com/1Spatial> > <http://www.linkedin.com/company/1spatial> > <http://www.twitter.com/1spatial> > > ------------------------------ > > 1Spatial France SAS > > Les informations contenues dans cet e-mail sont confidentielles et > uniquement adressées au destinataire. Les opinions qui y sont exprimées > peuvent être celles de l'auteur et ne représentent pas nécessairement > celles du Groupe 1Spatial. Cet e-mail a été scanné et est garanti sans > aucun virus. 1Spatial France SAS est une société de droit français, membre > du Groupe 1Spatial. Siège Social : Immeuble AXEO2, 23-25 Avenue Aristide > Briand, 94110 Arcueil, France. RCS CRETEIL 334 416 336 > > _______________________________________________ > osg-submissions mailing list > [email protected] > > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org > >
_______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
