Re: [Spice-devel] [spice-gtk 1/3] Send Zenkaku_Hankaku key in JP keyboard

2016-04-15 Thread Frediano Ziglio
Spice-devel] [spice-gtk 1/3] Send Zenkaku_Hankaku key in JP > keyboard > > It seems my debug log of libgdk-win32-2.0-0.dll caused a conflicted IO and > SEGV. > After I deleted my debug log, I no longer encounter SEGV so now > ImmDisableIME.patch is not necessary. > > Thanks

Re: [Spice-devel] [spice-gtk 1/3] Send Zenkaku_Hankaku key in JP keyboard

2016-04-15 Thread Takao Fujiwara
It seems my debug log of libgdk-win32-2.0-0.dll caused a conflicted IO and SEGV. After I deleted my debug log, I no longer encounter SEGV so now ImmDisableIME.patch is not necessary. Thanks, Fujiwara On 04/12/16 20:08, Takao Fujiwara-san wrote: I mean ImmDisableIME.patch should be used as a wo

Re: [Spice-devel] [spice-gtk 1/3] Send Zenkaku_Hankaku key in JP keyboard

2016-04-12 Thread Takao Fujiwara
On 04/12/16 00:52, Frediano Ziglio-san wrote: Zenkaku_Hankaku key has the different virtual-key codes between WM_KEYDOWN and WM_KEYUP and MapVirtualKey() cannot get the scancode from virtual-key code of WM_KEYDOWN (VK_DBE_DBCSCHAR) and spice-gtk didn't send the key press events and caused the de

Re: [Spice-devel] [spice-gtk 1/3] Send Zenkaku_Hankaku key in JP keyboard

2016-04-12 Thread Takao Fujiwara
I mean ImmDisableIME.patch should be used as a workaround. It's hard to get why SEGV happens because my build environment is brew scratch-build but not local. Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1000.0x858] 0x07fefd551abb in msvcrt!_flsbuf () from C:\Win

[Spice-devel] [spice-gtk 1/3] Send Zenkaku_Hankaku key in JP keyboard

2016-04-12 Thread Takao Fujiwara
Zenkaku_Hankaku key has the different virtual-key codes between WM_KEYDOWN and WM_KEYUP and MapVirtualKey() cannot get the scancode from virtual-key code of WM_KEYDOWN (VK_DBE_DBCSCHAR) and spice-gtk didn't send the key press events and caused the desktop freeze with unlimited key release events.

Re: [Spice-devel] [spice-gtk 1/3] Send Zenkaku_Hankaku key in JP keyboard

2016-04-11 Thread Frediano Ziglio
> > Zenkaku_Hankaku key has the different virtual-key codes between WM_KEYDOWN > and WM_KEYUP and MapVirtualKey() cannot get the scancode from virtual-key > code of WM_KEYDOWN (VK_DBE_DBCSCHAR) and spice-gtk didn't send the key > press events and caused the desktop freeze with unlimited key releas

Re: [Spice-devel] [spice-gtk 1/3] Send Zenkaku_Hankaku key in JP keyboard

2016-04-11 Thread Frediano Ziglio
> > Please note the internal ImmDisableIME.patch needs to be disabled to get the > WM_INPUTLANGCHANGE signal with mouse but no ImmDisableIME.patch causes a > SEGV with Ctrl+Shift or Alt+Shift. > Is not clear what you are suggesting with this. Should ImmDisableIME.patch be used or not? Why it SEG

Re: [Spice-devel] [spice-gtk 1/3] Send Zenkaku_Hankaku key in JP keyboard

2016-04-07 Thread Takao Fujiwara
Please note the internal ImmDisableIME.patch needs to be disabled to get the WM_INPUTLANGCHANGE signal with mouse but no ImmDisableIME.patch causes a SEGV with Ctrl+Shift or Alt+Shift. On 04/06/16 15:42, Takao Fujiwara-san wrote: Zenkaku_Hankaku key has the different virtual-key codes between W

[Spice-devel] [spice-gtk 1/3] Send Zenkaku_Hankaku key in JP keyboard

2016-04-05 Thread Takao Fujiwara
Zenkaku_Hankaku key has the different virtual-key codes between WM_KEYDOWN and WM_KEYUP and MapVirtualKey() cannot get the scancode from virtual-key code of WM_KEYDOWN (VK_DBE_DBCSCHAR) and spice-gtk didn't send the key press events and caused the desktop freeze with unlimited key release events.

Re: [Spice-devel] [spice-gtk 1/3] Send Zenkaku_Hankaku key in JP keyboard

2016-04-05 Thread Takao Fujiwara
Seems Evolution sets line breaks in the email body. Let me send the patches again. On 04/06/16 13:30, Takao Fujiwara-san wrote: Zenkaku_Hankaku key has the different virtual-key codes between WM_KEYDOWN and WM_KEYUP and MapVirtualKey() cannot get the scancode from virtual- key code of WM_KEYDOWN

[Spice-devel] [spice-gtk 1/3] Send Zenkaku_Hankaku key in JP keyboard

2016-04-05 Thread Takao Fujiwara
Zenkaku_Hankaku key has the different virtual-key codes between WM_KEYDOWN and WM_KEYUP and MapVirtualKey() cannot get the scancode from virtual- key code of WM_KEYDOWN (VK_DBE_DBCSCHAR) and spice-gtk didn't send the key press events and caused the desktop freeze with unlimited key release events.

Re: [Spice-devel] [spice-gtk 1/3] Send Zenkaku_Hankaku key in JP keyboard.

2016-04-05 Thread Takao Fujiwara
Thank you for those reviews. I sent the updated patches now. On 03/31/16 22:12, Frediano Ziglio-san wrote: You should handle WM_INPUTLANGCHANGE so use can change layout while using remote-viewer. Another option is not cache the value but just call GetKeyboardLayout(0) every time. I succeeded t

Re: [Spice-devel] [spice-gtk 1/3] Send Zenkaku_Hankaku key in JP keyboard.

2016-04-04 Thread Fabiano Fidêncio
Ouch, sorry for resending this patch :-\ My intention was to submit another series completely not related to this one, my bad :-\ On Mon, Apr 4, 2016 at 9:59 AM, Fabiano Fidêncio wrote: > From: Takao Fujiwara > > MapVirtualKey() returns the scancode of the released Zenkaku_Hankaku key > but does

[Spice-devel] [spice-gtk 1/3] Send Zenkaku_Hankaku key in JP keyboard.

2016-04-04 Thread Fabiano Fidêncio
From: Takao Fujiwara MapVirtualKey() returns the scancode of the released Zenkaku_Hankaku key but does not pressed one and modifiered one. Any cases should be sent to use input method engines. --- src/spice-widget-priv.h | 1 + src/spice-widget.c | 37 +++--

Re: [Spice-devel] [spice-gtk 1/3] Send Zenkaku_Hankaku key in JP keyboard.

2016-03-31 Thread Frediano Ziglio
> > From: Takao Fujiwara > > MapVirtualKey() returns the scancode of the released Zenkaku_Hankaku key > but does not pressed one and modifiered one. Any cases should be sent > to use input method engines. > --- > src/spice-widget-priv.h | 1 + > src/spice-widget.c | 37 +++

[Spice-devel] [spice-gtk 1/3] Send Zenkaku_Hankaku key in JP keyboard.

2016-03-31 Thread Fabiano Fidêncio
From: Takao Fujiwara MapVirtualKey() returns the scancode of the released Zenkaku_Hankaku key but does not pressed one and modifiered one. Any cases should be sent to use input method engines. --- src/spice-widget-priv.h | 1 + src/spice-widget.c | 37 +++--