http://bugs.winehq.org/show_bug.cgi?id=30721
Bug #: 30721 Summary: .NET 3.x/4.x WPF based installers/apps require windowscodecs.dll BmpFrameDecode_GetColorContexts Product: Wine Version: 1.5.4 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: windowscodecs AssignedTo: wine-bugs@winehq.org ReportedBy: focht@gmx.net Classification: Unclassified
Hello,
another one ...
--- snip --- Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Windows.Markup.XamlParseException: Cannot convert string '/Microsoft.PowerShell.GPowerShell;component/NewFile.png' in attribute 'EnabledImageSource' to object of type 'System.Windows.Media.ImageSource'. The method or operation is not implemented. Error at object 'Microsoft.Windows.PowerShell.Gui.Internal.ImageButton' in markup file 'Microsoft.PowerShell.GPowerShell;component/mainwindow.xaml'. ---> System.NotImplementedException: The method or operation is not implemented. at MS.Internal.HRESULT.Check(Int32 hr) at System.Windows.Media.Imaging.BitmapFrameDecode.get_ColorContexts() at System.Windows.Media.Imaging.BitmapSource.CreateCachedBitmap(BitmapFrame frame, BitmapSourceSafeMILHandle wicSource, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption, BitmapPalette palette) at System.Windows.Media.Imaging.BitmapFrameDecode.FinalizeCreation() at System.Windows.Media.Imaging.BitmapFrameDecode..ctor(Int32 frameNumber, BitmapSourceSafeMILHandle sourceHandle, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption, BitmapDecoder decoder) at System.Windows.Media.Imaging.BitmapDecoder.SetupFrames(BitmapDecoder decoder, ReadOnlyCollection`1 frames) at System.Windows.Media.Imaging.BitmapDecoder.get_Frames() at System.Windows.Media.Imaging.BitmapFrame.CreateFromUriOrStream(Uri baseUri, Uri uri, Stream stream, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption) at System.Windows.Media.ImageSourceConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value) at System.ComponentModel.TypeConverter.ConvertFromString(ITypeDescriptorContext context, CultureInfo culture, String text) ... --- snip ---
$ wine --version wine-1.5.4-185-g6c51c1b
Regards
http://bugs.winehq.org/show_bug.cgi?id=30721
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |dotnet
http://bugs.winehq.org/show_bug.cgi?id=30721
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://research.microsoft.c | |om/en-us/um/redmond/project | |s/songsmith/download.html
--- Comment #1 from Anastasius Focht focht@gmx.net 2012-07-02 14:25:40 CDT --- Hello,
"SongSmith 1.0.2" is also affected by that insufficiency.
Exception info:
--- snip --- Exception object: 00acb160 Exception type: System.NotImplementedException Message: The method or operation is not implemented. InnerException: <none> StackTrace (generated): <none> StackTraceString: <none> HResult: 80004001 --- snip ---
CLR stack:
--- snip --- OS Thread Id: 0x2b (0) ESP EIP 0033da8c 7b83953f [HelperMethodFrame: 0033da8c] 0033db30 53c57cdc MS.Internal.HRESULT.Check(Int32) 0033db34 5395a241 System.Windows.Media.Imaging.BitmapFrameDecode.get_ColorContexts() 0033dba4 53959c4c System.Windows.Media.Imaging.BitmapSource.CreateCachedBitmap(System.Windows.Media.Imaging.BitmapFrame, System.Windows.Media.Imaging.BitmapSourceSafeMILHandle, System.Windows.Media.Imaging.BitmapCreateOptions, System.Windows.Media.Imaging.BitmapCacheOption, System.Windows.Media.Imaging.BitmapPalette) 0033dc68 53958cfc System.Windows.Media.Imaging.BitmapFrameDecode.FinalizeCreation() 0033dc98 53957c81 System.Windows.Media.Imaging.BitmapFrameDecode..ctor(Int32, System.Windows.Media.Imaging.BitmapSourceSafeMILHandle, System.Windows.Media.Imaging.BitmapCreateOptions, System.Windows.Media.Imaging.BitmapCacheOption, System.Windows.Media.Imaging.BitmapDecoder) 0033dcbc 53957b65 System.Windows.Media.Imaging.BitmapDecoder.SetupFrames(System.Windows.Media.Imaging.BitmapDecoder, System.Collections.ObjectModel.ReadOnlyCollection`1<System.Windows.Media.Imaging.BitmapFrame>) 0033dcdc 53957a71 System.Windows.Media.Imaging.BitmapDecoder.get_Frames() --- snip ---
Code:
http://source.winehq.org/git/wine.git/blob/2785e905bc568d79e56e7505eb724f8f8...
--- snip --- 335 static HRESULT WINAPI BmpFrameDecode_GetColorContexts(IWICBitmapFrameDecode *iface, 336 UINT cCount, IWICColorContext **ppIColorContexts, UINT *pcActualCount) 337 { 338 TRACE("(%p,%u,%p,%p)\n", iface, cCount, ppIColorContexts, pcActualCount); 339 return WINCODEC_ERR_UNSUPPORTEDOPERATION; 340 } --- snip ---
$ du -sh SongsmithSetup.1.02.msi 99M SongsmithSetup.1.02.msi
$ sha1sum SongsmithSetup.1.02.msi fa6d5d889f37d369d61ec5c49dfb7f8d9932eb09 SongsmithSetup.1.02.msi
$ wine --version wine-1.5.7-309-gb4da889
Regards
http://bugs.winehq.org/show_bug.cgi?id=30721
--- Comment #2 from Vincent Povirk madewokherd@gmail.com 2012-09-25 16:19:25 CDT --- I'm getting the same results in my testing on Windows - GetColorContexts for a BMP frame returns WINCODEC_ERR_UNSUPPORTEDOPERATION.
The PNG decoder succeeds and returns 0 contexts for all the images I've tried. Maybe WPA has some builtin knowledge of which decoders implement this?
http://bugs.winehq.org/show_bug.cgi?id=30721
--- Comment #3 from Daniel Jelinski djelinski1@gmail.com 2012-09-26 02:23:17 CDT --- Hello Vincent, I did some digging and found that: - IWICColorContext mentions EXIF - looking for EXIF color profiles I found this page: http://www.color.org/profile_embedding.xalter it describes quite a lot of formats, which, supposedly, can implement color profiles. - the PNG link on that page leads to another which mentions iCCP chunk: http://www.w3.org/TR/PNG/#11iCCP - googling PNG ICCP i found this page: http://www.libpng.org/pub/png/colorcube/colorcube-pngs-iCCP.html I guess that the PNGs there will have some color contexts. Could you check?
http://bugs.winehq.org/show_bug.cgi?id=30721
--- Comment #4 from Vincent Povirk madewokherd@gmail.com 2012-09-26 09:57:24 CDT --- Yep, WIC on Windows returns a color context for at least one of the icons.
http://bugs.winehq.org/show_bug.cgi?id=30721
swdevelop1981@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |swdevelop1981@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=30721
Jaro jaromir@mailinator.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jaromir@mailinator.com
--- Comment #5 from Jaro jaromir@mailinator.com --- Still undone
wine 1.7.32
https://bugs.winehq.org/show_bug.cgi?id=30721
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |ABANDONED URL|http://research.microsoft.c |https://web.archive.org/web |om/en-us/um/redmond/project |/20140527161718/http://down |s/songsmith/download.html |load.microsoft.com/download | |/C/8/4/C84204D1-16E2-4F50-8 | |964-E87FBE9B51B4/SongsmithS | |etup.1.02.msi
--- Comment #6 from Anastasius Focht focht@gmx.net --- Hello folks,
replacing link with a more stable one from Internet archive.
I can't reproduce the problem neither with PowerShell v1/v2 (comment #0) and/or SongSmith 1.02 - even with old versions such as Wine 1.6, 1.7.x (although nothing was changed in that area). One has to be careful to use only WINEPREFIXes created by Wine versions to test against. I've encountered numerous 'downgrade' incompatibilities that cause prefix updates to fail or apps hanging in endless loops (for instance ProgramData env expansion).
With no actual test case present I resolve as 'abandoned' here. You are free to reopen to continue to work on it if you feel its worth.
Regards
https://bugs.winehq.org/show_bug.cgi?id=30721
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Austin English austinenglish@gmail.com --- Closing.