Bug 212226 - Impossible to edit the last contact name when creating a new group.
Summary: Impossible to edit the last contact name when creating a new group.
Status: VERIFIED FIXED
Alias: None
Product: kaddressbook
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-28 20:51 UTC by Sabine Faure
Modified: 2009-11-12 19:52 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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