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: Resolves: #2088656 Revise XKB engine panel menu in Plasma Wayland
Date: Sun, 31 May 2026 02:07:52 GMT [thread overview]
Message-ID: <178019327234.1.9436024538414577889.rpms-ibus-78fef0545411@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/ibus
Branch : autotool
Commit : 78fef0545411a9d13fca3bff0abf060e4e4d236c
Author : Takao Fujiwara <tfujiwar@redhat.com>
Date : 2022-06-11T21:30:39+09:00
Stats : +21/-7 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/ibus/c/78fef0545411a9d13fca3bff0abf060e4e4d236c?branch=autotool
Log:
Resolves: #2088656 Revise XKB engine panel menu in Plasma Wayland
---
diff --git a/ibus-HEAD.patch b/ibus-HEAD.patch
index a3fe827..d1cbf2f 100644
--- a/ibus-HEAD.patch
+++ b/ibus-HEAD.patch
@@ -1094,9 +1094,9 @@ index f8dced6b..92464234 100755
--
2.35.3
-From 85b381d531b8fc319e627a5e9d4b815f34a50e2f Mon Sep 17 00:00:00 2001
+From 59d9401da254c0152c313f9027457eb234a23a8c Mon Sep 17 00:00:00 2001
From: fujiwarat <takao.fujiwara1@gmail.com>
-Date: Thu, 2 Jun 2022 16:47:10 +0900
+Date: Sat, 11 Jun 2022 21:10:12 +0900
Subject: [PATCH] ui/gtk3: Hide XKB engine but enable it in Plasma Wayland
IBus just cannot forward key events in Plasma Wayland because
@@ -1104,11 +1104,11 @@ IBus has to handle the compose keys.
BUG=rhbz#2088656
---
- ui/gtk3/panel.vala | 46 +++++++++++++++++++++++++++++-----------------
- 1 file changed, 29 insertions(+), 17 deletions(-)
+ ui/gtk3/panel.vala | 50 ++++++++++++++++++++++++++++++----------------
+ 1 file changed, 33 insertions(+), 17 deletions(-)
diff --git a/ui/gtk3/panel.vala b/ui/gtk3/panel.vala
-index 61bfa1b6..900f0168 100644
+index 61bfa1b6..28a1aa0b 100644
--- a/ui/gtk3/panel.vala
+++ b/ui/gtk3/panel.vala
@@ -41,6 +41,7 @@ class Panel : IBus.PanelService {
@@ -1201,7 +1201,18 @@ index 61bfa1b6..900f0168 100644
} else {
var current_engine = m_engines[0];
m_engines = engines;
-@@ -1566,7 +1578,7 @@ class Panel : IBus.PanelService {
+@@ -1289,6 +1301,10 @@ class Panel : IBus.PanelService {
+ var longname = engine.get_longname();
+ var textdomain = engine.get_textdomain();
+ var transname = GLib.dgettext(textdomain, longname);
++ if (m_is_wayland && engine.get_name().has_prefix("xkb:")) {
++ language = _("Other");
++ transname = _("No input method");
++ }
+ var item = new Gtk.MenuItem.with_label(
+ "%s - %s".printf (IBus.get_language_name(language), transname));
+ // Make a copy of engine to workaround a bug in vala.
+@@ -1566,7 +1582,7 @@ class Panel : IBus.PanelService {
if (engine != null) {
var name = engine.get_name();
diff --git a/ibus.spec b/ibus.spec
index b8774cf..26dd8d6 100644
--- a/ibus.spec
+++ b/ibus.spec
@@ -39,7 +39,7 @@
Name: ibus
Version: 1.5.26
-Release: 8%{?dist}
+Release: 9%{?dist}
Summary: Intelligent Input Bus for Linux OS
License: LGPLv2+
URL: https://github.com/ibus/%name/wiki
@@ -522,6 +522,9 @@ dconf update || :
%{_datadir}/installed-tests/ibus
%changelog
+* Sat Jun 11 2022 Takao Fujiwara <tfujiwar@redhat.com> - 1.5.26-9
+- Resolves: #2088656 Revise XKB engine panel menu in Plasma Wayland
+
* Thu Jun 02 2022 Takao Fujiwara <tfujiwar@redhat.com> - 1.5.26-8
- Resolves: #2088656 Hide XKB engine but enable it in Plasma Wayland
reply other threads:[~2026-05-31 2:07 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=178019327234.1.9436024538414577889.rpms-ibus-78fef0545411@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