Windows: application crash on keyboard layout switch.
Reference https://github.com/gotk3/gotk3/issues/324
On a Windows machine GTK+3 application crashes while keyboard layout switched.
A way to reproduce.
- if there is not Windows get it following steps
- go here https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/
- select this options
- download
- install VirtualBox using system package manager
- open VirtualBox, hit Ctrl+I and open the downloaded file
- run and follow next steps
- install GTK+3 following this article https://www.gtk.org/download/windows.php
- install
gcc
usingpacman -Sy gcc
command in MSYS2 console (or something like) - create c source file with content of this example https://developer.gnome.org/gtk3/stable/gtk-getting-started.html#id-1.2.3.5
- build it following the example
- add language (Russian for example) to Windows following this article https://support.microsoft.com/en-us/help/17424/windows-change-keyboard-layout
- run the built example
- switch keyboard layout to another language
As I understood MinGW64 used to build it. And Windows is 32-bit. But machine is 64-bit. Probably, the crash will appears on another configurations.
Edited by Konstantin Ivanov