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

QKeyEvent regression in Qt5

XMLWordPrintable

    • xcb: 6ad458bc93162753e448eea28499e778e2946d2c osx: 933fab137dcaa8bff2a65ca67918f2765875d2cf

      Steps to reproduce:
      1) Start the lineedits from qt4 and qt5 example (qtbase/examples/widgets/lineedits vs examples/widgets/lineedits)
      2) Press Ctrl+B
      3) Notice that for qt4 nothing is inserted, whereas for qt5 a 'b' is inserted.

      The cause of that is that the QKeyEvent::text() property contains the ascii code \002 in qt4 whereas in qt5 the text is 'b'.

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

            liaqi Liang Qi
            dt Daniel Teske
            Votes:
            1 Vote for this issue
            Watchers:
            14 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes