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

Caps Lock indicator does not update

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.6.0
    • None
    • macOS
    • aee3d9323 (12.0)

    Description

      While the new macOS Sonoma Caps Lock indicator works in a simple QLineEdit, it does not work correctly if that line edit is in a modal dialog.

      #include <QApplication>
      #include <QInputDialog>
      
      int main(int argc, char *argv[])
      {
          QApplication a(argc, argv);
          QInputDialog dlg;
          dlg.exec();
          return a.exec();
      }
      

      The Caps Lock indicator only shows when you ALT+Tab away and back into the dialog once, but then disappears when the cursor is moved.

      Attachments

        Issue Links

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

          Activity

            People

              tpochep Timur Pocheptsov
              madwinter Marcus Tillmanns
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes