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

Default QML background lost after screen rotation with Camera element

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 1.2.x
    • 1.1.1
    • Multimedia
    • Nokia N8, Symbian^3, PR1.1, Qt 4.7.2
    • 436b7efe61bf4020b1163228a6f777cfe3594f9a

    Description

      Using the Qt SDK 1.1 Beta, create a new QML project with screen rotation permitted.

      To the project's .pro file, add

      CONFIG += mobility
      MOBILITY += multimedia
      symbian:TARGET.CAPABILITY += UserEnvironment
      

      In main.qml, write

      import QtQuick 1.0
      import QtMultimediaKit 1.1
      
      Camera {
      }
      

      Launch the application on the N8. The application launches and the camera is active with the camera preview showing on a black background. Now rotate the device to trigger a screen rotation.

      Actual result:
      The black background disappears and the phone's "desktop" is visible instead.

      Expected result:
      Black background stays.

      Attachments

        Issue Links

          Activity

            People

              azorel Adrian Burian
              joe789joe789 Joe
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: