Xpra: Ticket #1027: support a different keyboard layout per window

Split from #817, see patch.

In particular see ticket:817#comment:17

I believe this feature was added in Windows 8, with more refinements in Windows 8.1: IME mode model changed from per-user to per-thread.

If needed, we should be able to query the current value of the Let me set a different input method for each app window setting using: Find registry key for windows 8 per-application input method setting.



Sat, 18 Jun 2016 06:52:42 GMT - psycho_zs:

I do not know whether it is more appropriate to extend the scope of this ticket, or create a new one: handling of global, per-window or per-app switching is unpredictable. For example, when using gxkb (layout manager that keeps per-app layout) on client side, it is understandable that all xpra windows get same layout, because on client side it is one app. But layout frequently gets out of sync. Multiple switching back and forth syncs it again. When not using layout manager (global layout model) de-facto layout in xpra becomes separate from the rest of desktop.

So, couple of questions then: is it possible for xpra clients to fake and pass through application names to window manager? Is it possible fo xpra to sync layout more strictly? Accounting for layout managers that watch focus events to implement per-app or per-window layout modes.


Sat, 18 Jun 2016 08:16:46 GMT - Antoine Martin: owner changed

X11 ticket moved to #1234.


Fri, 12 Aug 2016 15:35:51 GMT - L29Ah:

Replying to psycho_zs:

I do not know whether it is more appropriate to extend the scope of this ticket, or create a new one: handling of global, per-window or per-app switching is unpredictable. For example, when using gxkb (layout manager that keeps per-app layout) on client side, it is understandable that all xpra windows get same layout, because on client side it is one app. But layout frequently gets out of sync. Multiple switching back and forth syncs it again.


I seem to get the same problem using the xmonad's per window layout retaining feature. Xorg's led indication of the enabled layout is also out of sync.


Fri, 30 Dec 2016 07:10:38 GMT - Antoine Martin:

See also #1380.


Wed, 15 Feb 2017 11:25:06 GMT - Antoine Martin: owner, status, milestone changed


Thu, 20 Jul 2017 16:53:42 GMT - Antoine Martin:

Or maybe we can have just different keyboards using virtual input devices: #173

See also #1716


Sat, 23 Jan 2021 05:12:54 GMT - migration script:

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/1027