[Bug 38527] New: Tab controls do not honor parent changes

wine-bugs at winehq.org wine-bugs at winehq.org
Sun May 3 10:45:29 CDT 2015


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 at winehq.org
          Reporter: pietro10 at 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.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list