musescore / MuseScore

MuseScore is an open source and free music notation software. For support, contribution, bug reports, visit MuseScore.org. Fork and make pull requests!
https://musescore.org
Other
12.29k stars 2.66k forks source link

No log files created on windows 10 if logs path contains non-ascii letters #19111

Open mercuree opened 1 year ago

mercuree commented 1 year ago

Issue type

Other type of issue

Bug description

In windows 10 log files are located in C:\Users\{Username}\AppData\Local\MuseScore\MuseScore4\logs directory. Username may contain non-ascii letters (at least in cases where user account was created offline or without microsoft account) For example, it is possible to create user with cyrillic letters: "Пользователь1", then folder path looks like: C:\Users\Пользователь1\AppData\Local\MuseScore\MuseScore4\logs In this case Musescore will not create any log file and will not attach them into diagnostic zip-archive. Also log files for plugins can be affected.

Steps to reproduce

  1. Create new User under windows 10 which contains non-ascii letters (if you create it offline, windows will not ask you for microsoft account)
  2. Run Musescore
  3. No log files in logs directory

Screenshots/Screen recordings

No response

MuseScore Version

OS: Windows 10 Version 2009 or later, Arch.: x86_64, MuseScore version (64-bit): 4.1.1-232071203, revision: github-musescore-musescore-e4d1ddf

Regression

I don't know

Operating system

OS: Windows 10 Version 2009

Additional context

No response

DmitryArefiev commented 1 year ago

Bumping to Shortlist

DmitryArefiev commented 12 months ago

Can be related to #17518