Summary: | Album names get created with *spaces* in the filesystem | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Richard Neill <kde> |
Component: | Database-Albums | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED INTENTIONAL | ||
Severity: | wishlist | CC: | caulier.gilles |
Priority: | NOR | ||
Version: | 0.9.1 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 8.0.0 | |
Sentry Crash Report: | |||
Attachments: | Space char used in file nemas and album names |
Description
Richard Neill
2007-06-17 06:27:16 UTC
This problem is not reproductible on my computer_s_. Mandriva 2007.0/2007.1 and Suse 10.1/10.2 used... I use space everywhere : file names and album names... Screenshot attached. If digiKam crash, please give us a GDB backtrace... Gilles Caulier Created attachment 20873 [details]
Space char used in file nemas and album names
Sorry - I don't think I was very clear about this. What I mean is, file and directory names should never be created with spaces in them, because, although it is technically permissible, it causes lots of trouble for shell users. My suggestion is that digikam ought to behave in the same way as XMMS, i.e. in the GUI, display spaces, but in the filesystem, replace metacharacters by underscores. Digikam works just fine on its own, but for me, the fundamental, pre-eminent interface to everything is bash; spaces in filenames are just A Bad Thing! If i understand you, you want mean than space char in file names in directory path is a shame to drive under Unix ??? This is incredible. I will imediatly returned under Win32 ! Gilles Caulier That was basically what I meant. File/directory-names containing spaces (and other metacharacters) tend to mess up shell-scripts. Yes, we *can* work with them, but it's ugly, and is an unnecessary source of potential errors. For example, if filenames have spaces, then we must be *very* careful with quoting; likewise, double-clicking a filename in konsole (to select it) doesn't work. The technique of space<->underscore conversion is a much safer way to do it. As I see it, the Album Name is a piece of English text, whereas the filename is not. Compare for music: the English name "Beethoven's Symphony Number 5 in C" vs the filename: ~/music/Beethoven/Beethoven_-_Symphony_Number_5_in_C_-_Mvt_1.ogg" I agree with Gilles. I would be really annoyed, if digikam changed spaces to underscores in filenames. If I want underscores, I'll tell digikam, and it will use them. If I want spaces, I'll tell digikam, and it will use them. The filesystem is perfectly capable of dealing with spaces, why should we annoy users with this old thinking??? If you want to use bash scripts, write them in a way that they can deal with spaces in filenames, or they are not worth it. I would suggest to close this with WONTFIX. ---------------------------------------------------- "Szklana Pu Right Mik... Gilles |