While trying to obtain programmatically the snapshot of a window, I stumbled into a Qt bug.
It turned out that TQtDeviceContext.getDeviceSize always returns a size of 10x10 for any widget I tried.
It returns the proper size only for the full screen (i.e. if DC=0).
For sake of completeness, GTK2 returns the proper size.
Can it be fixed?
Giuliano
