[Bug 40736] New: In notepad Ctrl+[Grey /] cause '/' char to be added
https://bugs.winehq.org/show_bug.cgi?id=40736 Bug ID: 40736 Summary: In notepad Ctrl+[Grey /] cause '/' char to be added Product: Wine Version: 1.9.11 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs(a)winehq.org Reporter: gur.stavi(a)gmail.com Distribution: --- The issue is about pressing the combination of CTRL + sys keys from the right side numeric keypad of the keyboard: CTRL-[/] CTRL-[*] CTRL-[-] CTRL-[+] It can be reproduced in Notepad. In Notepad under Windows these sequences will do nothing. In Notepad under Wine these sequences will cause the character to be added to the document. Perhaps it is related to 'TranslateAccelerator' API but this is just a guess. The real problem is with 'Notepad++' where these sequences are the default accelerators for zoom control so chars are added to the document whenever zoom is changed. Regards, Gur -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=40736 Janne <janne.kekkonen(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |janne.kekkonen(a)gmail.com --- Comment #1 from Janne <janne.kekkonen(a)gmail.com> --- Tested with wine 10.0 and notepad++ 8.7.4 This is still a issue. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=40736 KRosUser <kyle.kcsoftwares@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kyle.kcsoftwares@gmail.com --- Comment #2 from KRosUser <kyle.kcsoftwares@gmail.com> --- Wine 11.7 : CTRL+/ does nothing But *, -, + shows chars. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=40736 imccluney@comcast.net changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |imccluney@comcast.net --- Comment #3 from imccluney@comcast.net --- Created attachment 81290 --> http://bugs.winehq.org/attachment.cgi?id=81290 Patch of keyboard.c As of Wine Staging 11.11, I can confirm KRosUser's findings, but I think I know how to patch it. I have traced the problem to keyboard.c inside dlls/winex11.drv. Inside the area where X11 returns characters when Windows does not while Ctrl is pressed, only the backtick (`) and tab keys clear the character inside lpChar. This fix adds conditions separated by OR operators for whether keysym is equal to the value of XK_KP_Add, XK_KP_Subtract, or XK_KP_Multiply. I ran a test to see how Notepad++ behaves with my new build, and it seems to be working. No symbols printed, just the functions for zooming on the document. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=40736 Ken Sharp <imwellcushtymelike@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (3)
-
wine-bugs@winehq.org -
WineHQ Bugzilla -
WineHQ Bugzilla