make brasero retain extension when truncating file names for windows

Bug #431084 reported by Robert Lange
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
brasero (Ubuntu)
Invalid
Low
Unassigned

Bug Description

Binary package hint: brasero

When I checked the "Increase compatibility with Windows" option before burning my disk, Brasero warned me that it would have to truncate file names longer than 64 characters in order to be Windows compatible. I allowed it and burned the disk.

The result was that Brasero did a hard cut of any characters after the 64 character limit. Of course, this eliminated the file extensions, which Windows needs in order to identify files.

Instead, Brasero should retain the extension (i.e., the last period, and any non-period characters thereafter) and cut more of the filename.

Examples:

ORIGINAL 1:
qwertyuiopqwertyuiopqwertyuiopqwertyuiopqwertyuiopqwertyuiopqwertyuiop.foo

BAD 1:
qwertyuiopqwertyuiopqwertyuiopqwertyuiopqwertyuiopqwertyuiopqwer

GOOD 1:
qwertyuiopqwertyuiopqwertyuiopqwertyuiopqwertyuiopqwertyuiop.foo

ORIGINAL 2:
qwertyuiopqwertyuiopqwertyuiopqwertyuiopqwertyuiopqwertyuiopqwertyuiop.asdf

BAD 2:
(Same as bad 1)

GOOD 2:
qwertyuiopqwertyuiopqwertyuiopqwertyuiopqwertyuiopqwertyuio.asdf

Note that in the second example, the extension was 4 characters rather than 3, so more of the file name was cut.

Bonus points if you trim off extraneous whitespace at the end of a truncated filename, before reattaching the extension.

Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thanks for the report Robert, with which version of brasero are you having this issue?

Changed in brasero (Ubuntu):
assignee: nobody → Ubuntu Desktop Bugs (desktop-bugs)
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Robert Lange (rcl24) wrote :

2.26.1-0ubuntu1

It's a pretty important issue if the CD you are burning is intended for use by a non-technical Windows user. In that case, they complain at you that you burned a disc full of garbage.

Revision history for this message
Pedro Villavicencio (pedro) wrote :

Things should be better on Karmic, could you try with that version ? Thanks!.

Revision history for this message
Vish (vish) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future.
To reopen the bug report you can click on the current status, under the Status column, and change the Status back to "New".

Changed in brasero (Ubuntu):
assignee: Ubuntu Desktop Bugs (desktop-bugs) → nobody
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.