fcitx5-cskk icon indicating copy to clipboard operation
fcitx5-cskk copied to clipboard

[Feature] Don't lose the input when changing the focus window

Open naokiri opened this issue 9 months ago • 0 comments

This is a feature request found on https://github.com/naokiri/cskk/issues/260

Current implementation

https://github.com/fcitx/fcitx5-cskk/blob/989150523f0792b823531aab16c34d5554248c68/src/cskk.cpp#L95 Currently resets when the IME is deativated, which loses the input. fcitx5で別のウィンドウをクリックした時にdeactivateされ、resetでinput内容が失われます。

Wanted implementation

When losing focus and deactivated, don't reset and keep the context. When coming back to the same context (might depend on the fcitx5 configuration what is the 'same' context), user can input continuously from the previous state. 元に戻ってきた時に状態を保持したままでいて続きから入力できるようになったら嬉しいかもしれない。

naokiri avatar Feb 23 '25 06:02 naokiri