Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

One up arrow key doesn't work. #2868

Closed
totaam opened this issue Sep 3, 2020 · 8 comments
Closed

One up arrow key doesn't work. #2868

totaam opened this issue Sep 3, 2020 · 8 comments
Labels

Comments

@totaam
Copy link
Collaborator

totaam commented Sep 3, 2020

Issue migrated from trac ticket # 2868

component: android | priority: major | resolution: needinfo | keywords: keyboard

2020-09-03 01:44:26: kylerlaird created the issue


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.

@totaam
Copy link
Collaborator Author

totaam commented Sep 3, 2020

2020-09-03 01:53:18: kylerlaird commented


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

@totaam
Copy link
Collaborator Author

totaam commented Sep 3, 2020

2020-09-03 02:17:20: kylerlaird commented


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

@totaam
Copy link
Collaborator Author

totaam commented Sep 3, 2020

2020-09-03 06:03:34: antoine changed owner from antoine to kylerlaird

@totaam
Copy link
Collaborator Author

totaam commented Sep 3, 2020

2020-09-03 06:03:34: antoine edited the issue description

@totaam
Copy link
Collaborator Author

totaam commented Sep 3, 2020

2020-09-03 06:03:34: antoine commented


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

@totaam
Copy link
Collaborator Author

totaam commented Sep 18, 2020

2020-09-18 16:45:29: antoine changed status from new to closed

@totaam
Copy link
Collaborator Author

totaam commented Sep 18, 2020

2020-09-18 16:45:29: antoine set resolution to needinfo

@totaam
Copy link
Collaborator Author

totaam commented Sep 18, 2020

2020-09-18 16:45:29: antoine commented


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

@totaam totaam closed this as completed Sep 18, 2020
@totaam totaam added the v4.0.x label Jan 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant