Bug 187744

Summary: Crash when clicking "add new entry" while in insert mode
Product: [Applications] parley Reporter: Nicolas Dietrich <nidi>
Component: generalAssignee: Parley Developers <parley-devel>
Status: RESOLVED FIXED    
Severity: crash CC: gladhorn, tonificante
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Nicolas Dietrich 2009-03-20 22:36:50 UTC
Version:           0.9.2 (using 4.2.1 (KDE 4.2.1), Kubuntu packages)
Compiler:          cc
OS:                Linux (i686) release 2.6.27-11-generic

The following misbehavior is always reproducable:

1. Edit a word in the word list table by pressing F2 or double-click.
2. While being in insert mode add new entry by pressing Ins or clicking on "add new entry".
3. Immediate crash.

Thanks for fixing!
Comment 1 Frederik Gladhorn 2009-03-24 21:06:02 UTC
*** Bug 185878 has been marked as a duplicate of this bug. ***
Comment 2 Frederik Gladhorn 2009-03-24 21:12:46 UTC
r943995
When adding new words while the delegate is open, the sortfilterproxy gets the mapping to the real model wrong.
Clear the selection first.
Thanks for reporting!
Fixed in KDE 4.2.2