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

The Material style UI is looking bad when using software OpenGL rendering

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Out of scope
    • Affects Version/s: 5.9.2
    • Fix Version/s: None
    • Labels:
    • Environment:
      Qt5.9.2 and Qt Creator 4.4.1
      installed from standard setup file "qt-opensource-windows-x86-5.9.2.exe"
      (md5 862f6c276f3f466d253531778bddcfca)
      Operating system Windows 7 x64 sp 1.

      Description

      I am using Qt5.9.2 and Qt Creator 4.4.1
      installed from standard setup file "qt-opensource-windows-x86-5.9.2.exe"
      (md5 862f6c276f3f466d253531778bddcfca)
      My operating system is Windows 7 x64 sp 1.

      Possibly I have some problems with my graphics card or driver because
      all QML applications compliled for Windows are looking as you can see on
      "Fuzzy.png" picture. All controls are fuzzy and sometimes transparent.
      I resolved this problem by adding the following lines to my main.cpp file
      just before the QGuiApplication object creation:

      QCoreApplication::setAttribute(Qt::AA_UseSoftwareOpenGL);
      QQuickWindow::setSceneGraphBackend(QSGRendererInterface::Software);
      
      QGuiApplication app(argc, argv);

      So all became ok as you can see on "Normal.png" picture.

      I have added these lines of code to the standard Qt Gallery example and have compliled
      this demo application for Windows. I have tried to switch UI between QuickControl
      standard styles (Default, Material, Universal) as you can see on "Settings.png" picture.
      The Default and Universal styles are looking good.
      But when I am using the Material style the application graphics is looking very strange
      as you can see on "Material.png" picture. Some controls are transparent.
      The strange circles appeared etc.

      So when I use the software OpenGL rendering I cannot normally use the Material style.
      But when I use the default OpenGL rendering I have fuzzy user interface. But in this case
      the Material style is looking normally.

      The gallery Qt demo project source files just a little bit modified are here.

        Attachments

        1. Fuzzy.png
          49 kB
          Rob Burrito
        2. gallery.zip
          158 kB
          Rob Burrito
        3. Material.png
          30 kB
          Rob Burrito
        4. Normal.png
          25 kB
          Rob Burrito
        5. Settings.png
          24 kB
          Rob Burrito
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            qt.team.quick.subscriptions Qt Quick and Widgets Team
            Reporter:
            burrido Rob Burrito
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes