public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/imsettings] f44: Ignore Wayland sessions in xcompose.conf (rhbz#2539584)
@ 2026-09-29  7:49 Nikolay Plastinin
  0 siblings, 0 replies; only message in thread
From: Nikolay Plastinin @ 2026-09-29  7:49 UTC (permalink / raw)
  To: git-commits

            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
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-29  7:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-29  7:49 [rpms/imsettings] f44: Ignore Wayland sessions in xcompose.conf (rhbz#2539584) Nikolay Plastinin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox