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

[Win] qtbase/examples/opengl/2dpainting broken with TranslucentBackground

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 5.1.1
    • GUI: Painting
    • None
    • windows

    Description

      replace the main.cpp with :

      int main(int argc, char *argv[])
      {
          QApplication app(argc, argv);
          Window window;
          window.setWindowFlags(Qt::FramelessWindowHint | Qt::Dialog);
          window.setAttribute(Qt::WA_TranslucentBackground);
          window.show();
          return app.exec();
      }
      

      Observe how window on the right side is not drawn anymore.

      This works on linux (linux implementation depends on the following patch https://codereview.qt-project.org/#change,70361).

      Attachments

        Issue Links

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

          Activity

            People

              kleint Friedemann Kleint
              paeglis Gatis Paeglis
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes