Bug 446853

Summary: If title of DVD has too many spaces at end, the .iso extension is dropped when saving the copy
Product: [Applications] k3b Reporter: parkerjbarker
Component: CopyingAssignee: k3b developers <k3b>
Status: REPORTED ---    
Severity: minor CC: aacid, michalm, trueg
Priority: NOR    
Version: 21.08.1   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: k3b not saving iso extension during copy

Description parkerjbarker 2021-12-11 21:58:44 UTC
SUMMARY
***
I have a dvd, that when copying, saves the filename as a050502_00 and then with 22 spaces and then .iso, when k3b prompts me to save the image.  However, when I go to check the created file, the .iso extension has been dropped.
***


STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 parkerjbarker 2021-12-11 22:20:54 UTC
This happens when I go to make an image of a DVD.
Comment 2 Albert Astals Cid 2021-12-11 23:25:11 UTC
Your explanation is a bit terse, could you please add a few screenshots so we can understand better what you are doing? (or do a video/gif capture with a tool like peek or similar)
Comment 3 parkerjbarker 2021-12-11 23:27:26 UTC
(In reply to Albert Astals Cid from comment #2)
> Your explanation is a bit terse, could you please add a few screenshots so
> we can understand better what you are doing? (or do a video/gif capture with
> a tool like peek or similar)

Sure, when I get around to it.  In the meantime, try one of your dvd's and make a copy, but then put 22 spaces before the ".iso" and see if it saves okay on your system, see if the file will save with the .iso extension.
Comment 4 Albert Astals Cid 2021-12-12 00:40:24 UTC
I just saved a copy of my Matrix DVD to

"matrix                                                     .iso"

and it worked jut fine, that's why i want screenshots of what you're doing, in case you're doing something different of what I am doing.
Comment 5 parkerjbarker 2021-12-15 00:43:34 UTC
(In reply to Albert Astals Cid from comment #4)
> I just saved a copy of my Matrix DVD to
> 
> "matrix                                                     .iso"
> 
> and it worked jut fine, that's why i want screenshots of what you're doing,
> in case you're doing something different of what I am doing.

Let me try with that dvd, but using a different operating system.  Not a big priority anyways.  It may take a while.  Maybe it's just a problem with Manjaro.
Comment 6 parkerjbarker 2021-12-19 21:45:05 UTC
I've tried this problem out with Redcore.Linux.Hardened.2102.KDE.amd64.iso which is running k3b 21.08.1 and I get the same problem, where the copy does not save with the .iso extension.  However, in the copy window, it says that it is copying a050502_00.iso and not with the 22 spaces.  I'm not sure yet if this will continue to be a problem with a newer version of k3b.  With peek, you want me to post the video here?
Comment 7 Albert Astals Cid 2021-12-19 23:12:33 UTC
Yes, please.

Save the video as gif and post it here.
Comment 8 parkerjbarker 2021-12-23 01:27:27 UTC
(In reply to Albert Astals Cid from comment #7)
> Yes, please.
> 
> Save the video as gif and post it here.

I tried running the manjaro live dvd, but using the add/remove software was a huge hassle, with all sorts of dependencies not being able to be resolved, couldn't upgrade k3b, and there was no peek program to download.

Then, I went over to Redcore Linux, and didn't find the peek program, but found another program.  Now I know why people aren't using GNU/Linux distributions widely, because of how much hassle it is to get it working properly.

Anyways, I tried saving as .gif, and couldn't install peek, so here it is as .mkv.
Comment 9 parkerjbarker 2021-12-23 01:31:57 UTC
Created attachment 144794 [details]
k3b not saving iso extension during copy
Comment 10 Albert Astals Cid 2021-12-23 23:04:36 UTC
Unfortunately still can not reproduce.

See https://i.imgur.com/RKnioct.mp4

I'll leave the issue open in case someone else can reproduce or we figure out what I am doing different than you that may be causing the issue
Comment 11 parkerjbarker 2021-12-24 01:31:33 UTC
(In reply to Albert Astals Cid from comment #10)
> Unfortunately still can not reproduce.
> 
> See https://i.imgur.com/RKnioct.mp4
> 
> I'll leave the issue open in case someone else can reproduce or we figure
> out what I am doing different than you that may be causing the issue

It looks like you cancelled the copying before it was done, and one can't see the file that you're saving, whether it has an extension or not.  The DVD that in this issue is not encrypted.  Perhaps if someone were to author a dvd, unencrypted, but the title has 22 spaces at the end of the title, maybe that would cause this issue that I'm describing.