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

QVideoWidget+QMediaPlayer renders any QTreeWidget in the application unresponsive

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • P4: Low
    • None
    • 5.0.2
    • Multimedia
    • None
    • MacOsX

    Description

      When a QVideoWidget is added to a QMediaPlayer with setVideoOutput, the application writes "QBackingStore::flush() called with non-exposed window, behavior is undefined" a few times into the output and any QTreeWidget instance used in the application is rendered inoperative.

      This issue appears only under macosX it does not happen under ubuntu or windows.

      The bug can be simply reproduced by adding
      QTreeWidget* tree = new QTreeWidget();
      tree->addTopLevelItem(new QTreeWidgetItem(QStringList("test1")));
      tree->addTopLevelItem(new QTreeWidgetItem(QStringList("test2")));
      ...
      hLayout->addWidget(tree);

      to Player::Player(QWidget *parent) in the "Qt5.0.2/5.0.2/clang_64/examples/multimediawidgets/player" sample.

      The tree control is not responsive, the user can not change selection.

      when the line player->setVideoOutput(videoWidget) is commented out the control works ok, and no errors are write to the output, howe ever than of cause the player is unusable.

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            davidxanatos David Xanatos
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes