musescore / musescore/MuseScore
[Linux] MuseScore doesn't respect LC_PAPER variable and there is no way to set default page format
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 15.1k
- Forks
- 3.3k
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 91
Description
Issue type
UX/Interaction bug (incorrect behaviour)
Description with steps to reproduce
I use the en_US locale on my system as a default because I am comfortable with it, but since I live in Germany, I need to adjust certain locale settings to match my living circumstances. As an example, all paper here is A4. In accordance with how locale settings are managed on Linux, I set my LC_PAPER variable to de_DE.UTF-8 to ensure that programs use A4 as the default paper size. However, MuseScore doesn't seem to respect that and just sets all my scores to Letter anyway, with no option to change the default.
Steps to reproduce
- be on Linux
- edit
/etc/locale.genand uncommenten_US.UTF-8andde_DE.UTF-8 - run
locale-genas root - edit
/etc/locale.confas follows:
LANG=en_US.UTF-8
LC_PAPER=de_DE.UTF-8
- reboot
- open MuseScore and create a new score
- Open Page settings
Expected behavior:
The page format is set to A4 by default
Actual behavior:
The page format is Letter / ANSI A
As a workaround, I would be happy if MuseScore exposed a global setting to change the default paper size for all new scores, but this is currently not an option.
Supporting files, videos and screenshots
https://github.com/user-attachments/assets/358e9df3-3a5d-4d26-87f3-9bc26181680c
In which versions of MuseScore Studio is this issue present?
4.5.2
Regression
I was unable to check
Operating system
Arch Linux
Additional context
No response
Checklist
- This report follows the guidelines for reporting bugs and issues
- I have verified that this issue has not been logged before, by searching the issue tracker for similar issues
- I have attached all requested files and information to this report
- I have attempted to identify the root problem as concisely as possible, and have used minimal reproducible examples where possible
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue on Linux using the reported LC_PAPER=de_DE.UTF-8 setup, then trace how new scores choose their initial page format and where Page settings gets its default. Done means new scores default to A4 when LC_PAPER specifies it, or a global default paper-size setting is available and works consistently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux
- Domain
- desktop, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100