Anything after dot in part name doesn't appear

• Sep 26, 2013 - 22:28
Type
Functional
Severity
S4 - Minor
Status
closed
Project

1. Create score.
2. 'Parts...'.
3. 'New'.
4. Tick instrument.
5. Change name to 'Part. One'.
6. 'OK'.

Result: Anything after the dot doesn't appear.

Using MuseScore 2.0 Nightly Build (b835131) - Mac 10.7.5.


Comments

The same applies when creating a new score. Create a new score with the name "Hello.World". Then the name of the score is only "Hello" even though the title in the score is correct. It is caused by QFileInfo which interprets ".World" as a filename suffix.

Well, I wouldn't say it's a Qt problem. More a problem with how QFileInfo is being used. QFileInfo always expects the filename to have a suffix. So I think a possible solution might be to explicitly add a suffix to the score name so QFileInfo doesn't starting looking for a suffix in the score title given by the user.