Chords in french notation are not formated correctly if accented letter expected
Reported version
3.0
Priority
P1 - High
Type
Functional
Frequency
Few
Severity
S3 - Major
Reproducibility
Always
Status
closed
Regression
Yes
Workaround
No
Project
When addind chord with french notation, the chord isn't formated correctly if accented letters is expected.
- Set in Style > Chord symbols "French notation" and disable automatic capitalisation
- In a score, add a chord (CTRL=K) and enter : "Ré" or "ré" : result = "Ré" -> OK
But enter "Re", "re" or "RE", the result is : "Ré". Expected result : "Ré"
Fix version
3.0.1
Comments
Chords "Re" from a score written with v2.3.2 id formated correctly in v3.0 = "Ré".
I can't reproduce - works fine for me. What font are you using for chord symbols? A custom chord symbol style file, perhaps? Can you attach your score?
New score
switch to french chord symbols
start entering chord symbole, Ctrl+K
enter "Re"
hit Space
expected: this turns into "Rè"
actual: it turns into "Rã©"
Expected: turns into "Ré" (not "Rè") :)
(and actual, true: "Rã©")
ach, all these funny accents ;-)
looks like some problem between plain (ASCII) char array ("C-string") and UTF8 string (C++ string or QString)
In reply to I can't reproduce - works… by Marc Sabatella
Score : any score, even a new score
Font used :
- with 2.3.2 : stdchords.xml
- with 3.0.0 : chords_std.xml
(I translate this issue from a post of a french user who don't speak english : https://musescore.org/fr/node/280953#comment-883137)
Which actual font, though? Again, I can't reproduce, works fine for me right out of the box using the default empty score or a new one I create from Treble template (thus, FreeSerif). I'm on Windows 10, US English, using the built-in version of FreeSerif (that is, it is not installed on my system). I still would like to see someone post an actual score with the problem, so I can tell if it is something within the score itself that is different between our systems or not. That could be the case if there was a problem in the parsing code, for instance, or reading the XML file.
Here FreeSerif too, Windows 7, German locale and keyboard
In reply to Here FreeSerif too, Windows… by Jojo-Schmitz
I see the problem. Version 3.0 stable, not a self build.
OK, I can confirm using the release build, not with my own build. Which will make debugging difficult...
Indeed, doesn't happen in anything self built very strange
Seems to be a Windows issue, it isn't reproducible with Linux. No matter if I enter "re" or "Re", the result is always "Ré".
In reply to Seems to be a Windows issue,… by kuwitt
@ Marc & Jojo, OK, I can confirm using the release build, not with my own build.
I wonder if you are using the exact version of QT that's used in the stable release. My guess is that QT translated the font.
At least for Linux (OpenSuse): The AppImage is using Qt 5.9.3, the distribution package Qt 5.9.4.
I indeed use Qt 5.12 for self build, release uses 5.9.x still (waiting for AppVeyor to support 5.12). Mac release uses 5.12
I'll try a 5.9.7 build tomorrow.
My builds are 5.9.4. I also build with QtCreator / MinGW, but I believe Jojo uses MSVC?.
Yes, I am using MSVC and MinGW with Qt 5.12 on my desktop (all 64bit), but still have a MinGW/Qt 5.9.7 (32bit) setup on my laptop, which is where I wanted to try this, thanks for reminding, I had forgotten already
OK, I can't reproduce there, with an older build from 19th December. Building afresh now. Could still be a very recent regression.
I see a change on last August 3 (or/and beginning August 4). The last nightly on August 2 works: 8366ff1 (and this one fails: e98043a)
There is a few commits about compilation under MSCV - don't know what it is exactly :) - but might be here (?)
Which is strange, as I don't see it in a Dec19th build (but with 32bit MinGW)
OK, I can't reproduce with 32bit MinGW and Qt 5.9.7, nor with 64bit MinGW and Qt 5.12, but can with MSVC 64bit Qt 5.12. Latest master in all 3 cases. Missing case: MSVC 64bit (with Qt 5.12)
So it seems MSVC is the culprit?
I suspect this happens for the same reason as it does for #280436: Tool tips for key signature in the new score wizard or master palette don't show accidentals
seems fixed in latest development build.
Please check and reopen if not
follows up @Jojo's comment: https://github.com/musescore/MuseScore/commit/187126aad606bafb19685b626…
Confirmation, fixed issue. Thanks.
Automatically closed -- issue fixed for 2 weeks with no activity.