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

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Mar 9 05:12:44 CDT 2015


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

            Bug ID: 38201
           Summary: Newly displayed dialogs have inactive-looking
                    decorations although are actually active
           Product: Wine
           Version: 1.7.38
          Hardware: x86
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: user32
          Assignee: wine-bugs at winehq.org
          Reporter: b7.10110111 at gmail.com
      Distribution: ---

Created attachment 50980
  --> https://bugs.winehq.org/attachment.cgi?id=50980
Screenshot of Windows (left) and Wine (right) MessageBox

If I uncheck "Allow the window manager to decorate the windows" in Graphics tab
of winecfg, or just set wine to show all its windows in a virtual desktop or
launch the apps like `wine explorer /desktop=a,1152x864 appname.exe`, their
windows often look as inactive (gray title bar) while they are actually active.
This is visible in particular in winecfg dialog, Mono/Gecko downloaders dialogs
on wine prefix update, as well as with a simple program like this:

#include <windows.h>
int main() { MessageBox(0,"Hello","Message",MB_OK); }

I've tested the code above in Wine and Windows XP, and in Windows it has
correct active title (blue-lightBlue gradient), while in wine it has inactive
title (gray-lightGray gradient).

If I make any other window active, then switch back to this one, it'll then
show the correct title colors.

The attachment compares Windows' MessageBox with that of Wine, both untouched
at the moment of screenshooting.

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