[Spice-devel] [virt-tools-list] [PATCH] Disable IME to allow receiving all keys

Christophe Fergeau cfergeau at redhat.com
Wed Apr 20 14:45:09 UTC 2016


On Wed, Apr 20, 2016 at 05:37:52PM +0900, Takao Fujiwara wrote:
> My understanding is, Virt-Viewer with ImmDisableIME(-1) can send key
> events even if the title bar is focused when IME is enabled.
> I attached the screenshot of the problem when ImmDisableIME(-1) is not applied.
> https://bugzilla.redhat.com/show_bug.cgi?id=1311858#c42
> 
> But spice-gtk can receives all the key events and if ImmDisableIME(-1) is applied, users cannot switch IMEs during running Virt-Viewer.
> I tested native client with Internet Explorer 10 in Windows 7 and I
> couldn't see any other differences when ImmDisableIME(-1) is applied.

This patch was needed for
https://bugzilla.redhat.com/show_bug.cgi?id=1297640
Setup was Windows client connecting to a Windows VM.
Without this patch, when remote-viewer is focused and the user is
interacting with the VM, it was not possible to press the
Zenkaku_Hankaku in order to switch input method within the VM.

Are you saying this is not needed, and that the situation I describe is working
even without calling ImmDisableIME?

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20160420/9ff4dd93/attachment.sig>


More information about the Spice-devel mailing list