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

Flash object on QGraphicScene displayed by two QGraphicsViews processes user interaction in the wrong view

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.1.1, 5.2.0 RC1
    • Windows/Mingw32/Qt5.2; also Windows/MSC2010/Qt5.1.1

    Description

      Our project contains a QGraphicsScene and two QGraphicsViews. One view is full size (100%) and interactive, the other is a scaled-down thumbnail and non-interactive. If we add an Flash object (.swf file embdedded in a web page) to the scene via a QGraphicsWebView, the flash object's user interaction will sometimes not function correctly.

      This seems to depend on the order in which the two views are set to display the scene [QGraphicsView->setScene()]. If the full-size view is set first, everything is okay. If the thumbnail view is set first, any user interaction with the flash object via the full-size view seems to be handled by the thumbnail. (eg. on right-click, the popup menu appears over the thumbnail flash; drag events are incorrectly positioned making interaction impossible.)

      (NB: It is easy to fix this issue in the attached example by changing the order in which the views are set to display the scene, but it is proving difficult to fix in our full scale project, which contains multiple scenes and thumbnail views which the user can switch between at will.)

      Attachments

        Activity

          People

            annulen Konstantin Tokarev
            paulmorris Paul Morris
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: