Bug 1215962
Summary: | XMODIFIERS and QT_IM_MODULE are not set when using Gnome Wayland, therefore ibus does not work in Qt or X11 programs started from a Gnome Wayland desktop | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Mike FABIAN <mfabian> |
Component: | gnome-settings-daemon | Assignee: | Bastien Nocera <bnocera> |
Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 22 | CC: | bnocera, fmuellner, kalevlember, mfabian, mkasik, ofourdan, rstrode, tfujiwar, tiagomatos |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-07-19 13:53:52 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Mike FABIAN
2015-04-28 08:50:44 UTC
On a non-Wayland Gnome session on Fedora 22 Beta, QT_IM_MODULE=ibus and XMODIFIERS=@im=ibus are set. On a non-Wayland Gnome session on Fedora 22 Beta, IM_SETTINGS_MODULE=IBus is set as well, which is not set on the Gnome Wayland session either. (In reply to Mike FABIAN from comment #2) > IM_SETTINGS_MODULE=IBus IMSETTINGS_MODULE=IBus sorry for the typo. This probably works in X but not wayland, because X sessions are run through the /etc/X11/Xsession shell script which runs a tower of shell scripts in /etc/X11/xinit/xinitrc.d We don't run Xsession on wayland, so probably need to find some other way to set the environment variables (or change the code to have the right defaults and not need them) gnome-settings-daemon/main.c:set_legacy_ibus_env_vars() sends QT_IM_MODULE and XMODIFERS environment variables. and gnome-session/gsm-manager.c:gsm_manager_setenv() receives the environment variables and calls setenv(). setenv() works in non-Wayland GNOME but does not work in GNOME Wayland. __environ[] includes QT_IM_MODULE and XMODIFIERS in gnome-session but /proc/$PID/environ does not include the variables. I don't know why this can happen in wayland. Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed. Fixed verified in Fedora 24. |