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

Error in scene rect calculation when I select items with flag ItemIgnoresTransformation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 5.2.1
    • Widgets: GraphicsView
    • None
    • MSVC 2013

      In the example select one of the squares and see how the scene rect is extended to include the untransformed bounding rect of the square.

      I'm pretty sure the following line is the culprit, or the fact that ensureSceneTransform() isn't called:
      https://qt.gitorious.org/qt/qt/source/68a911862e05400ced87971c43fb27fb5d5d8ebd:src/gui/graphicsview/qgraphicsscene.cpp#L5200

        1. main.cpp
          1 kB
          Björn Piltz
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Unassigned Unassigned
            bgp2000 Björn Piltz
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes