Japanese folder name (macOS)

Discuss new features and functions
Posts: 7
Joined: 8 Mar 2021

dai818

macOS
FreeFileSync 11.1 or later

If the folder name is in Japanese, you cannot register the folder by drag-and-drop.
User avatar
Site Admin
Posts: 7048
Joined: 9 Dec 2007

Zenju

I can't reproduce this. Do you have specific steps?
Posts: 7
Joined: 8 Mar 2021

dai818

Just drag and drop.
Confirmed on Sierra, High Sierra and Big Sur.
FreeFileSync 11.0 is fine.
User avatar
Site Admin
Posts: 7048
Joined: 9 Dec 2007

Zenju

What happens if you drag and drop? Maybe this depends on a particular folder name?
Posts: 7
Joined: 8 Mar 2021

dai818

It happens when the falda name is in Japanese, not a specific keyword.

I uploaded a video, please watch it.

https://youtu.be/jagA6s0BpgA
User avatar
Site Admin
Posts: 7048
Joined: 9 Dec 2007

Zenju

Can you post the exact folder name used in your test?
Posts: 7
Joined: 8 Mar 2021

dai818

The folder name used in the video is

ああああ

The names of these folders are the same.

アアアア
日本
富士山
名称未設定フォルダ

If the folder name is in Japanese, it will not work.
FreeFileSync 11.0 is fine.
User avatar
Site Admin
Posts: 7048
Joined: 9 Dec 2007

Zenju

Drag and drop works in my test with these folder names.
Posts: 7
Joined: 8 Mar 2021

dai818

Unfortunately, it seems to be a symptom of my environmental dependency.

Thank you very much.
User avatar
Site Admin
Posts: 7048
Joined: 9 Dec 2007

Zenju

For what it's worth, I'm not aware of any path checking in FFS that could prevent a folder name from being dropped. Even if the path is broken or does not exist, it should still be accepted by FFS.

That said, it might be a wxWidgets bug/issue. E.g. on Linux an MTP path ends up as an empty array when it is passed from wxWidgets to FFS.
[Edit: yes, it's the same problem with Japanese folders, FFS gets empty array]
User avatar
Site Admin
Posts: 7048
Joined: 9 Dec 2007

Zenju

Hold on... It looks like I can reproduce the error!

Japanese folder names are not enough. It seems drag drop works for these folders if FFS is started via command line, but NOT if FFS is started by double-clicking the app!
Posts: 7
Joined: 8 Mar 2021

dai818

Again, drag-drop worked when launched from the terminal.
User avatar
Site Admin
Posts: 7048
Joined: 9 Dec 2007

Zenju

Fixed! It was a locale conflict in wxWidgets' drag and drop handling. Turns out the user-preferred locale is *different* when you double-click the app vs. running the Contents/MacOS/FreeFileSync_i386 executable directly via command line.

https://www.mediafire.com/file/atq3gkxy0sm8mvt/FreeFileSync_11.10_beta_macOS.zip
Posts: 7
Joined: 8 Mar 2021

dai818

With 11.10_beta_macOS, I was able to drag and drop even Japanese folders.
Thank you very much.