The File>Save dialog of kwordquiz fails in non-KDE environments, with a dialog of "Unknown file type".
The problem can also be reproduced in KDE environments by altering the XDG_CURRENT_DESKTOP environment variable.
The problem can be avoided by including the .kvtml extension when typing the filename.
STEPS TO REPRODUCE
1. Either run kwordquiz in a non-KDE environment, or use this to run it under KDE:
2. Try to save the quiz with a name of "test". A dialog will popup, that says "Unknown file type".
3. Try to save the quiz with a name of "test.kvtml". It will be saved properly.
Linux/KDE Plasma: Ubuntu MATE 22.04
KDE Frameworks Version: 5.86.0
Qt Version: 5.15.2
This is the same as 414040.
Qt is buggy and should be fixed.
As mentioned on the other bug, no, Qt is not buggy in this regard, i had misinterpreted the Qt API
A possibly relevant merge request was started @ https://invent.kde.org/education/kwordquiz/-/merge_requests/8
Git commit e5814f40103b13b4acb496a605fbb5cc6954d18e by Albert Astals Cid.
Committed on 25/11/2021 at 23:28.
Pushed by aacid into branch 'release/21.12'.
Fix code that tries to add extension if it's missing
M +16 -5 src/kwordquiz.cpp