xpra icon
Bug tracker and wiki

Opened 3 months ago

Closed 2 months ago

#2868 closed defect (needinfo)

One up arrow key doesn't work.

Reported by: Kyler Laird Owned by: Kyler Laird
Priority: major Milestone: 4.1
Component: android Version: 4.0.x
Keywords: keyboard Cc:

Description (last modified by Antoine Martin)

I am unable to use the main up arrow with Xpra. If I turn off NumLock?, I can use the number pad up arrow ("8").

Here's what I get when pressing the regular up arrow:

2020-09-02 19:36:52,331 parse_key_event(<Gdk.EventKey object at 0x7f3cad40c680 (void at 0x4151c00)>, True)=<GTKKeyEvent object, contents: {'modifiers': [], 'keyname': 'Up', 'keyval': 65362, 'keycode': 111, 'group': 0, 'string': '', 'pressed': True}>
2020-09-02 19:36:52,333 handle_key_action(GLClientWindow(1 : gtk3.GLDrawingArea(1, (640, 640), GBRP)), <GTKKeyEvent object, contents: {'modifiers': [], 'keyname': 'Up', 'keyval': 65362, 'keycode': 111, 'group': 0, 'string': '', 'pressed': True}>) wid=1
2020-09-02 19:36:52,333 key_handled_as_shortcut: shortcut(Up)=None
2020-09-02 19:36:52,334 send_key_action(1, <GTKKeyEvent object, contents: {'modifiers': [], 'keyname': 'Up', 'keyval': 65362, 'keycode': 111, 'group': 0, 'string': '', 'pressed': True}>)
2020-09-02 19:36:52,463 parse_key_event(<Gdk.EventKey object at 0x7f3cad40c4f0 (void at 0x4151e80)>, False)=<GTKKeyEvent object, contents: {'modifiers': [], 'keyname': 'Up', 'keyval': 65362, 'keycode': 111, 'group': 0, 'string': '', 'pressed': False}>
2020-09-02 19:36:52,464 handle_key_action(GLClientWindow(1 : gtk3.GLDrawingArea(1, (640, 640), GBRP)), <GTKKeyEvent object, contents: {'modifiers': [], 'keyname': 'Up', 'keyval': 65362, 'keycode': 111, 'group': 0, 'string': '', 'pressed': False}>) wid=1
2020-09-02 19:36:52,464 key_handled_as_shortcut: shortcut(Up)=None
2020-09-02 19:36:52,465 send_key_action(1, <GTKKeyEvent object, contents: {'modifiers': [], 'keyname': 'Up', 'keyval': 65362, 'keycode': 111, 'group': 0, 'string': '', 'pressed': False}>)

It arrives as this:

KeymapNotify event, serial 37, synthetic NO, window 0x0,
    keys:  2   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   
           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   

My numpad up arrow generates like this:

2020-09-02 19:36:59,173 parse_key_event(<Gdk.EventKey object at 0x7f3cad40c680 (void at 0x4151d40)>, True)=<GTKKeyEvent object, contents: {'modifiers': [], 'keyname': 'KP_Up', 'keyval': 65431, 'keycode': 80, 'group': 0, 'string': '', 'pressed': True}>
2020-09-02 19:36:59,174 handle_key_action(GLClientWindow(1 : gtk3.GLDrawingArea(1, (640, 640), GBRP)), <GTKKeyEvent object, contents: {'modifiers': [], 'keyname': 'KP_Up', 'keyval': 65431, 'keycode': 80, 'group': 0, 'string': '', 'pressed': True}>) wid=1
2020-09-02 19:36:59,175 key_handled_as_shortcut: shortcut(KP_Up)=None
2020-09-02 19:36:59,176 send_key_action(1, <GTKKeyEvent object, contents: {'modifiers': [], 'keyname': 'KP_Up', 'keyval': 65431, 'keycode': 80, 'group': 0, 'string': '', 'pressed': True}>)
2020-09-02 19:36:59,259 parse_key_event(<Gdk.EventKey object at 0x7f3cad40c720 (void at 0x4151ca0)>, False)=<GTKKeyEvent object, contents: {'modifiers': [], 'keyname': 'KP_Up', 'keyval': 65431, 'keycode': 80, 'group': 0, 'string': '', 'pressed': False}>
2020-09-02 19:36:59,260 handle_key_action(GLClientWindow(1 : gtk3.GLDrawingArea(1, (640, 640), GBRP)), <GTKKeyEvent object, contents: {'modifiers': [], 'keyname': 'KP_Up', 'keyval': 65431, 'keycode': 80, 'group': 0, 'string': '', 'pressed': False}>) wid=1
2020-09-02 19:36:59,260 key_handled_as_shortcut: shortcut(KP_Up)=None
2020-09-02 19:36:59,261 send_key_action(1, <GTKKeyEvent object, contents: {'modifiers': [], 'keyname': 'KP_Up', 'keyval': 65431, 'keycode': 80, 'group': 0, 'string': '', 'pressed': False}>)

I am testing with the Python client, but I'm more interested in getting the HTML5 client working.

Change History (4)

comment:1 Changed 3 months ago by Kyler Laird

Incidentally, if I press shift with the up arrrow, I get an "A".

comment:2 Changed 3 months ago by Kyler Laird

Initial testing shows that this is not a problem with 4.1. I'm going to upgrade.

comment:3 Changed 3 months ago by Antoine Martin

Description: modified (diff)
Milestone: 4.1
Owner: changed from Antoine Martin to Kyler Laird

Please specify OS, versions, etc as per wiki/ReportingBugs.
Keyboard mapping varies widely on each platform.

comment:4 Changed 2 months ago by Antoine Martin

Resolution: needinfo
Status: newclosed

Could also be #2632, feel free to re-open this ticket if you have more details to add.

Note: See TracTickets for help on using tickets.