http://bugs.winehq.org/show_bug.cgi?id=10266
Summary: Numpad keyboard handling is strange, Del key produces two events Product: Wine Version: CVS/GIT Platform: Other OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-x11driver AssignedTo: wine-bugs@winehq.org ReportedBy: peter@cendio.se
The current handling of the numeric keypad is strange in two aspects:
1) The Decimal / Comma / Del key (key 104) behaves very strange: It produces *both* a Backspace and a comma character on my machine, when Shift is active.
2) In general, the interaction with Shift is odd. This is a quite complicated area. Windows, QT, GTK all uses different models, but Wine does not follow either of them. I'm suggesting that Wine should follow the QT model, which has also been implemented in rdesktop. For details, see http://www.cendio.com/~astrand/keyboards/numpad.txt. Patch will follow.
http://bugs.winehq.org/show_bug.cgi?id=10266
--- Comment #1 from Peter Åstrand peter@cendio.se 2007-11-01 07:50:51 --- Created an attachment (id=8909) --> (http://bugs.winehq.org/attachment.cgi?id=8909) Patch which solves both problems
http://bugs.winehq.org/show_bug.cgi?id=10266
--- Comment #2 from Dmitry Timoshkov dmitry@codeweavers.com 2007-11-01 08:17:32 --- Personally I find the X11 behaviour very confusing. I'm using keypad keys with NumLock off to move the cursor, and when I try to select text with Shift it starts to generate digits.
http://bugs.winehq.org/show_bug.cgi?id=10266
--- Comment #3 from Peter Åstrand peter@cendio.se 2007-11-01 08:28:23 ---
Personally I find the X11 behaviour very confusing.
But in that case, you will find all of your X11 applications on your desktop, including Firefox etc, confusing as well?
http://bugs.winehq.org/show_bug.cgi?id=10266
--- Comment #4 from Dmitry Timoshkov dmitry@codeweavers.com 2007-11-01 08:32:46 ---
But in that case, you will find all of your X11 applications on your desktop, including Firefox etc, confusing as well?
Yes, and this behaviour is very annoying and not consistent IMO.
Besides, I just tested with Wine's notepad and don't see the problem you are reporting.
http://bugs.winehq.org/show_bug.cgi?id=10266
--- Comment #5 from Dmitry Timoshkov dmitry@codeweavers.com 2008-02-23 08:57:26 --- The symptoms look similar to the ones in the bug 11575 which is a duplicate of the bug 9325.
What keyboard layout do you have that shows this problem? What does it have assigned for the Delete key on the keypad?
http://bugs.winehq.org/show_bug.cgi?id=10266
Andrius andriusmao@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |andriusmao@gmail.com
--- Comment #6 from Andrius andriusmao@gmail.com 2008-04-30 20:04:24 --- not just numpad's del shows a comma here, other del key does the same. my keyboard layout is "brazilian ABNT-2", no need to shift be active here to produce this effect.
http://bugs.winehq.org/show_bug.cgi?id=10266
--- Comment #7 from Dmitry Timoshkov dmitry@codeweavers.com 2008-04-30 23:58:18 --- (In reply to comment #6)
not just numpad's del shows a comma here, other del key does the same. my keyboard layout is "brazilian ABNT-2", no need to shift be active here to produce this effect.
Please paste here output of 'xev' when you press Del on a keypad, followed by pressing an ordinary Del.
http://bugs.winehq.org/show_bug.cgi?id=10266
--- Comment #8 from Andrius andriusmao@gmail.com 2008-05-01 13:37:10 --- Created an attachment (id=12626) --> (http://bugs.winehq.org/attachment.cgi?id=12626) attached the output of xev pressing del keys
I've attached output of xev when pressing numpad delete and ordinary delete.
http://bugs.winehq.org/show_bug.cgi?id=10266
--- Comment #9 from Dmitry Timoshkov dmitry@codeweavers.com 2008-05-01 22:24:12 --- xev shows perfectly normal behaviour, I'm not sure where to look next.
http://bugs.winehq.org/show_bug.cgi?id=10266
Petr Mach gsl@seznam.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gsl@seznam.cz
--- Comment #10 from Petr Mach gsl@seznam.cz 2008-07-03 16:06:05 --- My xev output for Delete key:
NUMLOCK ON
KeyPress event, serial 30, synthetic NO, window 0x4800001, root 0x1a6, subw 0x0, time 267914911, (78,-17), root:(83,56), state 0x10, keycode 107 (keysym 0xffff, Delete), same_screen YES, XLookupString gives 1 bytes: (7f) "" XmbLookupString gives 1 bytes: (7f) "" XFilterEvent returns: False
NUMLOCK OFF
KeyPress event, serial 30, synthetic NO, window 0x4800001, root 0x1a6, subw 0x0, time 267921263, (78,-17), root:(83,56), state 0x0, keycode 107 (keysym 0xffff, Delete), same_screen YES, XLookupString gives 1 bytes: (7f) "" XmbLookupString gives 1 bytes: (7f) "" XFilterEvent returns: False
If numlock is on, then deleted char is replaced with comma. Tested in TreePad windows application.
$ setxkbmap -v 10 Setting verbose level to 10 locale is C Applied rules from xorg: model: pc105 layout: cz variant: qwerty Trying to build keymap using the following components: keycodes: xfree86+aliases(qwertz) types: complete compat: complete symbols: pc+cz(qwerty) geometry: pc(pc105)
$ wine --version wine-1.1.0
http://bugs.winehq.org/show_bug.cgi?id=10266
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
--- Comment #11 from Austin English austinenglish@gmail.com 2009-01-03 19:34:58 --- Is this still an issue in current (1.1.12 or newer) wine?
http://bugs.winehq.org/show_bug.cgi?id=10266
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|CVS/GIT |unspecified
--- Comment #12 from Austin English austinenglish@gmail.com 2009-01-18 03:46:42 --- Removing deprecated CVS/GIT version tag. Please retest in current git. If the bug is still present in today's wine, but was not present in some earlier version of wine, please update version field to earliest known version of wine that had the bug. Thanks!
http://bugs.winehq.org/show_bug.cgi?id=10266
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |ABANDONED
--- Comment #13 from Austin English austinenglish@gmail.com 2009-07-21 14:45:22 --- Abandoned. If you still have a problem in current (1.1.26 or newer) wine, and can provide the needed information, feel free to reopen.
http://bugs.winehq.org/show_bug.cgi?id=10266
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #14 from Austin English austinenglish@gmail.com 2009-07-21 15:06:30 --- Closing.