-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Linux] Double click fails to open project if path contains non-ASCII characters #1995
Comments
At a glance looks related to #1325, where the latin1 version of the text is being processed rather than the utf8, etc |
To rule out an oddly named folder, I'd like to see confirmation that:
And, can the project be opened from the command line using its full path? |
Dolphin show the file name fine.
Failed
Worked I guess the Polish diacritics like "ł" are the problem on some level. |
Yes, looks like |
Thanks for the sample text. It is being triggered here: Had this been a UTF8 issue, the solutions proposed seemed simple, but to my surprise, I've had no luck getting them to fix the issue. So I dug a bit deeper and stumbled upon this.... our main constructor casts the char* to QString which may be causing it per:
The proposal is to instead use: QApplication app(argc, argv);
QStringList args = app.arguments();
for(...) But this changes our |
Looks like @softrabbit and I did similar work here. I'd recommend we don't override the default encoding settings, but rather use the Qt recommended approach for reading application parameters, as if we force UTF8, we may run into issues with Windows-CP1252, etc. -Tres |
The |
@softrabbit can you take a look at #1998 and see if I missed anything? |
Closed via #1998. Added to release notes under "Fixes" section. |
I'm nurring KX Studio, the file manager is Dolphin (KDE).
When I doubleclick on a project file, LMMS opens but shows this dialog:
And creates new session.
Opening the same file via File>Open dialog works fine.
The text was updated successfully, but these errors were encountered: