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

Main QtCreator Window turns to mush on loading of .ui file

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • Qt Creator 13.0.1
    • Widget Designer
    • None
    • Linux/Wayland

    Description

      Steps to reproduce:

      1. Start with empty QtCreator (I deleted ~/.config/QtProject folder to make sure no old settings are in the way)
      2. Load my Qt/C++/qbs widgets project
      3. Open mainwindow.ui file of that project

      Expected result:

      • Normal widget editor should show up

      Actual result:

      • Main window of QtCreator becomes a garbled mess of whatever renders above it
      • It still seems to process events but rendering is completely broken, for exampel the about dialogue still shows and can be interacted with, keyboard shortcuts to close windows (ctrl + w) works etc.

      Please see attached video for how this looks.

      EDIT Additional information as requested: I am running KDE 5 on Debian 11 with wayland 1.18.

      I have tried to find the "stand alone design tool" but it is nowhere to be found on my system or in the "Maintenance Tool" installer. How can I install it on my system? I tried Qt Design Studio which I think is something else? It was unable to open any .ui files except in XML view.

      I will also try switching to X11 and attach my findings from doing so. Please note that I did not actively chose wayland, in fact I thorugh I was running X11 until recently.

      Please find attached both the original and a minimal .ui file to reproduce this error. It seems that once I add an QOpenGLWidget instance to the .ui file this triggers the error in question.

      $ cat /etc/debian_version
      11.9
      
      $ uname -a
      Linux debian 5.10.0-26-amd64 #1 SMP Debian 5.10.197-1 (2023-09-29) x86_64 GNU/Linux
      
      $ wayland-scanner --version
      wayland-scanner 1.18.0
      
      $ plasmashell --version Warning: fallback to QtQuick software backend.
      plasmashell 5.20.5
      

       

      Attachments

        1. minimal.ui
          2 kB
        2. original.ui
          17 kB
        3. Peek 2024-05-07 20-09.webm
          1.08 MB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kleint Friedemann Kleint
            lennartrolland@gmail.com Lennart Rolland
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes