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@winehq.org ReportedBy: dmda@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.
http://bugs.winehq.org/show_bug.cgi?id=10627
--- Comment #1 from jvlad dmda@yandex.ru 2007-12-01 09:40:25 --- Created an attachment (id=9433) --> (http://bugs.winehq.org/attachment.cgi?id=9433) full log
full log is attached and four points referred in the report are marked.
http://bugs.winehq.org/show_bug.cgi?id=10627
Lei Zhang thestig@google.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|major |normal
--- Comment #2 from Lei Zhang thestig@google.com 2007-12-01 13:36:30 --- What application are you running? How about a screenshot so we can see what's wrong.
http://bugs.winehq.org/show_bug.cgi?id=10627
--- Comment #3 from Jesse D Bacon jessebacon@gmail.com 2007-12-01 20:46:31 --- Created an attachment (id=9445) --> (http://bugs.winehq.org/attachment.cgi?id=9445) This is what the "code complete" window should look like
http://bugs.winehq.org/show_bug.cgi?id=10627
--- Comment #4 from Jesse D Bacon jessebacon@gmail.com 2007-12-01 20:47:57 --- Created an attachment (id=9446) --> (http://bugs.winehq.org/attachment.cgi?id=9446) This is what it actually looks like
http://bugs.winehq.org/show_bug.cgi?id=10627
Jesse D Bacon jessebacon@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jessebacon@gmail.com
--- Comment #5 from Jesse D Bacon jessebacon@gmail.com 2007-12-01 20:48:50 --- I am familiar with this issue though I did not create this report. The component in question is a "code complete" popup. I have attached two images: What it is supposed to look like and what it really looks like. When the popup initially shows the list inside is offset. If you manually resize the popup, then everything straightens out, but it does not persist. The log attached uses the "win" debug channel. You can see that the TEditipopup is created fine (parent) as well as the TVirtualStringList (child), but when the parent is repositioned then the child is not updated. The app is a new one (I maintain it): Nusphere PHPEd
http://appdb.winehq.org/objectManager.php?sClass=application&iId=6208
http://bugs.winehq.org/show_bug.cgi?id=10627
--- Comment #6 from Jesse D Bacon jessebacon@gmail.com 2007-12-01 20:57:59 --- Created an attachment (id=9447) --> (http://bugs.winehq.org/attachment.cgi?id=9447) This image shows the offset
I have included this shot so that you can see clearly the offset that is occurring. I can usually get this to be visible if the application is full screen.
http://bugs.winehq.org/show_bug.cgi?id=10627
Randy Casburn randy@randycasburn.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |randy@randycasburn.com
--- Comment #7 from Randy Casburn randy@randycasburn.com 2007-12-02 09:46:34 --- I would like to confirm this problem description while using: 0.9.49 on Ubuntu Gutsy 7.10. The problem is identical on this platform.
http://bugs.winehq.org/show_bug.cgi?id=10627
Lei Zhang thestig@google.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #8 from Lei Zhang thestig@google.com 2007-12-02 10:54:58 --- Ok, confirming the bug.
http://bugs.winehq.org/show_bug.cgi?id=10627
--- Comment #9 from Jesse D Bacon jessebacon@gmail.com 2007-12-02 11:12:27 --- (In reply to comment #8)
Ok, confirming the bug.
Thanks. Could you also change this version of wine to reflect 0.9.49. The individual that created the report assumed it was 0.9.50. Thanks!
http://bugs.winehq.org/show_bug.cgi?id=10627
--- Comment #10 from Jesse D Bacon jessebacon@gmail.com 2007-12-02 11:51:30 --- (In reply to comment #9)
(In reply to comment #8)
Ok, confirming the bug.
Thanks. Could you also change this version of wine to reflect 0.9.49. The individual that created the report assumed it was 0.9.50. Thanks!
Actually, I just checked. Its in 0.9.50 as well.
http://bugs.winehq.org/show_bug.cgi?id=10627
Martin Klapetek martin.klapetek@post.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |martin.klapetek@post.cz
--- Comment #11 from Martin Klapetek martin.klapetek@post.cz 2008-03-05 09:11:33 --- I confirming that this bug is also on Fedora 8 with Wine 0.9.56 and PhpEd build 5231
http://bugs.winehq.org/show_bug.cgi?id=10627
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #12 from Alexandre Julliard julliard@winehq.org 2008-05-08 04:52:41 --- The bug is that the client rectangle returned in WM_NCCALCSIZE is in screen coordinates. This is fixed by 5714c4deee6f3c0cc30098d056fa4ce39a333878.
http://bugs.winehq.org/show_bug.cgi?id=10627
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #13 from Alexandre Julliard julliard@winehq.org 2008-05-09 12:54:48 --- Closing bugs fixed in 1.0-rc1.