suchnsuch / Tangent

The publicly-available modules of the Tangent project.
123 stars 8 forks source link

New note keybind interferes with ibus emoji IME on Linux #88

Open abstractsun opened 2 months ago

abstractsun commented 2 months ago

Tangent v0.7.6 Ubuntu 22.04.4 LTS

I have ibus installed, which is from the Ubuntu repositories (ibus, ibus-table-emoji)

When I try to input emoji using the ibus emoji IME, I am able to do so. However, if I attempt to navigate through the emoji list using Ctrl+N, the emoji picker is suddenly closed with whatever emoji was last selected inputted, and Tangent opens a new note document.

Expected behavior: Tangent should not intercept keystrokes while the emoji picker is open.

taylorhadden commented 2 months ago

That's interesting… Do you have similar issues with other electron-based applications? In theory, Electron shouldn't be receiving that Ctrl+N keystroke if ibus is consuming it.

abstractsun commented 1 month ago

Depends on the app, apparently:

taylorhadden commented 1 month ago

This may be as simple as ignoring all keystrokes while an IME is open. I'll put it on the docket.