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

scene graph not initialized on custom window - results in garbage window

    XMLWordPrintable

Details

    Description

      As there is no native-qt-way to set advanced window types/characteristics (like shown on all virtual desktops/window type panel/desktop etc)
      I use kwindowsystem, part of KF5(KDE Frameworks 5). Custom Class inheriting QQuickWindow and getting it's custom properties assigned there results in:
      a) window is garbage when color is set transparent/anything with alpha channel (with NVidia driver)
      b) window get's color black instead of specified transparent color, but window is not garbage (with nouveau driver)
      c) color is set to anything with no alpha channel (like red,blue,green etc)
      works, but you can't set it to transparent.

      I found out that the class (when initially color is set to transparent) is never initializing the scene graph - the QQuickWindow::sceneGraphInitialized signal is never emitted)

      Example attached, libkwindowsystem-devel required.

      Attachments

        1. NO_KDE_DEP.tar.gz
          1.18 MB
        2. QSG_INFO_COLOR_BLACK
          8 kB
        3. renderloop_color_black
          2 kB
        4. renderloop_color_transparent
          4 kB
        5. test.tar.gz
          1.24 MB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            janichol Andy Nichols
            damianatorrpm Damian Ivanov
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes