xpra icon
Bug tracker and wiki

Opened 3 years ago

Last modified 2 months ago

#1027 assigned enhancement

support a different keyboard layout per window

Reported by: Antoine Martin Owned by: Antoine Martin
Priority: major Milestone: future
Component: platforms Version: trunk
Keywords: keyboard win32 Cc:

Description

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.

Change History (6)

comment:2 Changed 2 years ago by 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.

comment:3 Changed 2 years ago by Antoine Martin

Owner: changed from Antoine Martin to psycho_zs

X11 ticket moved to #1234.

Last edited 2 years ago by Antoine Martin (previous) (diff)

comment:5 in reply to:  2 Changed 22 months ago by 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.

Last edited 16 months ago by Antoine Martin (previous) (diff)

comment:7 Changed 17 months ago by Antoine Martin

See also #1380.

comment:8 Changed 16 months ago by Antoine Martin

Milestone: 0.17future
Owner: changed from psycho_zs to Antoine Martin
Status: newassigned

comment:9 Changed 10 months ago by Antoine Martin

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

See also #1716

Last edited 2 months ago by Antoine Martin (previous) (diff)
Note: See TracTickets for help on using tickets.