[Mac] Color Picker window gets larger every time it's used

• Mar 19, 2017 - 04:32
Reported version
2.1
Type
Functional
Severity
S4 - Minor
Status
active
Project

Three people independently reported this issue to https://musescore.org/en/node/136551, and I also verified it with 2.0.3 and 2.1-dev on El Capitan. Simplest steps to reproduce:

1. Select anything in the score, and click the "Color" rectangle in the Inspector.
2. Click "Cancel" or "OK" (it doesn't matter which).
3. Repeat steps 1 and 2.

Result: the height of the Color Picker window increases every time, until it exceeds the height of the screen (putting the "Cancel" and "OK" buttons below the bottom edge). What's even more surprising is that when clicking the edge of the Color Picker window to resize it, it refuses to be shrunk—it can only be made larger.

Analysis: MuseScore calls on the native Color Picker , so it may be that MuseScore (or Qt?) is passing information about the size of the window to the OS incorrectly.


Comments

As of today, I can't reproduce it with master, 2.1-dev, or 2.0.3. No system updates installed since last time. This is a real heisenbug.

I'm not sure labeling this fixed is correct. It was reported as sporadic from the beginning.

I would suggest that you see what else is running when the problem arises.

I can still reproduce in MuseScore 2.0.3 and 2.1 with MacOS 10.12.4.
The patch by @roxluca does fix the problem. @roxluca would you mind updating your patch, make a single commit and push it again?

In reply to by Isaac Weiss

I am still having this problem with MuseScore 2.1.0, Revision 871c8e, on a mid-2010 Macbook Pro 13" laptop, running Sierra 10.12.6

I have been running 2.1.0 for some time now; however yesterday was the first time I opened the colors palette to change note color, and the problem promptly began occurring. The colors palette is normal size for other apps (e.g. Scrivener). Since it now occurs in MuseScore every time I use the color palette (even after restarting MuseScore) I don't know how I would attempt to narrow things down.

This keeps happening to me as well. I have to close the application and open it about every 5 or 6 times I use the color palette to reset it. I am using the most recent update of the app. OS: X El Capitan

Attachment Size
Musescore problem.pdf 338.15 KB

I also have the same issue with Musescore 2.2.0, revision 21646c1 (using Qt version 5.4.2) on my MacBook Air (Early 2015, OS X 10.11.6, El Capitan).