public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Takao Fujiwara <tfujiwar@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/ibus] autotool: Complete preedit signals for PostProcessKeyEvent
Date: Sun, 31 May 2026 02:08:22 GMT [thread overview]
Message-ID: <178019330201.1.16712407066199141138.rpms-ibus-b10672f7c845@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/ibus
Branch : autotool
Commit : b10672f7c8456b31425b1874ebce81d2e7f4dc8e
Author : Takao Fujiwara <tfujiwar@redhat.com>
Date : 2023-12-06T00:30:11+09:00
Stats : +78/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/ibus/c/b10672f7c8456b31425b1874ebce81d2e7f4dc8e?branch=autotool
Log:
Complete preedit signals for PostProcessKeyEvent
---
diff --git a/ibus-HEAD.patch b/ibus-HEAD.patch
index 15759b7..40c33b6 100644
--- a/ibus-HEAD.patch
+++ b/ibus-HEAD.patch
@@ -1336,3 +1336,77 @@ index f1bbd720..783ec842 100644
--
2.41.0
+From 719792d300579c1bfdf43251a83c6ed4e5594c07 Mon Sep 17 00:00:00 2001
+From: fujiwarat <takao.fujiwara1@gmail.com>
+Date: Tue, 5 Dec 2023 23:13:25 +0900
+Subject: [PATCH] src: Complete preedit signals for PostProcessKeyEvent
+
+I forgot to implement show-preedit-text and hide-preedit-text signals
+with PostProcessKeyEvent D-Bus signal in the client side.
+
+Fixes: https://github.com/ibus/ibus/commit/e059536
+
+BUG=https://github.com/ibus/ibus/issues/2585
+---
+ src/ibusinputcontext.c | 33 ++++++++++++++++++++++++++-------
+ 1 file changed, 26 insertions(+), 7 deletions(-)
+
+diff --git a/src/ibusinputcontext.c b/src/ibusinputcontext.c
+index 1b62f656..600526e5 100644
+--- a/src/ibusinputcontext.c
++++ b/src/ibusinputcontext.c
+@@ -1463,6 +1463,22 @@ ibus_input_context_fwd_text_to_delete_surrounding (IBusInputContext *context,
+ }
+
+
++static void
++ibus_input_context_fwd_text_to_hide_preedit (IBusInputContext *context,
++ IBusText *text)
++{
++ g_signal_emit (context, context_signals[HIDE_PREEDIT_TEXT], 0, text);
++}
++
++
++static void
++ibus_input_context_fwd_text_to_show_preedit (IBusInputContext *context,
++ IBusText *text)
++{
++ g_signal_emit (context, context_signals[SHOW_PREEDIT_TEXT], 0, text);
++}
++
++
+ static void
+ ibus_input_context_fwd_text_to_update_preedit (IBusInputContext *context,
+ IBusText *text,
+@@ -1558,18 +1574,21 @@ ibus_input_context_post_process_key_event (IBusInputContext *context)
+ case 'c':
+ ibus_input_context_fwd_text_to_commit (context, text);
+ break;
+- case 'f': {
++ case 'd':
++ ibus_input_context_fwd_text_to_delete_surrounding (context, text);
++ break;
++ case 'f':
+ ibus_input_context_fwd_text_to_forward_key_event (context, text);
+ break;
+- }
+- case 'r': {
++ case 'h':
++ ibus_input_context_fwd_text_to_hide_preedit (context, text);
++ break;
++ case 'r':
+ ibus_input_context_fwd_text_to_require_surrounding (context, text);
+ break;
+- }
+- case 'd': {
+- ibus_input_context_fwd_text_to_delete_surrounding (context, text);
++ case 's':
++ ibus_input_context_fwd_text_to_show_preedit (context, text);
+ break;
+- }
+ case 'u':
+ case 'm': {
+ IBusText *position;
+--
+2.41.0
+
diff --git a/ibus.spec b/ibus.spec
index b910b6c..f997a7d 100644
--- a/ibus.spec
+++ b/ibus.spec
@@ -58,7 +58,7 @@
Name: ibus
Version: 1.5.29~rc2
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Intelligent Input Bus for Linux OS
License: LGPL-2.1-or-later
URL: https://github.com/ibus/%name/wiki
@@ -580,6 +580,9 @@ dconf update || :
%{_datadir}/installed-tests/ibus
%changelog
+* Tue Dec 05 2023 Takao Fujiwara <tfujiwar@redhat.com> - 1.5.29~rc2-4
+- Complete preedit signals for PostProcessKeyEvent
+
* Sat Nov 25 2023 Takao Fujiwara <tfujiwar@redhat.com> - 1.5.29~rc2-3
- Resolve #2188800 Error handling with display == null
- Enhance #2237486 Implement preedit color in Plasma Wayland
reply other threads:[~2026-05-31 2:08 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178019330201.1.16712407066199141138.rpms-ibus-b10672f7c845@fedoraproject.org \
--to=tfujiwar@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox