Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for WebAssembly
  4. QComboBox behaviour

QComboBox behaviour

Scheduled Pinned Locked Moved Solved Qt for WebAssembly
webassembly
5 Posts 3 Posters 602 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.
  • RenioR Offline
    RenioR Offline
    Renio
    wrote on last edited by
    #1

    Good morning people,
    I have observed this behaviour about QComboBox in a Desktop application and WebAssembly application.
    If I try to select without click an item in a combobox, Combo have a different behaviour:
    In case I select an item in a desktop application the item is highlighted, in case I select an item in a WabAssembly application the item is NOT highlighted.

    I work with Qt 6.4.0 beta2

    Is a bug of WebAssembly library?

    WebAssembly:
    ComboWeb.jpg

    Desktop:
    ComboPC.JPG

    p.s. apology for the images

    1 Reply Last reply
    0
    • lorn.potterL Offline
      lorn.potterL Offline
      lorn.potter
      wrote on last edited by
      #4

      Could you try the 6.4.0 release? If it is still an issue, please report the bug at https://bugreports.qt.io/

      Freelance Software Engineer, Platform Maintainer QtWebAssembly, Maintainer QtSensors
      Author, Hands-On Mobile and Embedded Development with Qt 5 http://bit.ly/HandsOnMobileEmbedded

      RenioR 1 Reply Last reply
      0
      • B Offline
        B Offline
        balping
        wrote on last edited by
        #2

        I think only click events are forwarded to Qt and not mouse move events, that's why the drop-down is not highlighted. If you check out the quick controls gallery demo, none of the inputs react to hover events. I don't know why this is the case though.

        1 Reply Last reply
        0
        • B Offline
          B Offline
          balping
          wrote on last edited by
          #3

          Ok, I found this bugreport

          This might fix your issue, but I haven't tried it:

          QGuiApplication::styleHints()->setUseHoverEffects(true);
          
          1 Reply Last reply
          1
          • lorn.potterL Offline
            lorn.potterL Offline
            lorn.potter
            wrote on last edited by
            #4

            Could you try the 6.4.0 release? If it is still an issue, please report the bug at https://bugreports.qt.io/

            Freelance Software Engineer, Platform Maintainer QtWebAssembly, Maintainer QtSensors
            Author, Hands-On Mobile and Embedded Development with Qt 5 http://bit.ly/HandsOnMobileEmbedded

            RenioR 1 Reply Last reply
            0
            • lorn.potterL lorn.potter

              Could you try the 6.4.0 release? If it is still an issue, please report the bug at https://bugreports.qt.io/

              RenioR Offline
              RenioR Offline
              Renio
              wrote on last edited by
              #5

              @lorn-potter I try asap

              1 Reply Last reply
              0
              • RenioR Renio has marked this topic as solved on

              • Login

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