Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open Parenthesis can not be Typed on Windows with Japanese IME #509

Open
Naruyoko opened this issue Dec 16, 2023 · 3 comments
Open

Open Parenthesis can not be Typed on Windows with Japanese IME #509

Naruyoko opened this issue Dec 16, 2023 · 3 comments

Comments

@Naruyoko
Copy link

Naruyoko commented Dec 16, 2023

Description

On Windows, trying to type open parenthesis "(" with Japanese keyboard layout+IME through Shift+8 puts "×". This means I can't open parenthesis like I type.

Shift+9 puts ")" as expected. Ctrl+Shift+9 also surrounds the cursor with a pair of parenthesis as expected. Shift+8 does type an open parenthesis inside a string literal (i.e. after a single or a double quote). Disabling IME and using the US English layout also works around this issue (since the open parenthesis is now at Shift+9).

Note: I have not tested this on other OS, so I don't know if this is specific to Windows.

Environment

  • OS: Windows 11 Pro 22621.2861
  • Qalculate: 4.8.1, installed through PortableApps Platform
  • IME: Google 日本語入力, Microsoft IME (日本語)

Steps to Reproduce

  1. Open the app.
  2. Type Shift+8.

Expected Behavior

I get "(" in the input.

Actual Behavior

I get "×" in the input.

@hanna-kn
Copy link
Contributor

When activate Japanese keyboard layout in Windows, Shift+9 and Shift+0 inputs parentheses, while Shift+8 inputs asterisk. Unless cursor is within quotes, the asterisk key inputs "×". I have thus not been able to reproduce the issue.

@hanna-kn
Copy link
Contributor

It seems likely that the issue is caused by supporting libraries (erroneously?) reporting Shift+8 as asterisk key, despite by default inputing left parenthesis.

@Naruyoko
Copy link
Author

I tested this again on 5.0.0. The GTK version (qalculate-gtk.exe) still has this issue. The Qt version (which is now the one shipped through PortableApps) does not have this problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants