Bug 489345 - Importing a CSV Flashcard Set Does Not Use Comma Separator
Summary: Importing a CSV Flashcard Set Does Not Use Comma Separator
Status: CONFIRMED
Alias: None
Product: kwordquiz
Classification: Applications
Component: general (show other bugs)
Version: 24.05.1
Platform: Flatpak Linux
: NOR minor
Target Milestone: ---
Assignee: Carl Schwan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-27 23:00 UTC by spam7423
Modified: 2025-02-16 23:29 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description spam7423 2024-06-27 23:00:39 UTC
SUMMARY
As an end-user of kwordquiz, I would like to be able to import my flashcard sets, which are stored as csv files.  I store my flashcard sets as csv files for flexibility: to be able to move them around different applications easily. However, while kwordquiz does support opening/importing the csv file type, it does not actually separate out the question from the answer using the comma separator, unlike other flashcard applications.

During my troubleshooting, I did notice that when opening a csv file, it can separate out the question from the answer using the tab separator. Technically, tsv files are supported but not csv files.

STEPS TO REPRODUCE
If you have a csv file ready for testing: 
1. From the "Welcome" page, click on "Open Existing Document"
2. Change the filter of the resulting window to "CSV documents"
3. Open the csv file

OBSERVED RESULT
The questions and answers are not separated when the file is opened.

EXPECTED RESULT
The questions and answers are separated when the file is opened.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Debian GNU/Linux 12
(available in About System)
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION
Since the logic is already implemented to support tsv files, another issue should probably be created for adding in a tsv filter option.