Priority: P3: Somewhat important
Affects Version/s: 5.8.0
Fix Version/s: 5.13.0 Beta2
Environment:Windows 7 32 bits
QtCreator 4.2.1 with Qt 5.8.0, based on mingw 5.3.0
I am contacting you about a problem in the QGraphicsView class.
I display a picture with a QGraphicsScene in QGraphicsView. The picture is added by QGraphicsPixmapItem in ARGB32 format. In this project, I use many various sizes of pictures. With some sizes and some scale values, I note a shift of the pixels. For each pixel from top to bottom ad from left to right, the shift increases, and last pixel in truncated.
Then , the coordinates of the others objects (Items,Mouse,etc...) in the QGraphicsView are no more aligned with the picture.
It does not appear all the time, but for some sizes of image, and some scales only. I don't understand why...
Picture size 1000x1000 :
Scale values with egde problem : 50x50 , 40x40, 30x30, 20x20
Picture size 50x50:
Scale values with egde problem : 100x100, 200x200,400x400
Picture size 1024x1024:
Scale values with egde problem : 50x50, 30x30
Picture size 2880x2880
Scale values with egde problem : 20x20
I need to know if it's a Qt Bug and if it will be fixed in further version, or if there is any problem in my code. Thank you in advance for your answer I hope as soon as possible .
Extract of my code: