Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switching keyboard layouts does not work as expected #166

Closed
totaam opened this issue Jul 13, 2012 · 13 comments
Closed

Switching keyboard layouts does not work as expected #166

totaam opened this issue Jul 13, 2012 · 13 comments

Comments

@totaam
Copy link
Collaborator

totaam commented Jul 13, 2012

Issue migrated from trac ticket # 166

component: core | priority: major | resolution: wontfix

2012-07-13 13:45:07: angel.tsankov created the issue


Multiple keyboard layouts are setup on both xpra server host and on xpra client host. On both hosts the key sequence to switch between keyboard layouts is LSHIFT + RSHIFT. Pressing this key combination on xpra client switches the keyboard layout on the client, but the input characters sent to the attached application are still those of the previous keyboard layout.

@totaam
Copy link
Collaborator Author

totaam commented Jul 13, 2012

2012-07-13 13:49:21: antoine changed status from new to accepted

@totaam
Copy link
Collaborator Author

totaam commented Jul 13, 2012

2012-07-13 13:49:21: antoine commented


Does it help if you disconnect and re-connect?

How are those keyboards configured? What software does the switching? etc..
Need more info.

@totaam
Copy link
Collaborator Author

totaam commented Jul 13, 2012

2012-07-13 14:27:03: angel.tsankov commented


No, re-connecting does not help.

I do not understand what is meant by "How are those keyboards configures?".

The software that does the switching is configured via GNOME's Keyboard Preferences (Main Menu -> System -> Preferences -> Keyboard).

I tried un-checking "Separate layout for each window". Upon next pressing of LSHIFT+RSHIFT, everything was fine. Then I pressed LSHIFT+RSHIFT again and the sane problem appeared again: the keyboard layout indicator in the notification area shows that another layout is in effect, but the input characters are still from the previous layout.

@totaam
Copy link
Collaborator Author

totaam commented Oct 10, 2012

2012-10-10 06:56:02: antoine

@totaam
Copy link
Collaborator Author

totaam commented Oct 10, 2012

2012-10-10 06:56:02: antoine commented


Will probably require Xkb support, see #86

@totaam
Copy link
Collaborator Author

totaam commented Apr 18, 2013

2013-04-18 14:48:19: totaam changed status from accepted to new

@totaam
Copy link
Collaborator Author

totaam commented Apr 18, 2013

2013-04-18 14:48:19: totaam commented


Hmmm, what we would need to do is to trigger the layout change server-side at the same time as the client does it.
The problem is that I don't think that the switch key combination is exposed to us, so the server has no way of knowing about it.

Please post some of the debug information from Keyboard, maybe there is something in there we can use (setxkbmap -print ?).
I suspect that this is a gnome/input-methods thing though, in which case we would need to find a way to listen for such switching events. (if at all possible).

@totaam
Copy link
Collaborator Author

totaam commented Apr 18, 2013

2013-04-18 14:48:29: totaam changed owner from antoine to angel.tsankov

@totaam
Copy link
Collaborator Author

totaam commented Mar 19, 2014

2014-03-19 08:34:25: totaam changed status from new to closed

@totaam
Copy link
Collaborator Author

totaam commented Mar 19, 2014

2014-03-19 08:34:25: totaam changed resolution from ** to wontfix

@totaam
Copy link
Collaborator Author

totaam commented Mar 19, 2014

2014-03-19 08:34:25: totaam commented


Not heard back, closing. See also #86

@totaam totaam closed this as completed Mar 19, 2014
@totaam
Copy link
Collaborator Author

totaam commented Aug 19, 2014

2014-08-19 05:25:48: totaam commented


Note: v0.14 includes a keyboard layout switcher from the tray, this may help you override the current setting.
There is also a new input-methods switch, which you may want to try.

@totaam
Copy link
Collaborator Author

totaam commented Feb 20, 2017

2017-02-20 12:14:30: antoine commented


See also #1380.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant