[Bug 44574] Microsoft Office 2013 client area is rendered black (Direct2D)

WineHQ Bugzilla wine-bugs at winehq.org
Sun Dec 27 14:45:54 CST 2020


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

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |focht at gmx.net
            Summary|Wine 3.1 - Office 2013      |Microsoft Office 2013
                   |starts with a black screen! |client area is rendered
                   |                            |black (Direct2D)
             Status|REOPENED                    |RESOLVED
         Resolution|---                         |FIXED
      Fixed by SHA1|                            |0ab71185034a065d1e6161b7226
                   |                            |292c2e4ef4c70

--- Comment #13 from Anastasius Focht <focht at gmx.net> ---
Hello folks,

with Wine 3.19 release, the client area started to render properly hence I
assume Nikolay in comment #12 was already referring to the following commits
that ought to fix this.

--- snip ---
$ git log --pretty=format:"%h %an %ad%n%s%n" wine-3.18...wine-3.19 -- dlls/d2d1

926d98ef857 Nikolay Sivov Thu Oct 25 16:36:50 2018 +0300
d2d1: Add ID2D1Factory2 stub.

7ef66068f21 Nikolay Sivov Tue Oct 23 12:18:42 2018 +0330
d2d1: Implement d2d_device_context_ID2D1DeviceContext_DrawGlyphRun().

0ab71185034 Nikolay Sivov Thu Oct 18 16:19:28 2018 +0300
d2d1: Return S_OK from d2d_effect_SetValue().

48bcae100ee Nikolay Sivov Thu Oct 18 16:19:27 2018 +0300
d2d1: Return S_OK from RegisterEffectFromString().

e55aca8f498 Daniel Ansorregui Mon Oct 15 20:17:15 2018 +0100
d2d1: Use default NULL argument in SetBlendState call.
--- snip ---

Unfortunately none of the commits mention a specific bug so I had to waste a
bit of time to check on their impact each.

With Wine 3.18 the whole client area was rendered black and the console was
spammed with following relevant console FIXMEs:

--- snip ---
0061:fixme:d2d:d2d_factory_RegisterEffectFromString iface 0x6375f068, effect_id
{f82ea997-8fa9-490a-8493-5bc0b3a640b7}, property_xml L"<?xml
version='1.0'?><Effect> <Property name='DisplayName' type='string'
value='AirSpace Blend Effect'/> <Property name='Author' type='string'
value='Microsoft Corporation'/> <Property name='Category' type='string'
value='Internal'/> <Property name='Description' type='string' value='AirSpace
blend ef"..., bindings 0x2c6ac98, binding_count 1, effect_factory 0x28e05af
stub!
--- snip ---

*
https://source.winehq.org/git/wine.git/commitdiff/48bcae100eea82ce0199c40d3712e25a9cb54d81
("d2d1: Return S_OK from RegisterEffectFromString().")

Client area renders fine but no UI interaction possible. Text boxes (bounding
rectangles) are not drawn and as soon as the document is clicked/resized, the
client area is rendered black again.

*
https://source.winehq.org/git/wine.git/commitdiff/0ab71185034a065d1e6161b7226292c2e4ef4c70
("d2d1: Return S_OK from d2d_effect_SetValue().")

UI interaction now possible, including menu selection, window resize etc. Text
boxes (bounding rectangles) are drawn. Mouse cursor/shape remains invisible.

The mouse cursor became visible with non-Direct2D commit but dxgi:

*
https://source.winehq.org/git/wine.git/commitdiff/2ea796ad71d81503b5e84bc248080857f06d0962
("dxgi: Support IID_IDXGIDevice in dxgi_adapter_CheckInterfaceSupport().")

All part of Wine 3.19 release.

Resolving 'FIXED'.

$ wine --version
wine-6.0-rc4

Regards

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