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

QWaylandWindow::createDecoration() is called from multiple threads

    XMLWordPrintable

Details

    Description

      QWaylandGLContext::makeCurrent() calls QWaylandWindow::createDecoration() but the function itself is not written to be thread safe. It has been that way since at least before 2014 (https://codereview.qt-project.org/c/qt/qtwayland/+/95947) and we haven't seen any issues with it, probably because createDecoration() is called seldomly.

      However, there is the possibility that something might fail there.

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-105703
          # Subject Branch Project Status CR V

          Activity

            People

              davidedmundson David Edmundson
              esabraha Eskil Abrahamsen Blomfeldt
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes