Bug 211595

Summary: Impossible to enter or edit a group name in the 'New Contact Group' dialogue.
Product: [Applications] kaddressbook Reporter: Sabine Faure <sabine>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: VERIFIED FIXED    
Severity: normal CC: tokoe
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Sabine Faure 2009-10-23 23:06:57 UTC
Version:            (using Devel)
Compiler:          gcc 4.3.2 
OS:                Linux
Installed from:    Compiled sources

- Configure Akonadi with an IMAP and Kolab resource.
- Launch Kontact and go to KAB
- Create a new Contact
- Go to File menu/New/New Group...
- A 'New Contact Group' dialogue appears.
- Click in the Name column of the 'Contact group members' 
table without entering anything
- Now try to enter a group name in the 'Name:' field(Group A) like if you forgot to do it before.

It is impossible to enter the group name as long as the focus remains in the 'Name' column. 

To remove the focus you can press the Esc key and enter a group name but afterward it is impossible to enter a contact's name in the 'Contact group members' table so the user has to cancel the group creation.

The only way to enter or edit a group name once the user has clicked in the 'Name' column by mistake is to enter at least one contact's name in the group.

Trunk, Svn Rev 1039367
Comment 1 Tobias Koenig 2009-11-11 12:42:04 UTC
SVN commit 1047543 by tokoe:

Use AllEditTriggers to show the line edit not only on
change events (#212226), update the model only when possible
to avoid unneeded changes in the view that results in focus
stealing (#211595).

BUG: 212226
BUG: 211595


 M  +1 -1      contactgroupeditor.cpp  
 M  +26 -1     contactgroupmodel.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1047543
Comment 2 Sabine Faure 2009-11-12 19:59:07 UTC
It is corrected now.

It is now possible to enter the group name even after clicking in the 'Contact group members' table.

Trunk, Svn Rev 1047961