This forum has been archived. All content is frozen. Please use KDE Discuss instead.

color change for names that are too long

14

Votes
16
2
Tags: k3b k3b k3b
(comma "," separated)
User avatar
TheBlackCat
Registered Member
Posts
2945
Karma
8
OS
Due to the nature of the CD and DVD filesystems, names for both the disc and the files have limits smaller than those on the hard drive. However, K3B does not do a very good job of warning you about this until just before you burn the disc. I think having more obvious indications of problems with the names would be worthwhile. My idea is to highlight the names that are too long, both file names and the disc name, and have any characters over the maximum length be in a different color. Since there are several different naming schemes with different limits, there would probably have to be several colors for the text, indicating which naming scheme is being violated.

So an example would be a cd file name like this (with the number of characters reduced for brevity):

example_disc_12345_67890_ABCDE.txt

"example_disc" conforms to all CD specifications, so it is left black. Through "_12345" is yellow because it violates ISO standards, but it will still work on windows and unix systems. Through "_67890" violates Joliet (windows) standards, so it is orange, but will still work in unix systems. Through "_ABCDE" violates rock ridge standards, so it won't work on anything and therefore is red. Similar rules would apply to volume labels.

It would probably only look like this if you have it set to ISO compliant mode. If you enabled Windows+Linux/Unix mode, only the orange (Joliet) and red (rock ridge) parts would be colored. Similarly, if you set it to Linux/Unix (rock ridge) mode, only the red part would be colored.


Man is the lowest-cost, 150-pound, nonlinear, all-purpose computer system which can be mass-produced by unskilled labor.
-NASA in 1965


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]