https://bugs.kde.org/show_bug.cgi?id=504259

--- Comment #6 from samontab <samon...@gmail.com> ---
(In reply to Nate Graham from comment #5)
> You said "with the console" it fails, but then later you said with termux it
> succeeded. Can you clarify the difference between what you did for each case?

OK, found the reason for this issue.

TL:DR; KDE used to automatically change colons (:) in the name for Modifier
Letter Colon (꞉), which is valid as part of the name in the file system, but
now KDE doesn't do it anymore, resulting in the error.

This is what I was explaining before:

The file creation was done from two different devices. It fails from the
computer, while it works directly on the phone.

On my computer with KDE, I connect my phone, mount the filesystem. Then, from
my computer with KDE, using the console or file explorer(dolphin), it doesn't
write the file on the phone if the filename has ":" in it, as seen in the
attached gif. Both attempts show an error.

On my phone, if I start the termux app, I can write a file with ":" in the
name.

This is correct, but termux on the phone starts at a different filesystem. If I
navigate to the actual filesystem where the files are being accessed (Downloads
for example), then that filesystem in fact doesn't accept colons in the name,
as Steve mentioned. If I try with termux on my phone to write the name with :
in it, it errors in the same way as KDE.

I went to check on an older phone where I definitely didn't see this issue at
the time with an older KDE, and it seems that KDE in the past used to
automatically change the colon character for a visually similar one, but valid
in the name. I never noticed the difference.

This is the character it was changed to ꞉ and here is a normal colon :

One next to each other you can clearly see the difference ꞉:

Reading more into it I found that it's called the Modifier Letter
Colon(Unicode: U+A789).

I wonder why KDE decided to remove this useful feature. I think it's much
better for the user to have a slightly different filename than to not being
able to create or copy a file. This is specially useful when copying multiple
files with this character in the name.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to