Bug 312615

Summary: USABILITY: There should be a shortcut for opening chats, maybe Enter
Product: [Frameworks and Libraries] telepathy Reporter: sombragris
Component: contactlistAssignee: Telepathy Bugs <kde-telepathy-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: kde, mklapetek
Priority: NOR    
Version: 0.5.2   
Target Milestone: Future   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In: 0.5.3

Description sombragris 2013-01-04 17:26:14 UTC
I'm enjoying the good work you did on KDE-Telepathy, thanks! Every day is showing its usefulness.

This bug is kind of related to those bugs that complained that chats should be opened with a single click (I know you said no; no question with that). 

It is possible to go over the contacts using the keyboard right now; i.e., using Tab and the arrow keys to navigate them. However, once you position the focus on a specific contact, there is no way (AFAIK) of initiating a chat with such contact other than clicking on the mouse.

IMHO there should be a way of initiating chats via the keyboard. Enter is the obvious key here, but as Martin had explained on the discussion over the single/double click, accidentally opening chats is a valid concern. Perhaps Ctrl + Enter maybe...? anyway, the issue here is the lack of a proper way of starting chats with a keyboard. 

Thanks and happy 2013.

Reproducible: Always

Steps to Reproduce:
1.Navigate the contact list with the keyboard
2. Try to initiate a chat with the keyboard.
3. Nothing happens.
Actual Results:  
Nothing happens.

Expected Results:  
There should be a shortcut (maybe Enter or Ctrl-Enter) for opening chats.
Comment 1 Martin Klapetek 2013-01-04 18:00:15 UTC
Thanks, good suggestion!

Actually in this case pressing Enter wouldn't be that bad because you have already navigated with the keyboard all the way there, it's a different situation than for example navigating the laptop's touchpad and accidentally clicking it.

If David's fine with this idea, I'll get it done for 0.6.
Comment 2 David Edmundson 2013-01-04 18:00:57 UTC
I am.
Comment 3 Martin Klapetek 2013-01-04 18:39:04 UTC
Git commit 5eaf9d57502f4fb45da1c570067c69c1e836ec68 by Martin Klapetek.
Committed on 04/01/2013 at 19:38.
Pushed by mklapetek into branch 'kde-telepathy-0.5'.

Open chats when pressing enter

Reviewed-by: David Edmundson
FIXED-IN: 0.5.3

M  +15   -0    contact-list-widget.cpp
M  +1    -0    contact-list-widget.h

http://commits.kde.org/telepathy-contact-list/5eaf9d57502f4fb45da1c570067c69c1e836ec68
Comment 4 sombragris 2013-01-04 18:43:36 UTC
Thank you ! :) I look forward to 0.5.3 and onwards.