Bug 212226

Summary: Impossible to edit the last contact name when creating a new group.
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-28 20:51:38 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 few Contacts
- Go to File menu/New/New Group...
- A 'New Contact Group' dialogue appears.
- Enter a group name in the 'Name:' field(Group A)
- Click in the Name column of the 'Contact group members' table.
- Type in a few letters from the contact's name. The autocompletion works and a list of contact(s) appears. Select the contact that you have just created from
the list.
- repeat until you have three contacts in the Group
- Now try to click on the name of the last contact from the 'Name' column.

For some reason it is impossible to edit it.

However, it is possible to click and edit the contact's names that are above the last one.
Once this is done then it is possible again to click and edit the last one as well.

Trunk, Svn Rev 1041831
Comment 1 Tobias Koenig 2009-10-29 11:32:02 UTC
Hej Sabine,

I can't reproduce this here. Which version of Qt do you use? 4.5 or 4.6?

Ciao,
Tobias
Comment 2 Sabine Faure 2009-11-10 17:45:20 UTC
Hi Tobias,

I am using Qt 4.6.
I've just retested this and the bug is still there. 
It is still impossible to click on the last contact from the 'New Contact Group' dialogue to edit it.

Trunk, Svn Rev 1047043
Comment 3 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 4 Sabine Faure 2009-11-12 19:52:54 UTC
It is corrected now.

It is possible to click and edit the last contact of a group.

Trunk, Svn Rev 1047961