Hi Anthony, QtGui.QApplication.processEvents()
Hm, no that didn’t do any difference, unfortunately. // Fredrik On Wed, Oct 26, 2016 at 3:22 PM Antony Nasce <antonyna...@gmail.com> wrote: > Hmm, I'm wondering if it's something to do Qt differences in the event > queue... > > I don't have a Windows machine to test on but can you try sticking in a: > > QtGui.QApplication.processEvents() > > before your call to grab the image and see if that has any positive effect > on Windows... > > On 26 Oct 2016, at 07:44, Fredrik Averpil <fredrik.aver...@gmail.com> > wrote: > > Hi guys and thanks so much for all this precious info, > > So using Ben's function I can now find the viewer(s) which is excellent > (thank you!) and using grabWindow (instead of grabWidget) I can grab the > viewer (thank you Nathan!). > > But I'm noticing a bit of a discrepancy on platforms where the viewer, > when grabbed, is completely white. > > For example, on both Windows and OS X I can successfully grab the entire > desktop and see what's going on in the viewer without issues. > > When I grab the window of the viewer widget, it is visible and looks great > on OS X but on Windows it's all white. I wonder if this is an issue or this > comes down to platform-dependent behavior... > > I created a gist here with the screengrabs taken on Windows 10 and on OS X > for comparison: > https://gist.github.com/fredrikaverpil/9056ad6e642b814090829edffb4ffd27 > > I guess I'll have to talk to support to see if there's anything I can do. > If any of you have any ideas, I'm all ears. > > And again, thanks so much for the input so far! > > Cheers, > Fredrik > > _______________________________________________ > Nuke-python mailing list > Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python > > _______________________________________________ > Nuke-python mailing list > Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python >
_______________________________________________ Nuke-python mailing list Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python