[Bug 23940] SetWindowPos does not work for other wine processes
wine-bugs at winehq.org
wine-bugs at winehq.org
Sun Aug 8 11:39:20 CDT 2010
http://bugs.winehq.org/show_bug.cgi?id=23940
Dan Kegel <dank at kegel.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
CC| |dank at kegel.com
Ever Confirmed|0 |1
--- Comment #4 from Dan Kegel <dank at kegel.com> 2010-08-08 11:39:19 ---
It would be nice if the test case started the other process
itself, and was written in C, but I tried the python one anyway as follows:
sh winetricks python
cd .wine/drive_c/Python26
wine notepad &
cp ~/swpfail-testcase.py .
WINEDEBUG=+win,+relay wine python swpfail-testcase.py > log 2>&1
This shows
0024:Call
user32.SetWindowPos(00010052,00000000,00000000,00000000,000001f4,000001f4,00000016)
ret=1d1aaf5b
trace:win:SetWindowPos hwnd 0x10052, after (nil), 0,0 (500x500), flags 00000016
trace:win:dump_winpos_flags flags: SWP_NOMOVE SWP_NOZORDER SWP_NOACTIVATE
0024:Ret user32.SetWindowPos() retval=00000000 ret=1d1aaf5b
But a quick look at dlls/user32/winpos.c makes me think that it's
not currently supposed to work:
BOOL set_window_pos( HWND hwnd, HWND insert_after, UINT swp_flags,
const RECT *window_rect, const RECT *client_rect, const
RECT *valid_rects )
{
...
if (win == WND_DESKTOP || win == WND_OTHER_PROCESS) return FALSE;
--
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