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

HTML <select> popup menus dont stay open

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.9
    • 5.8.0
    • WebEngine
    • None
    • Linux, 64-bit, X11
    • 7e7dd26251c355a54b5c34ea4fb27dcda9ee7b94

    Description

      Regression from 5.7.1 Clicking on the combobox control for a <select> tag causes the popup menu to display and then close again instantly. Minimal script to reproduce:

      from PyQt5.Qt import (
          QApplication, QWebEnginePage, QWebEngineProfile, QWebEngineView, QUrl, QTimer, QWebEngineFullScreenRequest
      )
      
      app = QApplication([])
      w = QWebEngineView()
      w.setHtml('''<body><select name="select">
        <option value="value1">Value 1</option>
        <option value="value2" selected>Value 2</option>
        <option value="value3">Value 3</option>
      </select>
      ''')
      w.show()
      app.exec_()
      

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              qt_webengine_team Qt WebEngine Team
              kovidgoyal Kovid Goyal
              Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes