Bug 161854

Summary: KEditListBox can't add after changing selection
Product: [Frameworks and Libraries] kdelibs Reporter: Alan Jones <skyphyr>
Component: kdeuiAssignee: kdelibs bugs <kdelibs-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: finex
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:

Description Alan Jones 2008-05-09 18:13:20 UTC
Version:            (using KDE 4.0.3)
Installed from:    Gentoo Packages
Compiler:          Target: x86_64-pc-linux-gnu
Configured with: /var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/configure --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.2 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.2 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.2/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.2/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/include/g++-v4 --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --enable-secureplt --disable-libunwind-exceptions --enable-multilib --enable-libmudflap --disable-libssp --disable-libgcj --enable-languages=c,c++,treelang,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu 
OS:                Linux

When the selection is removed (by clicking in a blank spot etc of the text list) the last selected still remains linked to the line edit. Clicking add again after editing doesn't resolve it - you just start pushing text over the last selected item from blank when you type more in the line edit.

To repro type something into the line edit, click add, type something else, click add. Select one of them and change it in the line edit. Click add to get a blank line edit and type in the line edit again. It will replace the one you were just modifying.

Cheers,

Alan.
Comment 1 FiNeX 2008-08-13 16:57:57 UTC
This bug is still present in current trunk.
Comment 2 Christoph Feck 2009-12-09 05:55:50 UTC
Using the steps provided, I cannot reproduce on trunk.
Comment 3 FiNeX 2009-12-09 11:18:54 UTC
I confirm the bug has been fixed. Thanks