Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-22534

Ctrl+Backspace and other keyboard shortcuts do not work on Mac with Google Japanese IME

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Not Evaluated Not Evaluated
    • None
    • Qt Creator 4.9.1
    • All Other Issues
    • None
    • macOS Mojave 10.14.3
      Qt Creator 5.9.1
      Qt 5.12.0
    • macOS

      Steps to reproduce:
      1. Select the Alphanumeric mode in Google Japanese IME on a Mac.
      2. Assign the key combination Ctrl+Backspace to an editor function, for example DeleteStartOfWordCamelCase.
      3. Press ctrl-backspace with the cursor in some text.

      Expected result: delete backwards by camelCase.
      Actual result: nothing happens.

      This has been a problem for me for at least 1 year probably 2+.

      I rebuilt Creator and did some experiments. When the shortcut is not set, the QKeyEvent passed to TextEditorWidget::keyPressEvent() seems identical using both Google IME and the Mac default 'kotoeri', as far as I can see using the debugger.

      I believe that the ctrl-backspace event gets to QWindowSystemInterface::handleShortcutEvent() but does not continue to QShortcutMap::tryShortcut(). Looking at the source I would guess that an event filter somewhere is accepting the QEvent::ShortcutOverride, but I am not sure.

      This issue is possible related to QTBUG-57934 and/or QTBUG-53804.

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

            con Eike Ziller
            rosetter Tyler Daniel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes