[Bug 50410] New: Changing window position/size programmatically does not work

WineHQ Bugzilla wine-bugs at winehq.org
Sun Dec 27 08:02:37 CST 2020


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

            Bug ID: 50410
           Summary: Changing window position/size programmatically does
                    not work
           Product: Wine
           Version: 6.0-rc4
          Hardware: x86-64
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: winex11.drv
          Assignee: wine-bugs at winehq.org
          Reporter: rafalh92 at outlook.com
      Distribution: ---

Created attachment 69031
  --> https://bugs.winehq.org/attachment.cgi?id=69031
sample-app

There is some regression in handling of window position/size changes from
WinApi e.g. using SetWindowPos or MoveWindow. I attached source code of a
simple app that does not work as expected for me in Wine 6.0-rc4. The same app
works correctly when run under Wine 5.12. I'm testing in Linux Mint 20 (Xorg).
>From my experiments (see sample app) it seems position/size set using
SetWindowPos or MoveWindow is ignored unless window is hidden or window style
is changed after window creation and SWP_SHOWWINDOW flag is not used.
I discovered the bug when using the windowed mode in the Dash Faction mod for
the Red Faction game. It regressed some time ago but unfortunately I don't know
exactly when.

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