Bug 405483

Summary: Editing an alphabetically sorted list assigns the new value into 2 fields instead of 1.
Product: [Applications] kwordquiz Reporter: robert <robert.mikael.stenstrom>
Component: generalAssignee: Peter Hedlund <peter>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version: 0.9.2   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:

Description robert 2019-03-15 01:41:25 UTC
SUMMARY

If you first alphabetically sort the word list by clicking the column name and then edit a word in the list after doing that, then when the list is alphabetically rearranged after you hit enter the word you just entered is assigned into the next field too, assigning it into 2 fields instead of 1, which deletes a word that was not meant to be deleted in the field below the one you were editing by overwriting it with the new word you just put in.

STEPS TO REPRODUCE
1. Make a wordlist.
2. Click into the column name box which reads "Column 1" by default.
3. Edit a word in the list and hit enter.

OBSERVED RESULT

Both the field you were editing and the one below it gets the new value. This deletes the other word from the list by assigning it the same value as the field above it which is the one you were editing.

EXPECTED RESULT

Only the field you edit should change.

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: 
kernel: 4.14.83-gentoo
KDE Plasma Version: 5.14.5
KDE Frameworks Version: 5.54.0
Qt Version: 5.11.3