Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-33151

Many crashes on autocomplete with wayland: qt.qpa.wayland: Failed to create popup.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • Qt Creator 16.0.1, Qt Creator 16.0.2, Qt Creator 17.0.0, Qt Creator 18.0 (master branch)
    • None
    • Linux, Fedora 42, Gnome, Wayland session, linux kernel 6.14, linux kernel 6.15, mesa, AMD
    • Linux/Wayland
    • Linux/Wayland

    Description

      All the last builds after 16.0.0 of Qt Creator crash when using QT_QPA_PLATFORM=wayland. It happens when using the autocomplete functionality on some functions, but not on all of them. It was not happening with version 16.0.0.

      Just as an example, it happens with std::to_string(). It crashes continuously with many, many functions. The terminal message after crash is the following:

      qt.qpa.wayland: Failed to create popup. Ensure popup  QWidgetWindow(0xe6fd760, name="QWidgetClassWindow") has a transientParent set.
      The Wayland connection experienced a fatal error: Protocol error

      The system log captured from gnome-log is the following:

      gnome-shell: WL: error in client communication (pid 14618)

      The system is: Fedora 42, Gnome, Wayland session, kernels 6.14 & 6.15, mesa 25.0.7 AMD drivers. I attach the output of the command qtdiag for more details. Is there any other detail/log that I can provide? It's a very annoying issue. Luckily, it doesn't happen with the platform xcb.
      qtdiag.txt

      Attachments

        1. qtdiag.txt
          12 kB
          Jordi Frias

        Issue Links

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

          Activity

            People

              kandeler Christian Kandeler
              txordi Jordi Frias
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes