http://bugs.winehq.org/show_bug.cgi?id=14852
Summary: SetWindowPos, when called on Mac, moves the window even if SWP_NOMOVE is specified Product: Wine Version: 1.0.0 Platform: Macintosh OS/Version: Mac OS X 10.5 Status: UNCONFIRMED Severity: major Priority: P2 Component: user32 AssignedTo: wine-bugs@winehq.org ReportedBy: moe@hup.de
The following bug was found in the current stable version of wine when executed on Mac OS X with latest X11. The unstable testing versions also seem to contain it.
Our old windowing framework (zApp) calles DrawMenubar() after you've done modifications to the menu of an application.
DrawMenubar() itself calles
SetWindowPos( hWnd, 0, 0, 0, 0, 0, SWP_NOSIZE | SWP_NOMOVE | SWP_NOACTIVATE | SWP_NOZORDER | SWP_FRAMECHANGED );
This call moves the window approximately by the height of the title bar to the bottom.
If you omit the SWP_NOSIZE flag, the window is moved to 0,0 - if you enable it, the window is just moved down.
I gave this bug a major severtity as this effects nearly all of our applications. You can test it by just calling the SetWindowPos line above.
http://bugs.winehq.org/show_bug.cgi?id=14852
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |testcase
http://bugs.winehq.org/show_bug.cgi?id=14852
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |DUPLICATE
--- Comment #1 from Dmitry Timoshkov dmitry@codeweavers.com 2008-08-13 10:44:36 --- Duplicate. See http://bugs.winehq.org/show_bug.cgi?id=12431#c33 for details.
*** This bug has been marked as a duplicate of bug 12431 ***
http://bugs.winehq.org/show_bug.cgi?id=14852
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #2 from Dmitry Timoshkov dmitry@codeweavers.com 2008-08-13 10:44:52 --- Closing dup.
http://bugs.winehq.org/show_bug.cgi?id=14852
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Platform|Macintosh |PC
http://bugs.winehq.org/show_bug.cgi?id=14852
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- OS/Version|Mac OS X 10.5 |Mac OS X