[Bug 39170] New: Creatures view window is rendered incorrectly when using WM decorations.

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Aug 28 23:53:16 CDT 2015


https://bugs.winehq.org/show_bug.cgi?id=39170

            Bug ID: 39170
           Summary: Creatures view window is rendered incorrectly when
                    using WM decorations.
           Product: Wine
           Version: 1.7.50
          Hardware: x86
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: winex11.drv
          Assignee: wine-bugs at winehq.org
          Reporter: rw92672685 at hotmail.com
      Distribution: ---

Created attachment 52202
  --> https://bugs.winehq.org/attachment.cgi?id=52202
The rendered windowed.

When running the 1996 MFC game Creatures, the Creature View pop-up window is
rendered incorrectly when Wine is configured to allow the window manager to
decorate windows. With the setting disabled, it is rendered correctly.

When rendered correctly, the Window should have a 128x96 client area.
Incorrectly, it has a client area of 134x121, which happens to be the exact
size of a corrected rendered window including its decorations.

To isolate the window manager out of it, I ran with decorations on both Fluxbox
and Unity which both experienced the bug.

Using NirSoft's WinExplorer on Windows, the following styles are activated on
this popup window; WS_DLGFRAME, WS_BORDER, WS_CLIPSIBLINS, WS_VISABLE,
WS_POPUP, and WS_EX_WINDOWEDGE. It's window class has the style of; CS_HREDRAW,
and CS_VREDRAW.

May be worth mentioning; the program make no use of AdjustWindowRect() due to
its age, instead seems to only use GetSystemMetrics() and NONCLIENTMETRICS.

Running the most recent Wine as of this writing, compiled from source, at
commit; 6056a3f1634a72e181fb3a03ca625aaa7720523e. Running Ubuntu amd64 15.04.

-- 
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