{"action":"created","issue":{"url":"https://api.github.com/repos/i3/i3/issues/1827","labels_url":"https://api.github.com/repos/i3/i3/issues/1827/labels{/name}","comments_url":"https://api.github.com/repos/i3/i3/issues/1827/comments","events_url":"https://api.github.com/repos/i3/i3/issues/1827/events","html_url":"https://github.com/i3/i3/issues/1827","id":98639895,"number":1827,"title":"Bindings to KP_* are not working correctly","user":{"login":"analogbyte","id":4604331,"avatar_url":"https://avatars.githubusercontent.com/u/4604331?v=3","gravatar_id":"","url":"https://api.github.com/users/analogbyte","html_url":"https://github.com/analogbyte","followers_url":"https://api.github.com/users/analogbyte/followers","following_url":"https://api.github.com/users/analogbyte/following{/other_user}","gists_url":"https://api.github.com/users/analogbyte/gists{/gist_id}","starred_url":"https://api.github.com/users/analogbyte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/analogbyte/subscriptions","organizations_url":"https://api.github.com/users/analogbyte/orgs","repos_url":"https://api.github.com/users/analogbyte/repos","events_url":"https://api.github.com/users/analogbyte/events{/privacy}","received_events_url":"https://api.github.com/users/analogbyte/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/i3/i3/labels/missing-log","name":"missing-log","color":"ededed"},{"url":"https://api.github.com/repos/i3/i3/labels/missing-version","name":"missing-version","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-02T21:50:35Z","updated_at":"2015-08-03T06:43:40Z","closed_at":null,"body":"I'm going to repeat a question I had already posted [here](https://faq.i3wm.org/question/6347/why-is-numlock-not-working-while-executing-my-kp_-bindings/) and asked in IRC, after days of hunting after a possible cause I now assume this is a bug. The facts all over:\r\n\r\nI have a binding as follows in my i3 config:\r\n\r\n    bindsym $mod+KP_1 workspace w1\r\n    bindsym $mod+KP_2 workspace w2\r\n    #or equivalently:\r\n    bindcode $mod+87 workspace w1\r\n    bindcode $mod+88 workspace w2\r\n\r\nNow if I try to use those with a arrow key on them (i.e. KP_2, 4, 6 and 8), they do not work. Instead, they trigger the arrow key bindings.\r\n\r\nThe problem is, this happens regardless of NumLock state. The others (e.g. KP_1) work (even when NumLock should be off!), until I make a mapping involving those keys (Home, End, PgUp,...) like I have for the arrow keys.\r\n\r\nNow to the really weird part:\r\nIf I map the workspace commands to the same keys but with an additional +Shift+, it works flawlessly for one of those: KP_6/Right\r\nThe others display the same behaviour as described above.\r\n\r\nIf I check on them with xev while in an empty mode (so i3 cannot intercept anything), they return their correct code too (KP_* with NumLock, Arrows without, same Keycodes both times), even in combination with Mod4.\r\n\r\nSome facts about my setup:\r\n * I reproduced this on 4.10.3-254-g21d4b23\r\n * This is the debug log while reproducing everything I noted above: logs.i3wm.org/logs/5669468231434240.bz2\r\n * I run i3 from within xfce4 (as startup app, with any panels from xfce cleaned out)\r\n * I use a dual monitor setup, but changing left/right does not affect KP_6 working and KP_4 not working...\r\n\r\nIf you need anything else, I'll gladly provide it"},"comment":{"url":"https://api.github.com/repos/i3/i3/issues/comments/127141826","html_url":"https://github.com/i3/i3/issues/1827#issuecomment-127141826","issue_url":"https://api.github.com/repos/i3/i3/issues/1827","id":127141826,"user":{"login":"stapelberg","id":55506,"avatar_url":"https://avatars.githubusercontent.com/u/55506?v=3","gravatar_id":"","url":"https://api.github.com/users/stapelberg","html_url":"https://github.com/stapelberg","followers_url":"https://api.github.com/users/stapelberg/followers","following_url":"https://api.github.com/users/stapelberg/following{/other_user}","gists_url":"https://api.github.com/users/stapelberg/gists{/gist_id}","starred_url":"https://api.github.com/users/stapelberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stapelberg/subscriptions","organizations_url":"https://api.github.com/users/stapelberg/orgs","repos_url":"https://api.github.com/users/stapelberg/repos","events_url":"https://api.github.com/users/stapelberg/events{/privacy}","received_events_url":"https://api.github.com/users/stapelberg/received_events","type":"User","site_admin":false},"created_at":"2015-08-03T06:43:40Z","updated_at":"2015-08-03T06:43:40Z","body":"Which keyboard do you use? Can you verify the bug with a different (USB?) keyboard? Can you provide the output of `xmodmap -pke` please?"}}