uxtheme: Do not draw parent background even if scrollbar arrows and thumb are transpa...
commitb9c882a127d2e71160295fc91aad09c90c179bc0
authorZhiyi Zhang <zzhang@codeweavers.com>
Wed, 31 Aug 2022 14:01:51 +0000 (31 22:01 +0800)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 1 Sep 2022 15:43:00 +0000 (1 17:43 +0200)
treeecabf4fc37de3d895875bf2c512398d8a5bad95e
parentcf4c4d2f2553542e0509ba4d06265b127c79e061
uxtheme: Do not draw parent background even if scrollbar arrows and thumb are transparent.

This is confirmed by the tests in test_scrollbar() and manual tests on XP. Even though scrollbar
arrows and thumb are in fact transparent, DrawThemeParentBackground() is not called to paint the
parent background, leaving the transparent area untouched. On Windows, even if the scrollbar arrows
are reported to be transparent, the bitmaps for arrow parts in the stock themes are in fact opaque.

Fix Ice Cream Calculator slow scrolling after 4cb229a because the WM_PRINTCLIENT handling in the
application is slow.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53337
dlls/comctl32/tests/misc.c
dlls/uxtheme/scrollbar.c