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

QML with Window.FullScreen Qt.FramelessWindowHint and transparent make the app is black screen

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Duplicate
    • Affects Version/s: 5.5.0, 5.5.1, 5.6.0
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Qt 5.6.0, Qt 5.5.1 windows 7 64bit vs2013

      Description

      my qml application neet FramelessWindowHint and transparent background, so i set the like fllow:
      ApplicationWindow {
      visible: true
      width: 800
      height: 1280

      visibility: Qt.platform.os == "android" ? Window.AutomaticVisibility : Window.FullScreen;
      flags: Qt.FramelessWindowHint | Qt.WindowSystemMenuHint| Qt.WindowMinimizeButtonHint| Qt.Window
      color: "transparent";//"black"

      Rectangle

      { color: "transparent";//"#212126" anchors.fill: parent }

      // others ...
      }

      this works on windows not normal, i want it's with transparent backgroud, but it's with black bakcground, then i try it on android, but it works normal, why???

      I try the Qt example "Touch Gallery" with the same problome problem

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              smd Jan Arve
              Reporter:
              cbdg cbdg0222
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes