[Bug 10627] New: child window position is not updated

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Dec 1 09:36:58 CST 2007


http://bugs.winehq.org/show_bug.cgi?id=10627

           Summary: child window position is not updated
           Product: Wine
           Version: 0.9.50.
          Platform: PC
        OS/Version: other
            Status: UNCONFIRMED
          Severity: major
          Priority: P2
         Component: wine-user
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: dmda at yandex.ru


A popup window appears with content placed in wrong offset.

See logs below I grabbed from an application:

Popup window created:
trace:win:WIN_CreateWindowEx (null) L"TEditPopup" ex=00000080 style=42040000
445,332 425x164 parent=0x10254 menu=0x0 inst=0x400000 params=0x0
trace:win:dump_window_styles style: WS_CHILD WS_CLIPCHILDREN WS_THICKFRAME
trace:win:dump_window_styles exstyle: WS_EX_TOOLWINDOW
trace:win:WIN_SetWindowLong 0x10270 -12 0 W
trace:win:GetWindowRect hwnd 0x10270 (803,536)-(1228,700)


Its content created:

trace:win:WIN_CreateWindowEx (null) L"TVirtualStringTree" ex=00000000
style=46310000 0,0 423x143 parent=0x10270 menu=0x0 inst=0x400000 params=0x0
trace:win:dump_window_styles style: WS_CHILD WS_CLIPSIBLINGS WS_CLIPCHILDREN
WS_VSCROLL WS_HSCROLL WS_TABSTOP
trace:win:dump_window_styles exstyle:
trace:win:WIN_SetWindowLong 0x10272 -12 0 W
trace:win:WIN_SetWindowLong 0x10272 -4 2320726 A
trace:win:alloc_winproc allocated 0xffff017b for A 0x2320726 (380/8192 used)
trace:win:WIN_SetWindowLong 0x10272 -12 10272 A
trace:win:GetWindowRect hwnd 0x10272 (804,537)-(1227,680)



Position of the popup window is updated and SWP_SHOWWINDOW is requested:

trace:win:SetWindowPos hwnd 0x10270, after 0xffffffff, 445,332 (425x164), flags
00000050
trace:win:dump_winpos_flags flags: SWP_NOACTIVATE SWP_SHOWWINDOW
trace:win:GetWindowRect hwnd 0x10270 (445,332)-(870,496)


Position of child window remained the same:
trace:win:GetWindowRect hwnd 0x10272 (804,537)-(1227,680)

full log is attached and four points listed above are marked in it.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list