[Bug 44055] Multiple applications fail to run in Win7+ mode, requiring DWM composition API support to be enabled (Aero Glass, transparent windows)(Affinity Designer 1.x, Electron-based apps using isAeroGlassEnabled API)

WineHQ Bugzilla wine-bugs at winehq.org
Wed May 13 10:40:05 CDT 2020


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

--- Comment #20 from Zebediah Figura <z.figura12 at gmail.com> ---
(In reply to Louis Lenders from comment #18)
> (In reply to Zebediah Figura from comment #17)
> > Do we really need a UI option in winecfg for this?
> > 
> 
> At least in Win7 AFAIK user can enable/disbale DWM; also enabling might run
> into other unimplemented dwmapi stuff i guess, so user can easily disable it
> again if apps start to crash, that was the thought behind it

That would make sense if DWM actually did anything in Wine, but it probably
never will, and as it is it's a way of working around this bug.

> > Also, is this particularly hard to fix the right way? In fact, given
> > 6719bf2e03, I don't think you even need to manually query the activation
> > context.
> 
> I think i lost you here what is 6719bf2e03(?). 
> I`ve seen a few attempts on wine-devel to fix this if i remember correctly,
> but none of them made it in, so i don`t know if it`s so easy to fix. If
> easy, hopefully someone picks this up then.

[1], see also [2]. If DwmIsCompositionEnabled() should check for Windows 8 in
the manifest, then I think you'd just need to call GetVersion() and check for 8
or higher.

Though as I examine more closely, 6719bf2e03 checks for 8.1, not 8, so the
manifest check may be necessary after all. Still, it should be relatively quite
easy.

[1] https://source.winehq.org/git/wine.git/commitdiff/6719bf2e03

[2] https://www.winehq.org/pipermail/wine-devel/2019-October/152433.html

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