[Bug 146887] New: Album names get created with *spaces* in the filesystem

classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 146887] New: Album names get created with *spaces* in the filesystem

Bugzilla from kde@richardneill.org
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=146887         
           Summary: Album names get created with *spaces* in the filesystem
           Product: digikam
           Version: 0.9.1
          Platform: unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: wishlist
          Priority: NOR
         Component: general
        AssignedTo: digikam-devel kde org
        ReportedBy: kde richardneill org


Version:           0.9.1 (using KDE 3.5.6, Kubuntu (feisty) 4:3.5.6-0ubuntu14)
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.20-15-generic

Spaces in filenames and directory names are pure evil. If I create an album named "My Holidays in France", from the GUI, may I ask that digikam creates the directory as "My_Holidays_in_France" ?
Conversely, underscores should be displayed as spaces.

The problem wouldn't matter quite so much, except that digikam uses its own database - and that means that modifying filenames from the shell after creating albums is likely to cause pain.  So I can't just run my "remove_spaces.sh" script on the whole photographs directory.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 146887] Album names get created with *spaces* in the filesystem

Gilles Caulier-4
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=146887         




------- Additional Comments From caulier.gilles gmail com  2007-06-17 09:29 -------
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
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 146887] Album names get created with *spaces* in the filesystem

Gilles Caulier-4
In reply to this post by Bugzilla from kde@richardneill.org
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=146887         




------- Additional Comments From caulier.gilles gmail com  2007-06-17 09:31 -------
Created an attachment (id=20873)
 --> (http://bugs.kde.org/attachment.cgi?id=20873&action=view)
Space char used in file nemas and album names
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: [Bug 146887] New: Album names get created with *spaces* in the filesystem

Bugzilla from mikmach@wp.pl
In reply to this post by Bugzilla from kde@richardneill.org
Dnia niedziela 17 czerwiec 2007, Richard Neill napisał:
> The problem wouldn't matter quite so much, except that digikam uses its
> own database - and that means that modifying filenames from the shell
> after creating albums is likely to cause pain.  So I can't just run my
> "remove_spaces.sh" script on the whole photographs directory.

Well, you have to remember to put "" around names. I done it in awfully
neglected cdigi script.

m.

_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 146887] Album names get created with *spaces* in the filesystem

Bugzilla from kde@richardneill.org
In reply to this post by Bugzilla from kde@richardneill.org
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=146887         




------- Additional Comments From kde richardneill org  2007-06-17 20:08 -------
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!
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 146887] Album names get created with *spaces* in the filesystem

Gilles Caulier-4
In reply to this post by Bugzilla from kde@richardneill.org
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=146887         




------- Additional Comments From caulier.gilles gmail com  2007-06-17 20:43 -------
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
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 146887] Album names get created with *spaces* in the filesystem

Bugzilla from kde@richardneill.org
In reply to this post by Bugzilla from kde@richardneill.org
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=146887         




------- Additional Comments From kde richardneill org  2007-06-17 21:09 -------
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"
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 146887] Album names get created with *spaces* in the filesystem

Bugzilla from hugelmopf@web.de
In reply to this post by Bugzilla from kde@richardneill.org
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=146887         




------- Additional Comments From hugelmopf web de  2007-06-18 11:15 -------
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.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Odp: [Bug 146887] Album names get created with *spaces*in the filesystem

Bugzilla from mikmach@wp.pl
I would suggest to close this with WONTFIX.

----------------------------------------------------
"Szklana Pułapka, "Na Fali" i "Zabójcza Broń" w jednym
filmie, pełnym niepowtarzalnego, angielskiego humoru.
HOT FUZZ:Ostre Psy - w kinach od 8 czerwca!
http://klik.wp.pl/?adr=http%3A%2F%2Fadv.reklama.wp.pl%2Fas%2Fhotfuzz.html&sid=1188


_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 146887] Album names get created with *spaces* in the filesystem

Bugzilla from mikmach@wp.pl
In reply to this post by Bugzilla from kde@richardneill.org
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=146887         




------- Additional Comments From mikmach wp pl  2007-06-18 12:50 -------
I would suggest to close this with WONTFIX.

----------------------------------------------------
"Szklana Pu�apka, "Na Fali" i "Zab�jcza Bro�" w jednym
filmie, pe�nym niepowtarzalnego, angielskiego humoru.
HOT FUZZ:Ostre Psy - w kinach od 8 czerwca!
http://klik.wp.pl/?adr=http%3A%2F%2Fadv.reklama.wp.pl%2Fas%2Fhotfuzz.html&sid=1188

_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 146887] Album names get created with *spaces* in the filesystem

Gilles Caulier-4
In reply to this post by Bugzilla from kde@richardneill.org
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=146887         
caulier.gilles gmail com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |WONTFIX



------- Additional Comments From caulier.gilles gmail com  2007-06-18 12:59 -------
Right Mik...

Gilles
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel