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

QWaylandWindow::createDecoration() is called from multiple threads

XMLWordPrintable

    • Linux/Wayland
    • c5aed5ae2 (dev), a3c66ed7a (6.7), c991b34f2 (6.6), ef93cbe42 (tqtc/lts-6.5)

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes