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

QFontComboBox popup menu will hide when press down arrow still time more than QApplication::doubleClickInterval() value

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 5.15.2, 6.0.0
    • None
    • windows10, Ubuntu19.04
    • All

    Description

      step1: phenomenon

      Create a QApplication and add  QFontComboBox, next press QFontComboBox Down arrow  until more than QApplication::doubleClickInterval() time,  and then release leftButton, the popup menu will hide. maybe this is not friendly to user.the phenomenon like newError.mp4

      I tested on UOS1021, the phenomenon is same with Ubuntu19.04 and windows10. (tested Qt version is Qt5.14.2, Qt5.15.1, Qt5.15.2, Qt6.0.0 )

      here is my test code:

      #include <QApplication>
      #include <QLineEdit>
      
      // test code
      int main(int argc, char *argv[])
      {
          QApplication a(argc, argv);
      
          QFontComboBox b;
          b.show();
      
          return a.exec();
      }
      

      step2: Expectation phenomenon

      hope QFontComboBox popup menu not  hide when mouse leftbutton press Down arrow, the press time more than QApplication::doubleClickInterval() value.

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            kingderzhang kingderzhang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes