[Bug 13886] In wordpad focus is killed after unminimizing the window

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Jun 14 01:44:38 CDT 2008


http://bugs.winehq.org/show_bug.cgi?id=13886





--- Comment #6 from Dylan Smith <dylan.ah.smith at gmail.com>  2008-06-14 01:44:38 ---
Created an attachment (id=13989)
 --> (http://bugs.winehq.org/attachment.cgi?id=13989)
Workaround fix that makes wordpad work like notepad regarding this issue

Well here is the workaround fix for this bug.  It has wordpad handle this
situation like notepad, but this really only masks the problem.

This appears to be a user32 issue, and I am not familiar with that code.  Could
someone else make a test that will catch this bug, and either create a new bug
report that identifies the problem more precisely or fix the bug.

It appears as if user32/winpos.c:show_window() is significant, since the call
to SetWindowPos at line 1051 causes the WM_ACTIVATE message to be sent to the
main window, and the focus is changed back to the window at the end of the
function (line 1100) with a call to SetFocus.


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