Piano Roll Editor maxes out CPU and doesn't stop
Reported version
3.0
Priority
P0 - Critical
Type
Performance
Frequency
Once
Severity
S3 - Major
Reproducibility
Always
Status
closed
Regression
No
Workaround
No
Project
Revision 2b25396, Mac Mojave. MS3 apparently keeps the Mac awake. The Mac hadn't slept all night. When I shut MS3 (and didn't subsequently touch it), the Mac started falling asleep in 10 min as expected.
Comments
FYI, it doesn't keep my windows system awake, it sleeps like a baby.
This is the same bug that consumes 100% of a core. When the Piano Roll Editor is used, and a note (length) is actually altered, the app consumes 100% of a core until shut down, even if the PRE is exited, and keeps the Mac awake; if the PRE is not entered, it does neither. This is major, maybe augmented?
I can confirm on Windows too. Open Piano Roll Editor, change a note, CPU goes crazy and stays that way.
CPU goes crazy? I see one core getting busy, some 70%, bit overall the system stays at 10% (4 cores +HT).
Nice one, finally a method to prevent my laptop from going to sleep when I don't want it...
Not to say this doesn't need fixing ;-)
For pianoroll CPU eating see https://github.com/musescore/MuseScore/pull/4375.
Fixed in branch master, commit 6fd314eda2
fix #279721: fix delayed update of pianoroll editor
Fixed in branch master, commit c3e2326f94
Merge pull request #4375 from dmitrio95/279721-pianoroll-cpu-usage
fix #279721: fix delayed update of pianoroll editor
Automatically closed -- issue fixed for 2 weeks with no activity.