https://bugs.winehq.org/show_bug.cgi?id=38527
Bug ID: 38527 Summary: Tab controls do not honor parent changes Product: Wine Version: 1.7.34 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: comctl32 Assignee: wine-bugs@winehq.org Reporter: pietro10@mac.com Distribution: ---
Created attachment 51397 --> https://bugs.winehq.org/attachment.cgi?id=51397 Test program source code
Currently the wine implementation of the comctl32 tab control gets its parent window once and caches it. While it's true that on real Windows some controls do this, the tab control is not one of them in my tests.
The attached program is an example test. It creates two windows, an empty window and a full window. It then creates a tab control on the empty window, changes its parent to the full window, adds a few pages, and shows both windows. If you click on a tab to change pages, you should see a message on stdout telling you which parent window received the TCN_SELCHANGE notification.
On real Windows, both with Common Controls v5 and v6, I see
notification received on full window
On wine, I see
notification received on empty winddow
(The test program does no error checking. By default it runs with Common Controls 5; with the first argument set to comctl6 it will run with Common Controls 6.)
This is wine-1.7.34 built from source, Windows XP 32-bit, and Windows 7 64-bit.
Thanks.
https://bugs.winehq.org/show_bug.cgi?id=38527
--- Comment #1 from Pietro Gagliardi (andlabs) pietro10@mac.com --- Created attachment 51398 --> https://bugs.winehq.org/attachment.cgi?id=51398 Test program 32-bit executable
https://bugs.winehq.org/show_bug.cgi?id=38527
--- Comment #2 from Nikolay Sivov bunglehead@gmail.com --- Sounds like a duplicate of bug 33235.
https://bugs.winehq.org/show_bug.cgi?id=38527
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source, testcase
https://bugs.winehq.org/show_bug.cgi?id=38527
--- Comment #3 from Pietro Gagliardi (andlabs) pietro10@mac.com --- Right, it is a duplicate; sorry for that. At a cursory glance, that bug seems to have been derailed, though... might be worth looking into figuring out what to do about the later comments?
https://bugs.winehq.org/show_bug.cgi?id=38527
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx@gmail.com, | |winetest@luukku.com