https://bugs.winehq.org/show_bug.cgi?id=46813
Bug ID: 46813 Summary: Paint.net 4.1 installer fails: System.NotImplementedException: d:\src\pdn\src\systemlayer.native\direct2d1\d2deffect. cpp (75) : hr = m_pEffect->SetInputCount(inputCount); Product: Wine Version: 4.3 Hardware: x86 URL: https://dl1.filehippo.com/723e534156b54de4adbae2c05203 7fb4/paint.net.4.1.install.exe?ttl=1552236910&token=1d af4879a0c0e9f11076f852a2830137 OS: Linux Status: NEW Keywords: dotnet, download Severity: normal Priority: P2 Component: d2d Assignee: wine-bugs@winehq.org Reporter: xerox.xerox2000x@gmail.com Distribution: Debian
Created attachment 63837 --> https://bugs.winehq.org/attachment.cgi?id=63837 console output
Prerequisite: winetricks dotnet472 and uianimation patchset from Staging.
sha1sum ~/paint.net.4.1.install.exe b2b886c97532eb4c5eabf7e2fd888d61f4a9ae78 ~/paint.net.4.1.install.exe
The installer crashes with a error dialog:
See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text ************** System.NotImplementedException: d:\src\pdn\src\systemlayer.native\direct2d1\d2deffect.cpp (75) : hr = m_pEffect->SetInputCount(inputCount); (PaintDotNet.Controls.PdnBanner) at PaintDotNet.Interop.InteropErrorInfo.ThrowIfError() in D:\src\pdn\src\Base\Interop\InteropErrorInfo.cs:line 89 at PaintDotNet.SystemLayer.Native.x64.NativeUtilities.ThrowOnErrorImpl(Int32 hr, SByte* szHr, IUnknown* pFxErrorInfo) at PaintDotNet.SystemLayer.Native.x64.Direct2D1.D2DEffect.set_InputCount(Int32 value) at PaintDotNet.UI.Media.Effects.Effect.ApplyInputs(IServiceProvider services, IEffect d2dEffect, IReadOnlyList`1 inputs, Boolean invalidate) in D:\src\pdn\src\Framework\UI\Media\Effects\Effect.cs:line 49 at PaintDotNet.UI.Media.Effects.Effect.ApplyEffectProperty(IServiceProvider services, IEffect d2dEffect, DependencyProperty property) in D:\src\pdn\src\Framework\UI\Media\Effects\Effect.cs:line 110 at PaintDotNet.UI.Media.Effects.EffectProperty.EnumerateEffectProperties[TAction](Type ownerType, TAction& accumulator) in D:\src\pdn\src\Framework\UI\Media\Effects\EffectProperty.cs:line 79 at PaintDotNet.UI.Media.Effects.Effect.ApplyEffectProperties(IServiceProvider services, IEffect d2dEffect) in D:\src\pdn\src\Framework\UI\Media\Effects\Effect.cs:line 96 at PaintDotNet.UI.Media.Effects.Effect.CreateDirect2DResource(IServiceProvider services) in D:\src\pdn\src\Framework\UI\Media\Effects\Effect.cs:line 74 at PaintDotNet.ObjectModel.ResourceCache.GetCachedOrCreateResource(IResourceProvider resourceProvider, Type interfaceType) in D:\src\pdn\src\Base\ObjectModel\ResourceCache.cs:line 179 at PaintDotNet.ObjectModel.ResourceCacheExtensions.GetCachedOrCreateResource[TResource](IResourceCache resourceCache, IResourceProvider`1 resourceProvider) in D:\src\pdn\src\Base\ObjectModel\ResourceCacheExtensions.cs:line 17 at PaintDotNet.Direct2D1.DrawingContextExtensions.DrawImage(IDrawingContext
https://bugs.winehq.org/show_bug.cgi?id=46813
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4@web.de
--- Comment #1 from Fabian Maurer dark.shadow4@web.de --- Is this still relevant?
https://bugs.winehq.org/show_bug.cgi?id=46813
--- Comment #2 from Louis Lenders xerox.xerox2000x@gmail.com --- (In reply to Fabian Maurer from comment #1)
Is this still relevant?
I`ll test soon if I have some time.
Problem is I didn`t mention what _exact_ version here but I`ll see what I have lying around.
If I remember correctly the 4.0* installers succeeded after getting around the uianimation bug, but the 4.1* installers ran into unimplemented d2d1 issues like this one. Also the program itsself (4.0.* and up ) ran into various d2d1 unimplemented stuff IRC so long way to go before this gets running i guess...
https://bugs.winehq.org/show_bug.cgi?id=46813
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|https://dl1.filehippo.com/7 |https://www.filepuma.com/do |23e534156b54de4adbae2c05203 |wnload/paint.net_4.1.1-2007 |7fb4/paint.net.4.1.install. |0/ |exe?ttl=1552236910&token=1d | |af4879a0c0e9f11076f852a2830 | |137 |
--- Comment #3 from Louis Lenders xerox.xerox2000x@gmail.com --- Still present in current git.
The previous downloadlink gives an "insecure website" error so replace it with a link that exhibits this bug
https://bugs.winehq.org/show_bug.cgi?id=46813
FabStz fabstz-it@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fabstz-it@yahoo.fr
https://bugs.winehq.org/show_bug.cgi?id=46813
philip@waritschlager.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |philip@waritschlager.de
https://bugs.winehq.org/show_bug.cgi?id=46813
huntantr huntantr@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |huntantr@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=46813
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net URL|https://www.filepuma.com/do |https://web.archive.org/web |wnload/paint.net_4.1.1-2007 |/20201227152430/https://dow |0/ |nload.filepuma.com/files/im | |age-editors/paint-net/Paint | |.NET_v4.1.1.exe
--- Comment #4 from Anastasius Focht focht@gmx.net --- Hello folks,
confirming, still present.
Adding stable download via Internet Archive:
https://web.archive.org/web/20201227152430/https://download.filepuma.com/fil...
Wine source:
https://source.winehq.org/git/wine.git/blob/e377786a71c3b6eab5bc11c0b1c9c7c3...
--- snip --- 160 static HRESULT STDMETHODCALLTYPE d2d_effect_SetInputCount(ID2D1Effect *iface, UINT32 count) 161 { 162 FIXME("iface %p, count %u stub!\n", iface, count); 163 164 return E_NOTIMPL; 165 } --- snip ---
$ sha1sum Paint.NET_v4.1.1.exe b7150ac3defda52b75d3056a543032108de3f29e Paint.NET_v4.1.1.exe
$ du -sh Paint.NET_v4.1.1.exe 7.5M Paint.NET_v4.1.1.exe
$ wine --version wine-6.0-rc4-2-g4cdaa41b8b7
Regards
https://bugs.winehq.org/show_bug.cgi?id=46813
--- Comment #5 from Jactry Zeng jactry92@gmail.com --- d2d_effect_SetInputCount was implemented by commit a60e45b64b00ec7e5c9948fbde5410b7c8ece1ea, I think it would be worth retesting this again.
https://bugs.winehq.org/show_bug.cgi?id=46813
--- Comment #6 from Fabian Maurer dark.shadow4@web.de --- Retested with wine-staging 7.2 and native "dotnet472" I get
System.NotImplementedException: > d:\src\pdn\src\systemlayer.native\animation\uiatransitionlibrary.cpp (105) : hr = m_pTransitionLibrary->CreateLinearTransition( NativeConversions::ToNative(duration), finalValue, &spTransition); (PaintDotNet.Controls.PdnBanner)
at PaintDotNet.Interop.InteropErrorInfo.ThrowIfError() in > D:\src\pdn\src\Base\Interop\InteropErrorInfo.cs:line 89
https://bugs.winehq.org/show_bug.cgi?id=46813
--- Comment #7 from Jactry Zeng jactry92@gmail.com --- (In reply to Fabian Maurer from comment #6)
Retested with wine-staging 7.2 and native "dotnet472" I get
System.NotImplementedException: > d:\src\pdn\src\systemlayer.native\animation\uiatransitionlibrary.cpp (105) : hr = m_pTransitionLibrary->CreateLinearTransition( NativeConversions::ToNative(duration), finalValue, &spTransition); (PaintDotNet.Controls.PdnBanner)
at PaintDotNet.Interop.InteropErrorInfo.ThrowIfError() in > D:\src\pdn\src\Base\Interop\InteropErrorInfo.cs:line 89
Thanks for the test! This looks like a separated bug, because of the unimplemented IUIAnimationTransitionLibrary interface?
https://bugs.winehq.org/show_bug.cgi?id=46813
C. Leu kle@bluewin.ch changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |kle@bluewin.ch
--- Comment #8 from C. Leu kle@bluewin.ch --- I have looked briefly into this topic with Wine 9.8 and Wine Mono 9.1.0.
It seems that there are still some "Direct2D" related problems present. But most likely those are not identical to that one reported here.
Note, the also mentioned "IUIAnimationTransitionLibrary" errors are present for me only in later Paint.NET releases after 4.0.6. This corresponds to the .NET requirements. So while all 4.x builds until 4.0.6 are .NET 4.5 based, all later needed at least .NET 4.7 or higher.
For more information see bug 56662 and bug 46039.
https://bugs.winehq.org/show_bug.cgi?id=46813
--- Comment #9 from Nikolay Sivov bunglehead@gmail.com --- Personally I don't see much interest in fixing outdated version 4.x. For latest version, like I said before, we'll need effects working, and that's not a trivial thing to do.
https://bugs.winehq.org/show_bug.cgi?id=46813
--- Comment #10 from C. Leu kle@bluewin.ch --- @Nikolay Sivov
Yes, most likely its better to focus on newer versions of Paint.NET. But that doesn't have to be a contradiction because some additions and fixes for newer builds could also help the older ones. And something is telling me that those "Direct2D" related Paint.NET 4.x problems must be resolved to get the newer 5.x versions working. ;-)
Whatever, I think it's still useful to have the choice to select also older Paint.NET variants. For example, Paint.NET 3.5.11, the last of the 3.x series, is finally running almost perfectly fine thanks to some recently added features in Wine Mono 9.1.0. (See bug 55513 for more details).