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

QKeyEvent: unbound keys and media keys do not return an empty string

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P3: Somewhat important
    • Some future release
    • 4.4.3
    • Core: Event loop
    • None

    Description

      When dealing with a QKeyEvent in a KeypressEvent with unbound keys (e.g. mediakeys not set up with xmodmap) are treated inconsistently. QKeyEvent::key() returns 0, but QKeyEvent::text().isEmpty() returns false. I would expect that QKeyEvent::text().isEmpty() returns true in this case.

      Attachments

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

        Activity

          People

            paeglis Gatis Paeglis
            janichol Andy Nichols
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes