unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Ibus does not work with GTK 4 applications (?)
@ 2022-10-18 20:46 Luis Felipe
  2022-10-19  7:09 ` Liliana Marie Prikler
  0 siblings, 1 reply; 5+ messages in thread
From: Luis Felipe @ 2022-10-18 20:46 UTC (permalink / raw)
  To: help guix


[-- Attachment #1.1: Type: text/plain, Size: 1418 bytes --]

Hi,

I stumbled upon this issue when migrating an application from GTK+ to GTK 4 on a Guix System (77e768a) with ibus set up. Input methods didn't work in the GTK 4 GUI while they worked fine¹ in the GTK+ 3 GUI.

Looking at my ~/.profile file, I see that I export some variables to work around the known ibus issue (https://issues.guix.gnu.org/issue/35610):

  export GUIX_GTK2_IM_MODULE_FILE="$HOME/.guix-profile/lib/gtk-2.0/2.10.0/immodules-gtk2.cache"
  export GUIX_GTK3_IM_MODULE_FILE="$HOME/.guix-profile/lib/gtk-3.0/3.0.0/immodules-gtk3.cache"

The above is missing a corresponding variable for GTK4. But I couldn't figure it out because I can't find any a corresponding "immodules-gtk4".

I also checked GNOME applications that already migrated to GTK 4 or libadwaita, and couldn't use my input methods there either (e.g. gnome-music, gnome-calendar). Something to note about this applications is that they are pretty much unusable right now, but I don't know if that's related to the ibus thing.

Anyone knows anything about this? I wonder if there is some setting missing in Guix System regarding GTK 4 for this to work...


__________
1. I say ibus works fine in GTK+ apps, but not quite. Everytime I reboot, I have to "ibus-daemon -dr" to make it work (but that's another story, or is it?).
‾‾‾‾‾‾‾‾‾‾

---
Luis Felipe López Acevedo
https://luis-felipe.gitlab.io/

[-- Attachment #1.2: publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc --]
[-- Type: application/pgp-keys, Size: 1722 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 509 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-10-20 20:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-18 20:46 Ibus does not work with GTK 4 applications (?) Luis Felipe
2022-10-19  7:09 ` Liliana Marie Prikler
2022-10-19 16:50   ` Luis Felipe
2022-10-20  6:23     ` Liliana Marie Prikler
2022-10-20 20:20       ` Luis Felipe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).