[go: up one dir, main page]

Menu

#2492 Unable to type certain characters on non US keyboards/IME on macOS app using Scintilla

Bug
open
nobody
5
2026-01-15
2025-12-23
Bolsw
No

Hello everybody,

This ticket was opened because I was referred to here due to a bug in this app for macOS: https://github.com/dail8859/NotepadNext/issues/814#issuecomment-3122088160
which seems to make it so that you can't type certain characters on other keyboards/IME.

Examples:
1. The original poster said he can't type a hashtag (#) with the UK keyboard/input method.

2 . From myself, typing any of these: "[]|{}", which work in any other place with the macOS OPTION key + 5 6 7 8 9 respectively. In this program it does not do anything at all.

Thank you!

Platform infos:
OS: macOS 26.1
Locale: de_DE
CPU: arm64
Keyboard: QWERTZ (German/Germany)

Notepad Next v0.12
Build Date/Time: Jun 16 2025 01:35:39
Qt: 6.5.3

Scintilla: 5.5.7 (https://github.com/dail8859/NotepadNext/tree/v0.12/src/scintilla)

Discussion

  • Neil Hodgson

    Neil Hodgson - 2025-12-23
    • labels: scintilla, notepadnext --> scintilla, notepadnext, Qt
     
  • Simon Berriman

    Simon Berriman - 2026-01-15

    On macOS, the Option key appears to be intercepted, so 'Option + numeric key' combos on non-US keyboard layouts do not produce the desired characters. For example, Option+3 on a UK layout MacBook M4 Pro running Tahoe 26.2 should produce '#'. Likewise Option+2 should be '€'. These do not register in Scintilla and nothing is produced, as shown in the macOS version of NotepadNext - the bug report for which is linked this bug's description.

     
  • Neil Hodgson

    Neil Hodgson - 2026-01-15

    I don't work on the mac Qt version myself.

    You could look at ScintillaEditBase::keyPressEvent and add tracing.

    There is some special handling of alt (Option) starting at bool input = (!ctrl || alt);.

     

Log in to post a comment.