[Bug 308895] New: Handle Enter key as well as Return to send message

David Edmundson david at davidedmundson.co.uk
Tue Oct 23 19:17:35 BST 2012


https://bugs.kde.org/show_bug.cgi?id=308895

            Bug ID: 308895
          Severity: major
           Version: 0.5.1
          Priority: NOR
          Assignee: kde-telepathy-bugs at kde.org
           Summary: Handle Enter key as well as Return to send message
    Classification: Unclassified
                OS: Linux
          Reporter: david at davidedmundson.co.uk
          Hardware: Other
            Status: NEW
         Component: text-ui
           Product: telepathy

Some people with quirky keyboards have a return key that appears as:

[11:14] <ciummo> KeyPress event, serial 34, synthetic NO, window 0x5400001,    
root 0xac, subw 0x0, time 8823377, (7,335), root:(621,385),     state 0x0,
keycode 104 (keysym 0xff8d, KP_Enter), same_screen YES, "   XLookupString gives
1 bytes: (0d) " "   XmbLookupString gives 1 bytes: (0d) "     XFilterEvent
returns: False

this means it misses

if (e->key()==Qt::Key_Return && !e->modifiers()) {
 Q_EMIT returnKeyPressed();
 return;
}

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Kde-telepathy-bugs mailing list