[Bug 38201] Newly displayed dialogs have inactive-looking decorations although are actually active

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Mar 9 12:01:02 CDT 2015


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

Ruslan Kabatsayev <b7.10110111 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #50982|0                           |1
        is obsolete|                            |

--- Comment #2 from Ruslan Kabatsayev <b7.10110111 at gmail.com> ---
Created attachment 50991
  --> https://bugs.winehq.org/attachment.cgi?id=50991
Updated test case with more debug messages

It appears that in Windows SetFocus called on a not yet showed window makes its
root ancestor the foreground window. On windows, its output is [1], with the
following relevant pieces:

Window created; hwnd=0x000500d6, hEdit=0x00090132
...
msg=0x00000086,wP=0x00000001,lP=0x00000000 (WM_NCACTIVATE)
...
Focus set
Foreground window now: 0x000500d6

On wine, however, its output is [2], with the relevant pieces different:

Window created; hwnd=0x00010046, hEdit=0x0001004c
...
msg=0x00000086,wP=0x00000000,lP=0x00000000 (WM_NCACTIVATE)
...
Focus set
Foreground window now: 0x00010020

I.e. there's a discrepancy between behavior of Wine's implementation of
SetFocus() and Windows' one.

[1]: http://pastebin.com/eesSALFj
[2]: http://pastebin.com/beKk60jN

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