Uploaded image for project: 'Qt Mobility'
  1. Qt Mobility
  2. QTMOBILITY-484

Qt UI messed up when playing video through QVideoWidget

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 1.1.1
    • 1.0.2
    • Multimedia
    • Tested on Symbian^3 (N8), FW 11.009, Qt 4.6.4, Qt Mobility 1.0.2
    • ef96a142f790152524248b4dd0f24e3126ef871e

    Description

      Use attached sample app to reproduce (videoPlayer.zip).

      App contains a normal vertical layout with standard QWidget based UI elements, plus a QAction in the options softkey menu. When clicking on the "Play" button, a QMediaPlayer with a video source is created. The output is a new QVideoWidget that is added to the layout manager.

      Problem 1: When clicking play, the Symbian "Options" menu disappears and the left softkey is empty. Also setting the focus to other UI elements by clicking on them doesn't bring the options menu back. See OptionsMissing.png.

      When clicking the "Delete video" button, the media player and the video widget objects are deleted. Video stops playing as intended and can be restarted by pressing the play button again.

      Problem 2: However, the screen is not fully drawn directly after the video widget is deleted. Notice the missing corners of the buttons in the screenshot, plus the layout issues in the text browser widget. See LayoutIssues.png.

      When rotating the device to landscape mode (and back again if needed), the UI is again fully drawn. But obviously, this isn't a viable solution for the end user and the UI should be fine again right away.

      Attachments

        1. LayoutIssues.png
          LayoutIssues.png
          57 kB
        2. OptionsMissing.png
          OptionsMissing.png
          110 kB
        3. videoPlayer.zip
          30 kB
        4. qtm-484-fix.diff
          2 kB

        Issue Links

          Activity

            People

              jhautaka Jani Hautakangas
              ajakl Andreas Jakl (closed Nokia identity) (Inactive)
              Votes:
              5 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: