Bug 368508

Summary: Output naming of audio files ripped from when retrieved from CDDB database
Product: [Applications] k3b Reporter: George Nilsen <gnilsen>
Component: Audio ProjectAssignee: k3b developers <k3b>
Status: REPORTED ---    
Severity: normal CC: michalm, trueg
Priority: NOR    
Version: 2.0.3   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: : is still appearing in the file
neon version
k3b version

Description George Nilsen 2016-09-09 15:44:47 UTC
When ripping audio CDs using K3b with CDDB as the lookup using default options, file output names sometimes contain forbidden characters. For example, I was able to catch / but I was not on the lookout for : ? &

an example:
08 - Johann Sebastian Bach - Brandenburgisches Konzert No. 6 in B-dur, BWV 1051: II. Adagio ma non troppo.ogg

KDE allowed these file names to save, but gives seemingly random errors when trying to copy later. For example, if I want to move these files, sometimes only the folder will copy, and sometimes the file manager will crash.

Reproducible: Sometimes

Steps to Reproduce:
1. Try to rip a classical CD into .ogg files using default options.
2. K3b will allow to save files, there is a good chance there will be a / : ? or & in the name of the file.
3. Try to move the folder to a USB drive or another folder. Only the folder will copy, or another error will occur.

Actual Results:  
Could not copy files.

Expected Results:  
Files saved without forbidden characters and can copy to other folders.
Comment 1 Justin Zobel 2022-10-24 00:46:37 UTC
Thank you for reporting this bug in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 2 George Nilsen 2022-10-24 22:24:07 UTC
Created attachment 153178 [details]
: is still appearing in the file
Comment 3 George Nilsen 2022-10-24 22:24:36 UTC
Created attachment 153179 [details]
neon version
Comment 4 George Nilsen 2022-10-24 22:24:56 UTC
Created attachment 153180 [details]
k3b version
Comment 5 George Nilsen 2022-10-24 22:32:47 UTC
I was able to reproduce the issue tonight 10/24/2022. The file is able to save on the filesystem (ext4) and copy to an external drive (ext4). I realize now that my old external drive must have been formatted fat32, and : is a forbidden character for filenames on fat32. This is why it was able to rip and save on ext3/4 but could not copy to fat32. Nevertheless k3b is still allowing those characters in filenames.