[Mac] Color Picker window gets larger every time it's used
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
Can you reproduce on master too? We don't pass a size, just call QColorDialog::getColor repeatedly. I can't find a bug report https://bugreports.qt.io
A possible solution would be to use the Qt color dialog instead of the mac one.
Reported again: https://musescore.org/en/node/184396
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.
linking to the PR from roxluca: https://github.com/musescore/MuseScore/pull/3113
It isn't merged yet, so the issue indeed isn't fixed.
master seems to work for lasconic now as well (without the PR), but 2.0.3 indeed still has the issue for him (@Isaac)
Could it be somewhat related to the Qt version?
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?
Fixed in branch 2.1, commit 8d65d44118
fix #182336: Color Picker window gets larger every time it's used
Fixed in branch 2.1, commit eabb7a2a17
Merge pull request #3116 from roxanaluca/fix-182336
fix #182336: Color Picker window gets larger every time it's used
Automatically closed -- issue fixed for 2 weeks with no activity.
Possibly back again per https://musescore.org/en/node/225056.
In reply to #12 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
In reply to This keeps happening to me… by Stefni
What does it say the version is when you click help->about? Click the button with the square on it then paste the clipboard to your response.
In reply to What does it say the version… by mike320
OS: OS X 10.11, Arch.: x86_64, MuseScore version (64-bit): 2.2.1, revision: 51b8386
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).
And another in https://musescore.org/en/node/271765#comment-833353
In reply to And another in https:/… by Jojo-Schmitz
And again https://musescore.org/en/node/182336#comment-679411...or maybe not.
The above link is wrong, I guess you meant https://musescore.org/en/node/277135#comment-856465