Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Resizing windows is slow with Qt 5.10
Forum Updated to NodeBB v4.3 + New Features

Resizing windows is slow with Qt 5.10

Scheduled Pinned Locked Moved Unsolved General and Desktop
8 Posts 4 Posters 3.3k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • bunjee207B Offline
    bunjee207B Offline
    bunjee207
    wrote on last edited by bunjee207
    #1

    Greetings Qt dev,

    I'm in the process of porting my Qt 4.8 QML code to Qt 5.10 on the Windows platform and the OpenGL backend.

    For some reason resizing windows is significantly slower using Qt 5. It's been the case since the beginning of Qt 5 and it's honestly quite awful.

    Is there any workaround or flag to improve the situation ?

    Thanks ♥.

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi
      Its impossible to guess at without actual code.
      Lots and lots has happened from 4.8 to 5.10 so it depends on
      what features u are using etc.

      1 Reply Last reply
      2
      • bunjee207B Offline
        bunjee207B Offline
        bunjee207
        wrote on last edited by
        #3

        I see your point except I get the same behavior with a generic Qt sample.

        It's clearly something low level regarding Windows implementation and OpenGL rendering.

        JKSHJ 1 Reply Last reply
        0
        • bunjee207B bunjee207

          I see your point except I get the same behavior with a generic Qt sample.

          It's clearly something low level regarding Windows implementation and OpenGL rendering.

          JKSHJ Offline
          JKSHJ Offline
          JKSH
          Moderators
          wrote on last edited by
          #4

          @bunjee207 said in Resizing windows is slow with Qt 5.10:

          I get the same behavior with a generic Qt sample.

          Could you please specify the sample, or share some simple code that demonstrates this issue?

          Also:

          1. Which version of Windows are you running?
          2. What is your graphics card?

          Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

          1 Reply Last reply
          0
          • bunjee207B Offline
            bunjee207B Offline
            bunjee207
            wrote on last edited by bunjee207
            #5

            Well, you could try the "samegame" demo.

            I'm on Windows 10, with an Intel HD Graphics 4600.

            Besides being slow resizing is also glitchy: https://bugreports.qt.io/browse/QTBUG-67029

            JKSHJ 6thC6 2 Replies Last reply
            0
            • mrjjM Offline
              mrjjM Offline
              mrjj
              Lifetime Qt Champion
              wrote on last edited by
              #6

              Hi
              Most likely related to intel HD. i assume you tried update drivers?
              Sample seems to run normally on AMD 7950 card. ( Qt 5.10, vs, win 10)
              No lag in 1900x1200.

              1 Reply Last reply
              0
              • bunjee207B bunjee207

                Well, you could try the "samegame" demo.

                I'm on Windows 10, with an Intel HD Graphics 4600.

                Besides being slow resizing is also glitchy: https://bugreports.qt.io/browse/QTBUG-67029

                JKSHJ Offline
                JKSHJ Offline
                JKSH
                Moderators
                wrote on last edited by JKSH
                #7

                @bunjee207 said in Resizing windows is slow with Qt 5.10:

                Well, you could try the "samegame" demo.

                I'm on Windows 10, with an Intel HD Graphics 4600.

                Besides being slow resizing is also glitchy: https://bugreports.qt.io/browse/QTBUG-67029

                I have a Microsoft Surface Pro 2, Windows 10 x64, Intel HD Graphics 4400, 1920x1080 resolution.

                I built and ran the Same Game demo using Qt 5.9.4, MinGW 5.3.0.

                The game itself runs perfectly fast and smooth. When resizing the game window, I see some minor flickering but it feels fast to me. Also, resizing the Same Game window feels exactly like resizing the Microsoft Word 2016 window, so the flickering is not caused by Qt Quick.

                I don't see any problems with resizing Qt Quick windows on my machine. Do you have a different Windows 10 PC available? Could you try there?

                Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                1 Reply Last reply
                0
                • bunjee207B bunjee207

                  Well, you could try the "samegame" demo.

                  I'm on Windows 10, with an Intel HD Graphics 4600.

                  Besides being slow resizing is also glitchy: https://bugreports.qt.io/browse/QTBUG-67029

                  6thC6 Offline
                  6thC6 Offline
                  6thC
                  wrote on last edited by
                  #8

                  @bunjee207
                  I have a HD Graphics 530 and have noticed the same lag resizing, it's probably the biggest visual wart I see.
                  At this point we were planning on not allowing the user to resize. Maybe reconsider this is it works better on other hardware, probably not though.

                  Windows 10 Pro, MinGW 5.3.0, Qt 5.10.0

                  • MSVC17 compiler builds do not run (or rather, crash in OpenGL calls) on drawing.

                  Video: https://drive.google.com/file/d/11KnuAC76A4-4FLFggN_1rS9dP3Rl0c5P/view?usp=sharing
                  hopefully that link works

                  1 Reply Last reply
                  0

                  • Login

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • Users
                  • Groups
                  • Search
                  • Get Qt Extensions
                  • Unsolved