Bug 2173398 - focus to window lost after switching IME with Windows+Space under GNOME+ibus
Summary: focus to window lost after switching IME with Windows+Space under GNOME+ibus
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: mutter
Version: 37
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: fujiwara
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-02-26 11:32 UTC by Whistler
Modified: 2023-12-09 03:33 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-12-09 03:33:12 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
demo video (300.69 KB, video/webm)
2023-02-26 11:32 UTC, Whistler
no flags Details


Links
System ID Private Priority Status Summary Last Updated
GNOME Gitlab GNOME mutter issues 2674 0 None closed Window focus lost after switching IME with Super+Space 2023-03-07 09:15:57 UTC

Description Whistler 2023-02-26 11:32:14 UTC
Created attachment 1946547 [details]
demo video

Created attachment 1946547 [details]
demo video

Created attachment 1946547 [details]
demo video

Description of problem:

focus to window is lost after switching IME with Windows+Space since some recent 'dnf update'.

Version-Release number of selected component (if applicable):

mutter 43.3-2.fc37

GNOME Version: 43.3
Windowing System: X11


How reproducible:
Always

Steps to Reproduce:
1. launch any application under GNOME, with some Chinese IMEs enabled in ibus.
2. Press Windows+Space to switch IME.

Actual results:

Focus to the application window is now lost, need to click on the window again to refocus.

Expected results:

Focus to the application window should be kept.

Additional info:

See attachment for video.

Comment 1 Whistler 2023-02-26 11:36:03 UTC
GNOME Version: 43.3
Windowing System: X11

Comment 2 Whistler 2023-02-27 02:58:19 UTC
I downgraded mutter to mutter-43.0-4.fc37.x86_64 and the problem solved.  Changing component from ibus to mutter

Comment 3 Whistler 2023-02-27 03:02:57 UTC
https://gitlab.gnome.org/GNOME/mutter/-/issues/2626

seems this is already reported upstream

Comment 4 Vít Ondruch 2023-03-06 12:18:55 UTC
Duplicate of bug 2173985?

Comment 5 Vít Ondruch 2023-03-06 12:23:22 UTC
(In reply to Vít Ondruch from comment #4)
> Duplicate of bug 2173985?

Acutally rather bug 2173201. Sorry for the noise.

Comment 6 Whistler 2023-03-07 02:28:02 UTC
(In reply to Vít Ondruch from comment #5)
> (In reply to Vít Ondruch from comment #4)
> > Duplicate of bug 2173985?
> 
> Acutally rather bug 2173201. Sorry for the noise.

nope, this is about X11 and I'm not using wayland

Comment 7 Vít Ondruch 2023-03-07 09:09:38 UTC
I am using Wayland, but observe the same behavior. It seems like the language switcher gets the focus when switching the language and once it disappears, it is not returned back to the original window.

Comment 8 Vít Ondruch 2023-03-07 09:15:58 UTC
There seems to be fix actually:

https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2878

Comment 9 Vít Ondruch 2023-03-07 09:35:01 UTC
And seems to be fixed in Fedora by mutter-44~rc-1.fc38.x86_64.rpm

Comment 10 Aoife Moloney 2023-11-23 01:20:11 UTC
This message is a reminder that Fedora Linux 37 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 37 on 2023-12-05.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '37'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 37 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 11 Parag Nemade 2023-12-09 03:33:12 UTC
closing this based on comment#9
if still found this bug in F39+ then report a fresh bug.


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