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

Simple qml red rectangle displays with strange transparent layout

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P1: Critical
    • None
    • 5.14.2
    • QPA: Wayland
    • None
    • linux embeded system.
      weston 5.0
      qt 5.14.2
    • Linux/Yocto

    Description

      I update from qt 5.12.3 to 5.14.2

      I met strange issue, the content of rectangle cannot be shown.

      Here is my qml file. (simple)

      #test.qml, draw a red rectangle

      import QtQuick 2.0

      Rectangle {
      width: 500
      height: 500
      color: "red"
      }

      When I run this qml,  it only shows the boder, the content is transparent, like below picture.

      I tried 3 scenarioes.

      1. qmlsene test.qml             # the content is transparent
      2. qmlsene test.qml --transparent      # the red content can be show
      3. qmlsene test.qml --fullscreen         # the red content can be show

       

      Scenraio 1 and 2 has no log output.

      3 has the following output.

      root@euto-v9:~# qmlscene test.qml --fullscreen
      qt.qpa.wayland: Wayland does not support QWindow::requestActivate()

       

      Do you have any idea for this issue? or do you have some tracing tools to find the cause of this issue? Sorry that I cannot attach a picture because of security policy.

      Thank you very much!

       

      Attachments

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

        Activity

          People

            qt.team.graphics.and.multimedia Qt Graphics Team
            xing Xing Biao
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes