Skip to content

Broken keys- Numpad Enter behaves like spacebar - Workaround posted #1655

Closed

Description

@kartagis

Hi,

I would like to report that with revision: git-5475-g9a195de, Enter key on the numeric pad acts like spacebar, and Ctrl+W prints a literal W.

Activity

  1. ctrlaltca commented on Oct 5, 2015

    @ctrlaltca
    Contributor

    Can i ask your OS and Qt version please?

  2. kartagis commented on Oct 5, 2015

    @kartagis
    ContributorAuthor

    Ubuntu 14.04 and Qt4

  3. ctrlaltca commented on Oct 5, 2015

    @ctrlaltca
    Contributor

    I suppose you mean ubuntu 14.10. It's known that ubuntu can have problems with qt applications shortcuts, due to the way they try to integrate them. The relevant bug should be: https://bugs.launchpad.net/appmenu-qt5/+bug/1380702
    Afaik there are some known workarounds, but your mileage may vary.

  4. kartagis commented on Oct 5, 2015

    @kartagis
    ContributorAuthor

    Should I upgrade to Qt5? And I mean Ubuntu 14.04

  5. kartagis commented on Oct 5, 2015

    @kartagis
    ContributorAuthor

    lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 14.04.3 LTS Release: 14.04 Codename: trusty

  6. ctrlaltca commented on Oct 5, 2015

    @ctrlaltca
    Contributor

    Hum.. 14.04 shouldn't be affected by that bug; sorry.
    Anyway,building with qt5 could be a good try; i suggest you not to use ubuntu's own version, but to attempt using a more recent qt version like this one: https://launchpad.net/~beineri/+archive/ubuntu/opt-qt541

  7. kartagis commented on Oct 5, 2015

    @kartagis
    ContributorAuthor

    W: Failed to fetch http://ppa.launchpad.net/beineri/opt-qt541/ubuntu/dists/trusty/main/binary-i386/Packages 404 Not Found

    E: Some index files failed to download. They have been ignored, or old ones used instead.

  8. ctrlaltca commented on Oct 5, 2015

    @ctrlaltca
    Contributor

    Sorry, i linked a ppa for "precise" instead of the correct one for "trusty".
    Please have a look at https://launchpad.net/~beineri for the correct ppa

  9. 1 remaining item

  10. kartagis commented on Oct 5, 2015

    @kartagis
    ContributorAuthor

    So, what's the next step? Just wait?

  11. wodim commented on Oct 5, 2015

    @wodim
    Member

    I'd wait until Ubuntu fixes it, honestly.

    On Mon, Oct 5, 2015 at 12:10 PM, kartagis notifications@github.com wrote:

    So, what's the next step? Just wait?

    —
    Reply to this email directly or view it on GitHub
    #1655 (comment).

  12. un1versal commented on Oct 5, 2015

    @un1versal
    Contributor

    @kartagis If this is Ubuntu Bug should be reported to Ubuntu, Else you can wait forever here with this report.
    Are you going to report it to them or find out f they have already such report? If it exists or you make a report, please link it here in your reply. Thanks.

    Ill trust what wodim and ctrlaltca say and mark this as 3rd party.

  13. un1versal commented on Oct 6, 2015

    @un1versal
    Contributor

    I was investigating this because it bugs me also...

    With xev command you are able to see a crucial difference between normal enter key and numbpad enter

    Numbpad Enter

    KeyRelease event, serial 37, synthetic NO, window 0x3800001,
        root 0x17b, subw 0x3800002, time 12012706, (38,47), root:(640,487),
        state 0x10, keycode 104 (keysym 0xff8d, KP_Enter), same_screen YES,
    "   XLookupString gives 1 bytes: (0d) "
        XFilterEvent returns: False
    

    Normal Enter

    KeyRelease event, serial 37, synthetic NO, window 0x3800001,
        root 0x17b, subw 0x3800002, time 12008930, (38,47), root:(640,487),
        state 0x10, keycode 36 (keysym 0xff0d, Return), same_screen YES,
    "   XLookupString gives 1 bytes: (0d) "
        XFilterEvent returns: False
    

    So I think its a question (for a workaround) to remap (keysym 0xff8d, KP_Enter) to (keysym 0xff0d, Return)*

    No idea how to fix that (properly) in Ubuntu and friends though

  14. kartagis commented on Oct 6, 2015

    @kartagis
    ContributorAuthor

    Remap on Ubuntu? Will that not break existing functionality?

    On 6 October 2015 at 11:07, un1versal notifications@github.com wrote:

    I was investigating this because it bugs me also...

    With xev command you are able to see a crucial difference between normal
    enter key and numbpad enter

    Numbpad Enter

    KeyRelease event, serial 37, synthetic NO, window 0x3800001,
    root 0x17b, subw 0x3800002, time 12012706, (38,47), root:(640,487),
    state 0x10, keycode 104 (keysym 0xff8d, KP_Enter), same_screen YES,
    " XLookupString gives 1 bytes: (0d) "
    XFilterEvent returns: False

    Normal Enter

    KeyRelease event, serial 37, synthetic NO, window 0x3800001,
    root 0x17b, subw 0x3800002, time 12008930, (38,47), root:(640,487),
    state 0x10, keycode 36 (keysym 0xff0d, Return), same_screen YES,
    " XLookupString gives 1 bytes: (0d) "
    XFilterEvent returns: False

    So I think its a question (for a qorkaround) to remap (keysym 0xff8d,
    KP_Enter)
    to (keysym 0xff0d, Return)*

    —
    Reply to this email directly or view it on GitHub
    #1655 (comment).

    This is an HTML

  15. un1versal commented on Oct 6, 2015

    @un1versal
    Contributor

    I ran this commad

    xmodmap -e "keycode 104 = Return"

    and now my Numbpad Enter Key under xev reports

    KeyRelease event, serial 37, synthetic NO, window 0x3800001,
        root 0x17b, subw 0x0, time 15091454, (163,-15), root:(765,425),
        state 0x10, keycode 104 (keysym 0xff0d, Return), same_screen YES,
        XKeysymToKeycode returns keycode: 36
    "   XLookupString gives 1 bytes: (0d) "
        XFilterEvent returns: False
    

    And behaves like Enter Key does.

  16. changed the title [-]Broken keys[/-] [+]Broken keys- Numpad Enter behaves like spacebar - Workaround posted[/+] on Oct 6, 2015
  17. un1versal commented on Oct 7, 2015

    @un1versal
    Contributor

    You going to have to redo this every time you reboot unless you make change permanent btw.

  18. un1versal commented on Oct 29, 2015

    @un1versal
    Contributor
  19. self-assigned this
    on Oct 29, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions