[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: In KDE3 when moving a file; Error! instead of Overwrite?
From:       David Faure <david () mandrakesoft ! com>
Date:       2002-04-14 0:16:55
[Download RAW message or body]

[Bug summary: moving a file/directory to some place where a copy already 
exists says "Error" instead of popping up the rename/overwrite/etc. dialog]

On Sunday 14 April 2002 01:26, David Faure wrote:
> The reason for the breakage was very probably the renaming-speedup change
> (job.cpp revision 1.296), although I'm not 100% sure how the old code worked
> in this case.

Ah.... now I know. It's not that change, but the change mentionned in comment
above that if() test, related to BR #36105 (renaming a dir on a FAT partition, from
lowercase to uppercase, and choosing "Overwrite"  -  don't do this at home with kde-2
or with this patch applied, it deletes the dir!).

FAT really sucks. I'm afraid the only way to fix this properly is to actually detect
FAT partitions, and treat them case-insensitively, as they really are (e.g. in kio_file).
Stephan, do you think this would be ok? Somehow kio_file parsing /etc/fstab
for every copy/move operation sounds very bad though, I guess this would need some
caching :}. ARGL. So much care to take, just because FAT doesn't allow "mv a A" :(

-- 
David FAURE, david@mandrakesoft.com, faure@kde.org
http://people.mandrakesoft.com/~david/, http://www.konqueror.org/
KDE, Making The Future of Computing Available Today


 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic