[Bug 14852] New: SetWindowPos, when called on Mac, moves the window even if SWP_NOMOVE is specified

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Aug 13 05:55:28 CDT 2008


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 at winehq.org
        ReportedBy: moe at 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.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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