fcitx / fcitx5-chewing

17 stars 7 forks source link

Upper case when pressing `Shift` #12

Closed eeeXun closed 4 months ago

eeeXun commented 2 years ago

Is there any way to type upper case when pressing Shift while in chewing. Currently, when in chewing mode and press Shift to type any word, always lower case. And I can't find where to setting it. image

Environment: fcitx5 5.0.15-1 fcitx5-chewing 5.0.10-1

wengxt commented 2 years ago

While it's possible to do that, how would one type lower case then? any suggestions? Do you know if other chewing input method does something differently? BTW, by default you can always press shift to switch to keyboard im if you configured it.

I believe it's a feature in libchewing though since lowercase is more frequently used.

eeeXun commented 1 year ago

Sorry for the late reply. I move from Windows to Linux. In Windows, I found it's more intuitive to type uppercase when pressing shift.

In chewing mode, I think it's more often to type uppercase, for me. If I want to type lowercase, I would do what you said, press shift to change im

In current state, If I want to type uppercase in chewing mode, I must press shift to change im then press shift while typing or press caps lock. This is so inconvenient.

leafpool243 commented 6 months ago

While it's possible to do that, how would one type lower case then? any suggestions? Do you know if other chewing input method does something differently? BTW, by default you can always press shift to switch to keyboard im if you configured it.

I believe it's a feature in libchewing though since lowercase is more frequently used. @wengxt I would suggest this:

  1. Hitting shift key once will toggle to eng+numbers keyboard[1] (more similar to most Chinese IMEs);
  2. Holding shift key will type lowercase letters (current behavior); and
  3. Hitting caps lock key will toggle to uppercase letters (hitting caps lock again would return to zhuyin mode)

[1]: I know that you can use the press shift to return to non-IME option, but I don’t like it because I don’t want that feature for non-IME keyboards (e.g. for Russian, etc.)

wengxt commented 4 months ago

I think this should be handled by libchewing.

BTW, there's some feature that you can use in fcitx if you need to type english word temporarily. "Meta + ` " will launch quickphrase in fcitx that allows you to type English without switching input method, if that helps.

eeeXun commented 4 months ago

"Meta + ` " will launch quickphrase in fcitx that allows you to type English without switching input method

That helps a lot. Thank you!