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

Some key symbols generated by xkb level 3 shift don't work in QTextBrowser, QTextEdit, QLineEdit

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3: Somewhat important P3: Somewhat important
    • 6.1.2, 6.2.0 Alpha, 6.2
    • 4.8.5, 5.2.0, 5.4.0, 5.7.0, 5.7.1, 5.12.1, 5.15
    • None
    • Manjaro GNU/Linux 0.8.9rc1-1 stable
      XFCE 4.10(11)
      gcc (GCC) 4.8.2 20131219 (prerelease)
    • 4b0b87b5c2173ee70eacfdd7cea08aea8a5164c8 122455d37e94e6703d958fb8eac665c4f89c717a (qt/qtbase/6.1) 91ec6b19883cd64231a69c2df7fbc3a0d641576d (qt/qtbase/6.0) d8a066711f8e24f788035d7ef47a03d817b6bcb3 (qt/tqtc-qtbase/5.15)

      I have assigned several key functions (Delete, BackSpace, Left, Right, Home, End, Up, Down, PageUp, PageDown) to letter keys on 3-rd and 4-th level in /usr/share/X11/xkb/symbols/us and /usr/.../ua.
      This is an example of rebound Delete and BackSpace in /usr/share/X11/xkb/symbols/us ("dvp" variant):

      key <AC03> { [ e, E, BackSpace, BackSpace ] };
      key <AC04> { [ u, U, Delete, Delete ] };
      

      Qt4: none of these rebound keys is accepted by QTextBrowser, QTextEdit; only BackSpace is accepted by QLineEdit. I have inactive QTreeWidget in the same QMainWindow and it handles keys, which are not accepted by active text widgets.

      Qt5: all these keys are accepted by QLineEdit; only BackSpace is not accepted by QTextBrowser, QTextEdit. As in Qt4, BackSpace is handled by inactive QTreeWidget in case of active QTextBrowser or QTextEdit.

      There was a similar (only directional keys) issue: QTBUG-26302 . Looks like it was fixed only in Qt5...

        1. CMakeLists.txt
          0.6 kB
        2. main.cpp
          3 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            liaqi Liang Qi
            vedg Igor Kushnir
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: