http://bugs.winehq.org/show_bug.cgi?id=34560
Bug #: 34560 Summary: regression: Operations in Finale/Finale Notepad 2012 are painfully slow Product: Wine Version: 1.7.2 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: gdiplus AssignedTo: wine-bugs@winehq.org ReportedBy: s_chriscollins@hotmail.com CC: julliard@winehq.org Classification: Unclassified Regression SHA1: 81d9ffa041129a9394e05ccdb564d7149884135b
This bug appeared after the following commit:
gdiplus: Always use AlphaBlend to draw to 32-bit DIB's commit: 81d9ffa041129a9394e05ccdb564d7149884135b
After the above commit, editing operations in Finale are painfully slow, especially when editing pages containing a lot of notes.
Reproducing the bug: 1) Download and install Finale NotePad 2012. You can also use the full retail version of Finale 2012 if you have it, as this bug affects both products. NOTE: you'll probably run into Wine bug #34406, in which case you will either need to install the application first using Wine 1.4 or copy/create the missing user files yourself (untested). 2) Download this Finale music file: https://dl.dropboxusercontent.com/u/8126161/scc-ponies.mus 2) Run the Finale Notepad 2012 application. 3) Click "OK" or "Continue" on all the dialogs, and then you'll get to a registration dialog. Click "Remind Me Later". Cancel out of the document setup wizard. 4) Go to "File" -> "Open" and browse to find the music file you downloaded in step 2. 5) Click the "mF" tool from the toolbar above, and then click on the handle (small square) for the text "Not too fast".
Result: The mouse cursor disappears and Finale freezes for several seconds (11 on my system). You can tell when Finale regains "consciousness" by moving your mouse over the toolbar. The toolbar buttons should light up as the mouse passes over them.
You can use almost any of the other tools to get Finale to freeze up as well.
http://bugs.winehq.org/show_bug.cgi?id=34560
S. Christian Collins s_chriscollins@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, regression
http://bugs.winehq.org/show_bug.cgi?id=34560
--- Comment #1 from S. Christian Collins s_chriscollins@hotmail.com 2013-09-20 21:46:49 CDT --- FYI, I mentioned that you would probably run into Wine bug #34406 while trying to recreate this bug. However, you can still test this bug even if bug #34406 is occuring. You will just have to click OK on all the error prompts, and when you open the music file that I linked to, all of the slurs and articulations will appear messed up. This doesn't impact being able to reproduce this bug, however.
http://bugs.winehq.org/show_bug.cgi?id=34560
Vincent Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |madewokherd@gmail.com
--- Comment #2 from Vincent Povirk madewokherd@gmail.com 2013-09-20 21:54:31 CDT --- CCing author.
http://bugs.winehq.org/show_bug.cgi?id=34560
S. Christian Collins s_chriscollins@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |http://www.finalemusic.com/ | |products/finale-notepad/
http://bugs.winehq.org/show_bug.cgi?id=34560
Dmitry Timoshkov dmitry@baikal.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|julliard@winehq.org | Summary|regression: Operations in |Finale/Finale Notepad 2012: |Finale/Finale Notepad 2012 |Operations are painfully |are painfully slow |slow
http://bugs.winehq.org/show_bug.cgi?id=34560
--- Comment #3 from S. Christian Collins s_chriscollins@hotmail.com --- This bug is still present in Wine 1.7.11 and latest git as of 1/21/2014. Does anybody know if it's possible to disable the "always use AlphaBlend" that is activated by this commit? Unfortunately, this change makes Finale unusably slow, and I will have to stick with Wine 1.4 indefinitely until either this regression is fixed or a workaround is made available.
http://bugs.winehq.org/show_bug.cgi?id=34560
Terran terran@halfcadence.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |terran@halfcadence.net
--- Comment #4 from Terran terran@halfcadence.net --- I'm having this issue as well, commenting because I see this ticket is marked "uncofirmed." Have been switching between two builds in the debian repo, 1.4.1 and 1.6.2. The former works like a charm, the latter is unusably slow.
I've also noticed that at some point during the slowdown the screen will be entirely redrawn with a different font, and once the operation finally finishes the fonts revert back to normal.
http://bugs.winehq.org/show_bug.cgi?id=34560
--- Comment #5 from S. Christian Collins s_chriscollins@hotmail.com --- I think this bug might actually be fixed in the latest Wine code. However, I have been waiting to do an official test until the patches that fix bug 34406 are committed.
http://bugs.winehq.org/show_bug.cgi?id=34560
--- Comment #6 from S. Christian Collins s_chriscollins@hotmail.com --- Nevermind... this is most definitely not fixed (tested with Wine 1.7.16).
https://bugs.winehq.org/show_bug.cgi?id=34560
S. Christian Collins s_chriscollins@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|1.7.2 |1.7.25
https://bugs.winehq.org/show_bug.cgi?id=34560
--- Comment #7 from Terran reid@halfcadence.net --- I can confirm that a build patched to revert the change to GdipGetDC in 81d9ffa041129a9394e05ccdb564d7149884135b makes this bug disappear.
https://bugs.winehq.org/show_bug.cgi?id=34560
cdbfoster@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |cdbfoster@gmail.com
--- Comment #8 from cdbfoster@gmail.com --- This bug affects Finale 2014 (and probably Notepad as well) with Wine 1.7.35.
By making the change described by Terran above to the 1.7.35 source, the problem disappeared.
https://bugs.winehq.org/show_bug.cgi?id=34560
--- Comment #9 from Vincent Povirk madewokherd@gmail.com --- Well, that change to GdipGetDC turned out to be wrong, reverted in e9d9ef591b490a8b4eb173df34b10a6977f45b6d with a test.
It didn't occur to me that GDI+ might draw to the alpha channel in some cases but not others, until I tried to optimize this and concluded there was no other way to match native's performance.
https://bugs.winehq.org/show_bug.cgi?id=34560
S. Christian Collins s_chriscollins@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED
--- Comment #10 from S. Christian Collins s_chriscollins@hotmail.com --- I can confirm that this bug is now fixed, as tested in Wine 1.7.41. Thanks, Vincent!
https://bugs.winehq.org/show_bug.cgi?id=34560
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |e9d9ef591b490a8b4eb173df34b | |10a6977f45b6d
https://bugs.winehq.org/show_bug.cgi?id=34560
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #11 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.43.