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

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

    XMLWordPrintable

Details

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

    Description

      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

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes