"save as" of a file with a name containing a ? (question mark) character saves under truncated name "?" (without quotes) in the file name. Name gets cut off before the "?". I have just reported bug 329258 (" in a name) but it behaves differently to THIS case with a ? in the name (here: shown in the file name box). Reproducible: Always Steps to Reproduce: 1. have a file test?buuu.txt (see test case file) 2. open in kwrite (4.12.0 and KDE base same version) 3. file → save as ("test" is shown in the file name box) 4. ok Actual Results: gets saved into a new file named "test" (without quotes). Expected Results: file gets saved under the old file name. Also it is expected that the old name gets shown in the dialog window's file name box). Same happens for saving in the KDE program okular (when a file name is asked for). A simple "save" works as expected. Impact: could lead to data loss if it is not noticed that the desired and old name was not used for the saved (possibly altered) data.
same happens for kwrite/KDE 4.11.4 (also ArchLinux)
(I myself) cannot reproduce with kwrite 17.12.3 and KDE frameworks 5.44.0 and qt 5.10.1.