Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-77970

QGraphicsPixmapItem : shape & opaqueArea are wrong in hidpi

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 5.13.0
    • Fix Version/s: None
    • Component/s: Widgets: GraphicsView
    • Labels:
      None

      Description

      Hello,

      it seems that QGraphicsPixmapItem did not get the full retina treatment (see also https://bugreports.qt.io/browse/QTBUG-37008).
      Here is a visual example where I rendered :

      • boundingRect in blue,
      • shape in green,
      • opaqueArea in yellow
      • the actual pixmap is gray

      The opaque area & shape are both scaled wrt the pixmap, which in particular causes problem with the mouse events (that is how I noticed the issue).

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            • Assignee:
              bibr Andreas Aardal Hanssen
              Reporter:
              jcelerier Jean-Michaël Celerier
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:

                Gerrit Reviews

                There are no open Gerrit changes