After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 696365 - When switching between firefox and a application with alt+tab, input source is arbitrarily changed.
When switching between firefox and a application with alt+tab, input source ...
Status: RESOLVED DUPLICATE of bug 696259
Product: gnome-settings-daemon
Classification: Core
Component: keyboard
3.7.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-settings-daemon-maint
gnome-settings-daemon-maint
Depends on:
Blocks:
 
 
Reported: 2013-03-22 06:46 UTC by sangu
Modified: 2013-03-22 15:40 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description sangu 2013-03-22 06:46:09 UTC
When switching between firefox and a application with alt+tab, input source is arbitrarily changed.
"This issue happens in Allow different sources for each window."
EN
1. launch firefox
2. launch gedit
3. switch to hangul input source in gedit (한)
click "r "k"
가
4. switch to firefox with alt + tab
5. switch to gedit with alt + tab 
click "r" "k"
rk

gnome-settings-daemon-3.7.92-1.fc19.x86_64
control-center-3.7.92-1.fc19.x86_64
ibus-1.5.1-3.fc19.x86_64
ibus-hangul-1.4.2-1.fc19.x86_64
firefox-19.0.2-2.fc19.x86_64
Comment 1 Bastien Nocera 2013-03-22 06:50:59 UTC
I don't understand the problem here. You have "Allow different sources for each window" enabled, but you're saying that it's not normal that it switches to a different input sources when you switch windows?
Comment 2 sangu 2013-03-22 08:19:50 UTC
(In reply to comment #1)
> I don't understand the problem here. You have "Allow different sources for each
> window" enabled, but you're saying that it's not normal that it switches to a
> different input sources when you switch windows?

1. firefox [en] gedit [한]
Click "r" "k" in gedit [한]
가 in gedit
~~
After switching between firefox and gedit  with alt+tab

2 .firefox [en] gedit [한]
Then, Click "r", "k"  in gedit [한]
rk in gedit
~~
Comment 3 Matthias Clasen 2013-03-22 12:17:11 UTC
The complaint seems to be that the per-window input source does not persist over Alt-Tab. Is this specific to Alt-Tab ? ie does activating the windows in some other way have the same issue ?
Comment 4 sangu 2013-03-22 12:36:05 UTC
(In reply to comment #3)
> The complaint seems to be that the per-window input source does not persist
> over Alt-Tab. Is this specific to Alt-Tab ? ie does activating the windows in
> some other way have the same issue ?

Alt+Tab and Firfox
When using Alt+Tab to switch between "firefox" and another application, this input source bug happens in another application.

On the other hand
1. Use mouse to switch between firefox and another application.
Input source switch Works well
2. Use Alt+Tab to switch between the other applications except firefox
Input source switch Works well
Comment 5 Rui Matos 2013-03-22 12:55:05 UTC
I can reproduce this. It doesn't seem related to firefox as I can also reproduce with two gtk3 applications although it does reproduce more reliably with firefox.

I think this is fundamentally the same as bug 696259 that Takao reported some days ago - it seems that something changed in mutter and applications are getting an extra focus out/in pair, I'll investigate that.

See also https://bugzilla.redhat.com/show_bug.cgi?id=919863 for a possible fix on the ibus side which I think should be done anyway since ibus shouldn't be losing track of its input contexts in any case.

Not marking this as a dupe yet until I'm sure it's the same issue.
Comment 6 Rui Matos 2013-03-22 15:40:35 UTC

*** This bug has been marked as a duplicate of bug 696259 ***