Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-884

QTableWidget drawing disturbed with QImage(from PIL)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Not Evaluated Not Evaluated
    • None
    • 5.12.0
    • PySide
    • None
    • Python:3.6.7
      Pillow:5.3.0
      PySide2:5.12.0 (installed by pip)
      macOS ver:10.13.6
      VGA:NVIDIA Geforce GTX 680 for mac
    • macOS

      When QImage is generated from Pillow (PIL) into QTableWidget and inserted, the display of QTableWidget is disturbed.

      Clicking the item will be normal, but scrolling TableWidget will get disturbed again.
      Strangely, if you output images to a local file with PIL and generate QImage from a file, the problem will not occur.

      I attached a simple reproducing code "tablewidget_prob2.zip", so plz try it.

      This problem does not occur in PySide 1.2.4.
      I think that Regression of drawing function? or PIL problem?

        1. coreectimage.png
          coreectimage.png
          78 kB
        2. disturbedimage.png
          disturbedimage.png
          70 kB
        3. tablewidget_prob2.zip
          9 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            crmaurei Cristian Maureira-Fredes
            KengoSawa2 Kengo Sawatsu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes