Closed akgrant43 closed 4 years ago
On British keyboard #
can be produced by pressing a dedicated #
key (near return). This key is not part of the standard US keyboard and therefore does not have a virtual code that Glutin can provide us with. In the BlocHost-Glutin
implementation we ignore all keyDown/keyUp events without virtual keycode which lead to the absence of keydown/keyup events for the #
.
In order to fix the problem we create instances of unlabeled BlKeyboardKey
with the scan_code provided by Glutin.
Now it works.
Pressing the hash / pound key (#) in the playground or a text editor often doesn't work.
One workaround is to copy the character from another location and paste it in.
OS: Ubuntu 18.04 tffi-dev: 2f8c30e9ac97b6f8d01c390d09cda1d35447cbcb threadedFFI-Plugin: 523a34fa1045c7fa5b799eac7cd87b3a1d0be0d2 pharo-beacon: 12ccdd418e939ee64d3ebdcfb75c5e3c5a2ce199 gtoolkit: 86faf7f755f58ad50770b26b4f7b2d4329bae4ae gt4xmlsupport: e65157cd85d9dbe8de153f7c7793fab8b0235916 gtoolkit-remote: 107884196c9c6a3dbafc6d32a30c3ac03943ce90 gtoolkit-demos: db13be1141beb6753cdc4b3644a4189b47527743 gt4smacc: 4f5f1eacd3cd207be02732ff538ed7b94a4fb2f1 gt4petitparser2: 0a852c88ead567e098e626d5589383c5aa4701f5 gtoolkit-visualizer: 7047a35f84f982e7d761926c2ddb767eecd3ac44 gtoolkit-spotter: d6a151db43d46ebaa80824f64fe8afe898adcc63 gtoolkit-clipboard: 6d0dafa1f20ded94fa40a85921145e2186b8a9c3 gtoolkit-presenter: 3d8cf7bbb0e039cd74a44ad4bc7c6f2774e3e584 gtoolkit-documenter: a92719e73cdef9be95763097cd6112ba35c6d51f gtoolkit-playground: c7225db25e3e22bd83428df587681593b2ed91d3 gtoolkit-debugger: 0f62d975cd6d79da6fea23f6aa11eee5d1b8e989 gtoolkit-constrainer: 4f6536ef824466e811f3108ce9306797277f31e5 gtoolkit-inspector: b18a38c86d1653f1570a6e9973d68aa4bd9c535b gt4famix3: 4769dcee51999cd423920dabe76bd7c9a8f013c7 gtoolkit-releaser: 624b3c8caccfd2c88375a55309df9184ff5b60f9 gt4jenkins: 7256dbbb8b7cb0ec4e26f3c3c5aff8161ecb4be7 gtoolkit-coder: 831925d73c830d8de4340b4aa4ed4a7dd3bf3e4e gtoolkit-boxer: 2a6cb6b46dcd76dbbca273848101beb5b12d0f33 gtoolkit-installer: 0d0b1de13f07808189fbd8f412fd87359a27bac9 pillar: 15bd747e6fc68ed9d91f1b8e5e43df19225f3e88 gtoolkit-utility: 500515eac7fcb6f12d4b7467bf87adbf1d6c97ca gtoolkit-examples: b4dc564449922db411754b384b6f03ece7ff209d DeepTraverser: 32e41e4d7915d4c42f7fd154d608cd9bceb38770 xdoc: 37fa5692152aec2cbcb4dd3c56493d91ada9aecf gtoolkit-completer: 09b1f8329a3849c58aaed3d20e9f0e792738432d Brick: 91c73d9f8fccd55457aa4899727b92ea92e9383b Bloc: 3f76a45caed7b60510dbcee92769b45995122ac2 Sparta: caaed0cf88b53fae614a68d02397a0391497e33f gtoolkit-glutin: 4d6b6c2c2abe24b74b2021b29cb389eb9e18695f gtoolkit-fenster: 34a272430cdc71debf4fca00fe43d58157fba429 gtoolkit-gleam: 35326532eeb6767d4cdb7247400652f9a90a56df gtoolkit-phlow: 7358025918bc407e1a08b8b72e050a26a9eb1e2c Chrysal: 28312f870c09d86540e8be5ec7c969f1d73833be Containers-PropertyEnvironment: 800278b3fbd64b2f4a4eeb1763a53aa2b861a3f6 XPath: 44c2284a2ac14622a979e3ddf0e7b0db9628d2f2 XMLWriter: 2fdb39f1befdf936c8a6d5003aa05ceea496890d XMLParser: faf390fabd114d8b06d6736605070290d6c43aec famix3: 2da9bb276440f38afd575d3ed7492eecbb13d61a zinc: eff30efba38e3317a786f6dc05ec89ac462eb977 linkeddata: 5036ed15be8143c6eb3d021f7716047471bf5844 markov-generator: e6ad3d1dca39d1e11945ee4cc620d778c2cfb202 gt4confluence: f37f0f3babdea59e7112468a1ae8b87287e2a209 gtoolkit-media: 39d4be48db19cd1bbccf78b14cd3b7b6eec5753e faker: 6e7994b58c74d6130453955a665897b91f0d5338 gt4teapot: abc525123aedbc39cb59df44759981fa23654b45 teapot: 85c17b7ad33072f554d117387a7c96edc719ada5 gtoolkit-mapper: 9b8dbc0951b7af71df3f70b1e0560f6b76312507 gt4directus: 0ecbc29d4d5e293c6c797003c2dcf8e5789acd05 JSlink: a68e6b11c70acb2455da3f6ee1d5d87199d3997d PharoLink: a206525ba3f8113c55f81f2b24c7a6d1596ce94f JavaScriptGenerator: 62c3de939cbda9631fa88e2223f3f06650c59068
Build information: Pharo-8.0.0+build.1134.sha.5173b0271894727189f261cb9eb9beaa3db3f205 (64 Bit)
CoInterpreterWithQueueFFI VMMaker-CompatibleUserName.1579164138 uuid: aeabfc91-483f-503c-9c10-7b4f91f79234 Jan 16 2020 StackToRegisterMappingCogit VMMaker-CompatibleUserName.1579164138 uuid: aeabfc91-483f-503c-9c10-7b4f91f79234 Jan 16 2020 201810071412-1619-gb4ed16c5d - Commit: b4ed16c5d - Date: 2020-01-16 10:42:18 +0200