squidowl / halloy

IRC application written in Rust
GNU General Public License v3.0
1.63k stars 59 forks source link

text input can not use chinese input method #339

Open victory-man opened 6 months ago

victory-man commented 6 months ago

Platform MacOS 12.3.1

text input can not use chinese input method image

Kuchenaxt commented 6 months ago

It also does not seem to support dead keys (used for accents and the like). Can’t type Café or Jalapeño.

Kuchenaxt commented 6 months ago

Guess it needs this improvement for Iced: https://github.com/iced-rs/iced/pull/1858

guibracco commented 4 months ago

It also does not seem to support dead keys (used for accents and the like). Can’t type Café or Jalapeño.

I can't even type "can't" because none of the following keys work: ' " ^ ` ~

casperstorm commented 4 months ago

It also does not seem to support dead keys (used for accents and the like). Can’t type Café or Jalapeño.

I can't even type "can't" because none of the following keys work: ' " ^ ` ~

image

Those you mention works fine for me, however above mentioned PR is still needed for the chinese characters.

guibracco commented 4 months ago

Those you mention works fine for me, however above mentioned PR is still needed for the chinese characters.

Interesting. For the sake of clarity, I'm on a MacBook Pro M1 Pro (macOS 14.5), US English (ANSI) keyboard set to Brazilian — hence those are dead keys (no pun intended).

casperstorm commented 4 months ago

I tried to change to Brazilian and confirmed the issue. You can also try to change to regular US Ansi to confirm it works. I am on a similar Mac, as you. Will bring this to Iced, which is the dependency which is causing this issue.

guibracco commented 4 months ago

Thanks! It works with US and doesn't work with Brazilian or US International - PC, which is another mode with dead keys.