Bug 405483 - Editing an alphabetically sorted list assigns the new value into 2 fields instead of 1.
Summary: Editing an alphabetically sorted list assigns the new value into 2 fields ins...
Status: REPORTED
Alias: None
Product: kwordquiz
Classification: Applications
Component: general (show other bugs)
Version: 0.9.2
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Peter Hedlund
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-15 01:41 UTC by robert
Modified: 2019-03-15 01:41 UTC (History)
0 users

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 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