[Bug 727239] New: Numpad keys do not work properly, particularly in combinations
https://bugzilla.novell.com/show_bug.cgi?id=727239 https://bugzilla.novell.com/show_bug.cgi?id=727239#c0 Summary: Numpad keys do not work properly, particularly in combinations Classification: openSUSE Product: openSUSE 12.1 Version: RC 1 Platform: x86-64 OS/Version: SuSE Other Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: jorge.adriano@gmail.com QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1 Numlock is obviously off, and the Pgup/Pgdn/Home/End keys work (mostly) fine. But when used in combinations they tend not to work. E.g., Cannot use Ctrl+Pgup/Down on Chromium Cannot use Ctrl+Home/End on Emacs Looking at the error message in Emacs, it appears to be detecting these keys as kp-home, kp-end, etc, and while home is assigned the same action as kp-home, the key combinations are only defined for the former and not the latter. Initially I ran into this problem with Chromium and thought it was an app specific problem. But the fact that Chrome in windows works fine, and that this affects other apps in openSUSE, and also that every now and then, randomly, the keys in the keypad will not behave properly (e.g. work as numbers even numlock is off), I think maybe it may be an openSUSE specific problem. While this may seem minor it is a huge usability problem for me. The other keys for home/end/pgup/pgdn are to far in the keyboard, and when programming I need some of these combinations a lot. Reproducible: Always Steps to Reproduce: 1. Open Chromium, 2. New tab 3. Ctrl+Pgdn (using keypad with numlock off) Actual Results: does not move to another tab Expected Results: Should move to another tab -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=727239
https://bugzilla.novell.com/show_bug.cgi?id=727239#c
Andreas Jaeger
https://bugzilla.novell.com/show_bug.cgi?id=727239
https://bugzilla.novell.com/show_bug.cgi?id=727239#c1
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=727239
https://bugzilla.novell.com/show_bug.cgi?id=727239#c2
--- Comment #2 from jorge aires
https://bugzilla.novell.com/show_bug.cgi?id=727239
https://bugzilla.novell.com/show_bug.cgi?id=727239#c3
Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=727239
https://bugzilla.novell.com/show_bug.cgi?id=727239#c4
--- Comment #4 from jorge aires
https://bugzilla.novell.com/show_bug.cgi?id=727239
https://bugzilla.novell.com/show_bug.cgi?id=727239#c5
--- Comment #5 from Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=727239
https://bugzilla.novell.com/show_bug.cgi?id=727239#c6
--- Comment #6 from jorge aires
Choose fvwm2 session and retry. It is a well known fact that KDE and the used themes may mask out some of the key strokes for some applications.
Sure, I understand, that's why I tried it under iceWM like I said before. Anyway just tried it under fvmw2 and also openBox, and it is reproducible in all of them. It makes no difference. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=727239
https://bugzilla.novell.com/show_bug.cgi?id=727239#c7
--- Comment #7 from jorge aires
https://bugzilla.novell.com/show_bug.cgi?id=727239
https://bugzilla.novell.com/show_bug.cgi?id=727239#c8
Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=727239
https://bugzilla.novell.com/show_bug.cgi?id=727239#c9
--- Comment #9 from jorge aires
Hmm ... Ctrl-Prior man Crtl-Next works as it should in Emacs but you should note that Prior(aka PgUp) and Next (aka PgDown) are *not* identical with kp-prior and kp-next and therefore the keys Ctrl-kp-prior and Ctrl-kp-next requires an own mapping.
If you want to have such a mapping you may report this upstream (see Help->Send Bug Report) then ... maybe this will be happen but if you add a correct patch with your report we will see thi with the next emacs version.
Sure I can report it. Thanks. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=727239
https://bugzilla.novell.com/show_bug.cgi?id=727239#c10
--- Comment #10 from jorge aires
Jorge, as you can verify via xev Pgup/Pgdn/Home/End and Kp-Pgup/Kp-Pgdn/Kp-Home/Kp-End deliver different keycodes. It's up to the application to handle these the same or just different. Reassigning to Werner, since he's our maintainer for emacs.
Hi again Steffan, Sorry for bothering again, but there more than one 'problem' with the way the keypad is handled, and some are system wide and not application or DE specific. For instance, it appears that Shift+keypad-key is used to flip the num-lock state for that stroke. I.e., if numlock is OFF Shift+(1/home) will produce 1 and if it is ON it will produce Kp-Home. This is reproducible even in an xterm under fvwm2. It also happens in YaST, Firefox, Chromium, Emacs, Konversation, pretty much any KDE line input etc etc. I can only _not_ reproduce it in some text editors, such as Kwrite (kde) or Beaver (gnome). This behaviour is in my opinion a very poor choice, and it seems to be set system wide by default, and overridden by a few applications. Then we have the other kind of issues where certain specific apps do not handle key combinations involving keypad keys in a consistent form with regards to their non-keypad counterparts. It's the case with chromium Ctrl-kp-Pgup/Pgdn, or emacs Ctrl-kp-Home/End. Now regarding Home and Kp-Home producing different keycodes. Of course we may want to distinguish keys that are different so I can understand that, but only to the same extent that I can understand Left-Ctrl and Right-Ctrl being different. Yes it is nice to have the ability to remap them and assign them different functions, but by default I don't want to have to bother about whether I'm using Kp-Home or Home any more than I want to have to bother about pressing Left-Ctrl or Right-Ctrl. Windows gets this right. There's no issue with changing tab on Chrome under windows with Kp-Pgup. There's no issue with select text using Shift-Kp-Home. Everything works the way it is 'expected' to. So I don't know if this is a bug or a feature. But either way, it is very inconvenient. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com