Bug 1214271 - ibus-wayland works quite wrong
Summary: ibus-wayland works quite wrong
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: ibus
Version: 22
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: fujiwara
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-04-22 10:36 UTC by evgenymarkov
Modified: 2016-05-10 20:01 UTC (History)
6 users (show)

Fixed In Version: ibus-1.5.10-4.fc20
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-05-03 17:23:56 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description evgenymarkov 2015-04-22 10:36:21 UTC
Description of problem:
When i login to wayland session I found a lot of problems with the keyboard layout:
1. Current layout and layout in indicator are not syncronized. Sometimes it shows right info, sometimes wrong.
2. Modifier key to switch the language(default shift + alt) does not work.
3. Win + space works but if I click quickly, it does not change the layout.

Version-Release number of selected component (if applicable):
1.5.10-1.fc22

Steps to Reproduce:
1. Login to gnome wayland session
2. Try to write some text in different languages.

Expected results:
Modifier key should work, win + space too.
Indicator should display the correct information.

Comment 1 fujiwara 2015-04-24 05:46:12 UTC
I cannot reproduce any timing issue.
Did you get the latest Fedora 22?
Probably you could run 'dnf distro-sync' to get the latest desktop.

I found GTK3 application does not enable IMEs on wayland and I fixed it locally.
Are you able to test the following ibus-gtk3?
https://fujiwara.fedorapeople.org/ibus/20150424/9556321/

Comment 2 fujiwara 2015-04-24 05:47:57 UTC
wayland is not a default desktop.
BTW you don't need to run ibus-wayland on GNOME Wayland.

Comment 3 Mike FABIAN 2015-04-24 10:42:59 UTC
(In reply to fujiwara from comment #1)
> I cannot reproduce any timing issue.
> Did you get the latest Fedora 22?
> Probably you could run 'dnf distro-sync' to get the latest desktop.
> 
> I found GTK3 application does not enable IMEs on wayland and I fixed it
> locally.
> Are you able to test the following ibus-gtk3?
> https://fujiwara.fedorapeople.org/ibus/20150424/9556321/

It works fine for me with these updates (Without these updates,
ibus did not work for me in Gnome Wayland on Fedora 22 Beta after
installing all updates with “sudo dnf update”)

But with Fujiwara San’s updates everything seems fine.

Switching works both with Super+Space and with Alt+Shift
(Alt+Shift switching has to be enabled in gnome-control-center first,
as the gnome-control-center currently crashes in Gnome Wayland
on F22 Beta, one can start Gnome without wayland, do the configuration
in the gnome-control-center) and then come back to Gnome Wayland.

I tested with these keyboard layouts and input methods:

[mfabian@Fedora-Live-Workstation-x86_64-2 ~]$ dconf dump /org/gnome/desktop/input-sources/
[/]
show-all-sources=true
current=uint32 0
sources=[('xkb', 'us'), ('xkb', 'jp'), ('ibus', 'kkc'), ('xkb', 'de'), ('xkb', 'us+intl-unicode')]
xkb-options=['grp:alt_shift_toggle']
[mfabian@Fedora-Live-Workstation-x86_64-2 ~]$

Switching works fine, I found no problems at all after updating to
Fujiwara San’s new packages.

Fujiwara San suggests that Gnome should set XMODIFIERS=@im=ibus though and QT_IM_MODULE=ibus. Because without that, ibus won’t work in xterm and Qt applications.

In Gnome/GTK2/GTK3 applications is seems to work without setting GTK_IM_MODULE=ibus because of:

[mfabian@Fedora-Live-Workstation-x86_64-2 ~]$ dconf dump /org/gnome/desktop/interface/
[/]
gtk-im-module='ibus'

Comment 4 Fedora Update System 2015-04-27 03:44:15 UTC
ibus-1.5.10-3.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/ibus-1.5.10-3.fc20

Comment 5 Fedora Update System 2015-04-27 03:45:25 UTC
ibus-1.5.10-3.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/ibus-1.5.10-3.fc21

Comment 6 Fedora Update System 2015-04-27 03:46:37 UTC
ibus-1.5.10-3.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/ibus-1.5.10-3.fc22

Comment 7 Fedora Update System 2015-04-28 13:09:34 UTC
Package ibus-1.5.10-3.fc22:
* should fix your issue,
* was pushed to the Fedora 22 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing ibus-1.5.10-3.fc22'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-7032/ibus-1.5.10-3.fc22
then log in and leave karma (feedback).

Comment 8 Fedora Update System 2015-05-03 17:23:56 UTC
ibus-1.5.10-4.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2015-05-19 16:18:52 UTC
ibus-1.5.10-4.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2015-05-19 16:20:00 UTC
ibus-1.5.10-4.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.