xenia icon indicating copy to clipboard operation
xenia copied to clipboard

Paths/filenames with special characters (Chinese, etc) can't be dragged and dropped onto Xenia

Open Margen67 opened this issue 1 year ago • 6 comments

If you try to drag and drop a game that has certain characters in the path then Xenia tries to open itself: xenia.log If Xenia is in a path that contains special characters the game's filename becomes corrupted: xenia.log

It must be opened by dragging and dropping. The issue doesn't occur with File > Open.

Margen67 avatar Jun 29 '23 05:06 Margen67

If you try to drag and drop a game that has certain characters in the path then Xenia tries to open itself: xenia.log

What kind of file is being drag&dropped here?

gibbed avatar Jun 29 '23 05:06 gibbed

If you try to drag and drop a game that has certain characters in the path then Xenia tries to open itself: xenia.log

What kind of file is being drag&dropped here?

STFS, but it does the same thing with iso and xex.

Margen67 avatar Jun 29 '23 05:06 Margen67

STFS, but it does the same thing with iso and xex.

Then I'll need the path that's causing the problem, I'm not able to reproduce the problem here with my test.

gibbed avatar Jun 29 '23 05:06 gibbed

Actually on hindsight, when you say drag&drop onto Xenia, do you mean drag&drop onto the Xenia window, or drag&drop onto xenia.exe?

gibbed avatar Jun 29 '23 05:06 gibbed

Actually on hindsight, when you say drag&drop onto Xenia, do you mean drag&drop onto the Xenia window, or drag&drop onto xenia.exe?

I meant drag and drop onto the exe. Dragging and dropping onto the window doesn't have the issue. I added 你好 to the filename.

Margen67 avatar Jun 29 '23 05:06 Margen67

This might be why: https://github.com/xenia-project/xenia/blob/00aba94b98b1369d604f233fcd6a9dbbc233f3bb/src/xenia/base/main_win.cc#L94

Margen67 avatar Jun 29 '23 08:06 Margen67