Skip to content

[Synfig Studio] Fixed incorrect import of lst files when path contains non-Latin characters - #1924

Merged
ice0 merged 1 commit into
synfig:masterfrom
ice0:fix-lst-windows
Dec 14, 2020
Merged

ice0 merged 1 commit into
synfig:masterfrom
ice0:fix-lst-windows

Conversation

@ice0

@ice0 ice0 commented Dec 13, 2020 •

Copy link
Copy Markdown
Collaborator

Fix #1898

@ice0
ice0 requested a review from rodolforg December 13, 2020 06:00
@ice0 ice0 added this to the v1.4.1 milestone Dec 13, 2020
Comment on lines +72 to +73
// TODO(ice0): There is no way to report about error to GUI. We can't
// throw error from constructor (bad practice), and can't return error code.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agree. Should we refactor the Importer class to have a load() method – that should be called only once?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think yes, this is a good idea. We can back to this problem after 1.4.1 release.

@rodolforg rodolforg left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't test it because I barely have access to Windows on those pandemic days (as I'm home office'ing due to social distancing).
Besides, my language, Portuguese, uses latin-only characters XD

@ice0

ice0 commented Dec 13, 2020

Copy link
Copy Markdown
Collaborator Author

I can't test it because I barely have access to Windows on those pandemic days (as I'm home office'ing due to social distancing).
Besides, my language, Portuguese, uses latin-only characters XD

No problem here, I already tested it and all works fine. Just need someone who can check the code too.

@rodolforg rodolforg left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks ok to me

@ice0
ice0 merged commit 7d68380 into synfig:master Dec 14, 2020
@ice0
ice0 deleted the fix-lst-windows branch December 14, 2020 03:49
ice0 added a commit to ice0/synfig that referenced this pull request Dec 30, 2020
…ins non-Latin characters (synfig#1924)

(cherry picked from commit 7d68380)
@ice0 ice0 mentioned this pull request Dec 30, 2020
ice0 added a commit to ice0/synfig that referenced this pull request Feb 28, 2021
…ins non-Latin characters (synfig#1924)

(cherry picked from commit 7d68380)
morevnaproject pushed a commit that referenced this pull request Apr 20, 2021
…ins non-Latin characters (#1924)

(cherry picked from commit 7d68380)
morevnaproject pushed a commit to morevnaproject/synfig that referenced this pull request Aug 9, 2021
…ins non-Latin characters (synfig#1924)

(cherry picked from commit 7d68380)
morevnaproject pushed a commit to morevnaproject/synfig that referenced this pull request Aug 9, 2021
…ins non-Latin characters (synfig#1924)

(cherry picked from commit 7d68380)
@rodolforg rodolforg removed the Backport label Feb 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Synfig Studio] lst files incorrectly imported when path contains non-Latin characters

2 participants