issues
search
esrille
/
ibus-hiragana
ひらがなIME for IBus
https://esrille.github.io/ibus-hiragana/
Apache License 2.0
64
stars
4
forks
source link
GNOME 46以降のWaylandでGTK_IM_MODULE=ibusの指定を不要にする。
#130
Closed
ShikiOkasaka
closed
5 months ago
ShikiOkasaka
commented
8 months ago
さまたげとなっている問題:
mutterの問題でdelete_surrounding_textを文字数で発行できない。
https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/5254
https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2712
mutterの問題でget_surroundingのcursor_indexがUTF-8文字列のバイトインデックスになる。
https://gitlab.gnome.org/GNOME/mutter/-/issues/3102
https://github.com/ibus/ibus/issues/2573
https://docs.gtk.org/gtk4/method.IMContext.get_surrounding.html
(なお、GTK_IM_MODULE=ibusのときは文字単位でのインデックス)
GNOME ShellのSearchテキストボックスでget_surroundingのcursor_indexがUTF-8文字列のバイトインデックスになる。
https://github.com/ibus/ibus/issues/2573
(これとおなじかもしれない)
ただし、これはX11でも同様
“The wayland immodule is the only one we should support under Wayland.”
https://gitlab.gnome.org/GNOME/gtksourceview/-/issues/320#note_1849704
ShikiOkasaka
commented
5 months ago
GNOME 46で一連の問題が修正されます。
さまたげとなっている問題: