Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Combobox in Qt for WinRT: strange behaviour
QtWS25 Last Chance

Combobox in Qt for WinRT: strange behaviour

Scheduled Pinned Locked Moved QML and Qt Quick
qt5.5qt quickcomboboxwinrtwindows 8.1
11 Posts 7 Posters 4.1k Views
  • 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.
  • MonomixM Offline
    MonomixM Offline
    Monomix
    wrote on last edited by Monomix
    #2

    I'm experiencing a similar issue with Menu items on Windows 7 - when clicked, the dropdown items appear in the wrong place, outside of the main application window. The dropdown items are also really, really slow to display - you can observe the frame being drawn separately first, then being filled with the items.

    X 1 Reply Last reply
    0
    • MonomixM Offline
      MonomixM Offline
      Monomix
      wrote on last edited by Monomix
      #3

      In my case at least, this would seem to be related to one of the Qt 5.5 changes:

      • Windows now defaults to the threaded Qt Quick render loop when using desktop OpenGL (opengl32.dll).

      When running the app in debug mode, I see the following error message whenever I click a menu or combobox to show a dropdown:

        QSGThreadedRenderLoop: expose event received for window QQuickMenuPopupWindow(0x10255e38) with invalid geometry:  QRect(2892,258 158x2) on QScreen(0xbc4d40)
      
      1 Reply Last reply
      0
      • MonomixM Offline
        MonomixM Offline
        Monomix
        wrote on last edited by
        #4

        ...aaaand it's already reported as a bug: https://bugreports.qt.io/browse/QTBUG-46977

        1 Reply Last reply
        1
        • MonomixM Monomix

          I'm experiencing a similar issue with Menu items on Windows 7 - when clicked, the dropdown items appear in the wrong place, outside of the main application window. The dropdown items are also really, really slow to display - you can observe the frame being drawn separately first, then being filled with the items.

          X Offline
          X Offline
          xargs1
          wrote on last edited by
          #5

          @Monomix said:

          I'm experiencing a similar issue with Menu items on Windows 7 - when clicked, the dropdown items appear in the wrong place, outside of the main application window.

          I just saw this yesterday on Windows 7 with Enterprise 5.4.2. I created a new QtQuick app and ran it (writing no code), opened the menu while the app was on the left monitor, and the menu items appeared on the right monitor.

          1 Reply Last reply
          0
          • M Offline
            M Offline
            mkalinow
            wrote on last edited by
            #6

            Hi,

            in Qt 5.5/Win 8.1 we could not create new Windows at all, hence we needed to grab the currently existing one, empty it and show items of a popup (ie combobox) inside there.

            This has been significantly improved with Qt 5.6 for all single-window platforms (also eglfs etc.), so please try that version and report and problems with it on the bugtracker.

            1 Reply Last reply
            0
            • David.GD Offline
              David.GD Offline
              David.G
              wrote on last edited by
              #7

              As far as I know WinRT implementation is somewhat incomplete. The networking component is still busted in 5.6(git, hopefully they fix it before release. I'm waiting for the next beta iteration to test/report).

              According to Maurice Kalinowski, in this video from Qt Developers Days (2015) titled QtWS15- Developing for Windows 10 With Qt, Maurice Kalinowski, The Qt Company said to be till 5.6 is out.

              Watch the video, you should get an idea on the progress.

              As for the rest of the videos, visit http://www.qt.io/resource-center-qtws15-recommended-playlists/

              1 Reply Last reply
              0
              • SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on last edited by
                #8

                Hi,

                @David.G why wait for the next beta if you have found something that needs to be fixed ?

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                1 Reply Last reply
                0
                • David.GD Offline
                  David.GD Offline
                  David.G
                  wrote on last edited by
                  #9

                  I compiled it like 20 days ago from git so I'll have to pull the new latest commits and see if it has been fixed before reporting. Being on a mechanical hard drive compiling Qt takes easily 2-3 hours :/ (on a pc I work on). Plus I usually refrain from reporting bugs on something that hasn't been released (as in I don't report bugs if it comes straight out of git rather than an official release).

                  I haven't reported most because I haven't had the time honestly. I guess checkout the beta tag so I can leave my computer compiling Qt tonight and create a minimal test to provide.

                  1 Reply Last reply
                  0
                  • SGaistS Offline
                    SGaistS Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on last edited by
                    #10

                    In that case I'd recommend building only the modules you need rather that all of Qt.

                    That's why there are alpha, beta and rc releases, to find as much issue as possible and fix them before the release. Thus even if you found something in the beta, make it known, that will help make the next release better :)

                    Interested in AI ? www.idiap.ch
                    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                    1 Reply Last reply
                    0
                    • K Offline
                      K Offline
                      Kong-TSE
                      wrote on last edited by
                      #11

                      I found the same problem with Marcosabba on Qt 5.5 for Winrt, too.
                      I have just tried to rebuild my application on Qt 5.6, today, it is fixed.
                      Drop down is shown below combobox control. But it still has a strange behaviour.
                      When item is dropping down, there is flicker frame.
                      FYI.

                      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