[Bug 30721] New: .NET 3.x/4.x WPF based installers/apps require windowscodecs.dll BmpFrameDecode_GetColorContexts
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(a)winehq.org ReportedBy: focht(a)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 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=30721 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |dotnet -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=30721 Anastasius Focht <focht(a)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(a)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 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=30721 --- Comment #2 from Vincent Povirk <madewokherd(a)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? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=30721 --- Comment #3 from Daniel Jelinski <djelinski1(a)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? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=30721 --- Comment #4 from Vincent Povirk <madewokherd(a)gmail.com> 2012-09-26 09:57:24 CDT --- Yep, WIC on Windows returns a color context for at least one of the icons. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=30721 swdevelop1981(a)gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |swdevelop1981(a)gmail.com -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
https://bugs.winehq.org/show_bug.cgi?id=30721 Jaro <jaromir(a)mailinator.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jaromir(a)mailinator.com --- Comment #5 from Jaro <jaromir(a)mailinator.com> --- Still undone wine 1.7.32 -- 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.
https://bugs.winehq.org/show_bug.cgi?id=30721 Anastasius Focht <focht(a)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(a)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 -- 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.
https://bugs.winehq.org/show_bug.cgi?id=30721 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #7 from Austin English <austinenglish(a)gmail.com> --- Closing. -- 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.
participants (1)
-
wine-bugs@winehq.org