public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Nikolay Plastinin <plaztininikolai@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/imsettings] f44: Ignore Wayland sessions in xcompose.conf (rhbz#2539584)
Date: Tue, 29 Sep 2026 07:49:46 GMT	[thread overview]
Message-ID: <179066818646.1.7302204507754527883.rpms-imsettings-f2cf80124d6a@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/imsettings
            Branch : f44
            Commit : f2cf80124d6a1a2480f9387cab8a4e97b36c6128
            Author : Nikolay Plastinin <plaztininikolai@gmail.com>
            Date   : 2026-09-24T01:51:45+08:00
            Stats  : +17/-1 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/imsettings/c/f2cf80124d6a1a2480f9387cab8a4e97b36c6128?branch=f44

            Log:
            Ignore Wayland sessions in xcompose.conf (rhbz#2539584)

xcompose.conf is used for am_ET, el_GR, fi_FI, pt_BR and ru_RU, but unlike
none.conf it has no IMSETTINGS_IGNORE_SESSION, so QT_IM_MODULE=xim is still
set on Plasma Wayland and the virtual keyboard does not work in Qt apps.
Add the same IMSETTINGS_IGNORE_SESSION line as none.conf has.

Resolves: rhbz#2539584

---
diff --git a/imsettings-xcompose-wayland.patch b/imsettings-xcompose-wayland.patch
new file mode 100644
index 0000000..27ce5a2
--- /dev/null
+++ b/imsettings-xcompose-wayland.patch
@@ -0,0 +1,8 @@
+--- imsettings-1.8.11.orig/data/xcompose.in.in	2021-09-28 14:52:24.000000000 +0800
++++ imsettings-1.8.11/data/xcompose.in.in	2026-09-24 01:51:31.252115189 +0800
+@@ -5,3 +5,5 @@ GTK_IM_MODULE=xim
+ QT_IM_MODULE=xim
+ SHORT_DESC="X compose table"
+ LONG_DESC="X locale based compose table"
++# We don't take care of Wayland
++IMSETTINGS_IGNORE_SESSION=*-wayland,GNOME

diff --git a/imsettings.spec b/imsettings.spec
index 7850740..75cbb45 100644
--- a/imsettings.spec
+++ b/imsettings.spec
@@ -1,6 +1,6 @@
 Name:		imsettings
 Version:	1.8.11
-Release:	3%{?dist}
+Release:	4%{?dist}
 License:	LGPL-2.0-or-later
 URL:		https://gitlab.com/tagoh/%{name}/
 BuildRequires:	desktop-file-utils
@@ -20,6 +20,9 @@ Patch0:		%{name}-constraint-of-language.patch
 Patch1:		%{name}-disable-xim.patch
 ## Fedora specific: Enable xcompose for certain languages
 Patch2:		%{name}-xinput-xcompose.patch
+## Fedora specific: Do not set up IM env vars for xcompose locales on Wayland
+## https://bugzilla.redhat.com/show_bug.cgi?id=2539584
+Patch3:		%{name}-xcompose-wayland.patch
 %if 0%{?rhel}
 Patch4:		%{name}-glib.patch
 ## backport
@@ -319,6 +322,11 @@ fi
 %endif
 
 %changelog
+* Thu Sep 24 2026 Nikolay Plastinin <plaztininikolai@gmail.com> - 1.8.11-4
+- Ignore Wayland sessions in xcompose.conf like none.conf does, so
+  QT_IM_MODULE=xim is not set on Plasma Wayland for am_ET, el_GR, fi_FI,
+  pt_BR and ru_RU (rhbz#2539584)
+
 * Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.11-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
 

                 reply	other threads:[~2026-09-29  7:49 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=179066818646.1.7302204507754527883.rpms-imsettings-f2cf80124d6a@fedoraproject.org \
    --to=plaztininikolai@gmail.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