Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Solved QML combobox stay down after mouse pressed...

    QML and Qt Quick
    1
    2
    538
    Loading More Posts
    • 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.
    • F
      filipdns last edited by filipdns

      Hello,

      I have strange problem with combobox, use this simple code:

           ComboBox
           {
           model:["test1","test2"]
           }
      

      I can navigate with mouse and select item one time, after that, by click I can not see the list any more or change the value but I can change it with the roller of the mouse...

      I just see that the combobox change from grey to light blue when I click on it at the first time but after the value is selected the button stay light blue like it's stay down...

      0_1519121110083_combobox.jpg

      Do you know why?

      thank you for your help

      1 Reply Last reply Reply Quote 0
      • F
        filipdns last edited by

        Qt 5.10.0 added support for native menus on Windows. This caused a regression in Qt Quick Controls 1 ComboBox. ComboBox did not get notified that the menu popup was closed, so it thought it was still pressed and therefore refused to re-open the popup. The bug (QTBUG-64628) has been fixed in Qt 5.10.1.

        1 Reply Last reply Reply Quote 1
        • First post
          Last post