http://bugs.winehq.org/show_bug.cgi?id=30988
Bug #: 30988 Summary: Ragnarok download manager, when invoking wine-mono, needs gluezilla Product: Wine Version: 1.5.7 Platform: x86 URL: http://www.ragnarokeurope.com/includes/files/ROManager .exe OS/Version: Linux Status: NEW Keywords: download Severity: minor Priority: P2 Component: mscoree AssignedTo: wine-bugs@winehq.org ReportedBy: austinenglish@gmail.com Depends on: 30987 Classification: Unclassified
austin@laptop:~$ wine ROManager.exe fixme:win:EnumDisplayDevicesW ((null),0,0x32e1bc,0x00000000), stub! libgluezilla not found. To have webbrowser support, you need libgluezilla installed
Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object at System.Windows.Forms.WebBrowser.Navigate (System.Uri url) [0x00000] in <filename unknown>:0 at System.Windows.Forms.WebBrowser.set_Url (System.Uri value) [0x00000] in <filename unknown>:0 at (wrapper remoting-invoke-with-check) System.Windows.Forms.WebBrowser:set_Url (System.Uri) at FilesDownloader.MainForm.InitializeComponent () [0x00000] in <filename unknown>:0 at FilesDownloader.MainForm..ctor () [0x00000] in <filename unknown>:0 at (wrapper remoting-invoke-with-check) FilesDownloader.MainForm:.ctor () at FilesDownloader.Program.Main () [0x00000] in <filename unknown>:0 [ERROR] FATAL UNHANDLED EXCEPTION: System.NullReferenceException: Object reference not set to an instance of an object at System.Windows.Forms.WebBrowser.Navigate (System.Uri url) [0x00000] in <filename unknown>:0 at System.Windows.Forms.WebBrowser.set_Url (System.Uri value) [0x00000] in <filename unknown>:0 at (wrapper remoting-invoke-with-check) System.Windows.Forms.WebBrowser:set_Url (System.Uri) at FilesDownloader.MainForm.InitializeComponent () [0x00000] in <filename unknown>:0 at FilesDownloader.MainForm..ctor () [0x00000] in <filename unknown>:0 at (wrapper remoting-invoke-with-check) FilesDownloader.MainForm:.ctor ()
http://bugs.winehq.org/show_bug.cgi?id=30988
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |28682
http://bugs.winehq.org/show_bug.cgi?id=30988
Bug 30988 depends on bug 30987, which changed state.
Bug 30987 Summary: Ragnarok download manager needs native gdiplus http://bugs.winehq.org/show_bug.cgi?id=30987
What |Old Value |New Value ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
http://bugs.winehq.org/show_bug.cgi?id=30988
John thisisnotmyemail@mailinator.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |thisisnotmyemail@mailinator | |.com
--- Comment #1 from John thisisnotmyemail@mailinator.com 2012-08-27 13:59:25 CDT --- This bug also occurs with Sims 3 - purchased from Steam.
http://bugs.winehq.org/show_bug.cgi?id=30988
Roland Haeder roland@mxchange.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |roland@mxchange.org
--- Comment #2 from Roland Haeder roland@mxchange.org 2013-07-26 15:05:17 CDT --- This also happens to SimCity Societies: http://bugs.winehq.org/show_bug.cgi?id=33745
http://bugs.winehq.org/show_bug.cgi?id=30988
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com
--- Comment #3 from Dan Kegel dank@kegel.com 2013-07-29 11:28:53 CDT --- Also happens with Sims Medieval purchased from UPlay; winetricks dotnet40 works around it there. (dotnet20 is insufficient.)
http://bugs.winehq.org/show_bug.cgi?id=30988
GyB gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gyebro69@gmail.com
--- Comment #4 from GyB gyebro69@gmail.com --- The launcher for the strategy game Victoria 2 also hits this bug, it complains that it needs libgluezilla, and 'winetricks dotnet20' is sufficient to start the launcher application. This is when you start the game with 'victoria2.exe'. The demo for Victoria 2 doesn't contain the launcher, only v2game.exe, which doesn't require Mono/.Net
wine-1.7.8-114-g1928d61 Wine Mono 4.5.2
http://bugs.winehq.org/show_bug.cgi?id=30988
Robert Wm Ruedisueli ruediix@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ruediix@gmail.com
--- Comment #5 from Robert Wm Ruedisueli ruediix@gmail.com --- It is required for the Sims 3 launcher.
From what I can tell the Steam version cannot bypass the launcher because it
has trouble finding Steam for DRM verification unless it is a child process of Steam.
https://bugs.winehq.org/show_bug.cgi?id=30988
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |miguelsilva_3@hotmail.com
--- Comment #6 from Austin English austinenglish@gmail.com --- *** Bug 25851 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=30988
Hin-Tak Leung htl10@users.sourceforge.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |htl10@users.sourceforge.net
--- Comment #7 from Hin-Tak Leung htl10@users.sourceforge.net --- I am wondering about the winetricks dotnet40/winetricks dotnet20 part - do they imply winestricks ie7 or ie8 also? Because for my use, dotnet40/dotnet20 alone (without replacing wine-gecko with ie7/ie8 also) isn't enough.
https://bugs.winehq.org/show_bug.cgi?id=30988
--- Comment #8 from Austin English austinenglish@gmail.com --- (In reply to Hin-Tak Leung from comment #7)
I am wondering about the winetricks dotnet40/winetricks dotnet20 part - do they imply winestricks ie7 or ie8 also? Because for my use, dotnet40/dotnet20 alone (without replacing wine-gecko with ie7/ie8 also) isn't enough.
No, dotnet20/dotnet40 do not install native IE(7/8 or any other version).
https://bugs.winehq.org/show_bug.cgi?id=30988
Hin-Tak Leung htl10@users.sourceforge.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |40672
https://bugs.winehq.org/show_bug.cgi?id=30988
--- Comment #9 from Hin-Tak Leung htl10@users.sourceforge.net --- Argh, I am starting to remember - initially, all I knew was that for my purpose, it only works with the dotnet2 + ie8 combo - not with dotnet2 + ie7, nor dotnet2 + ie6 ( the last one is probably absurd, since dotnet2's system.windows.Forms.WebBrowser itself requires ie7 or something that pretends to be it) . I had a clean wineprefix for all of them, stock wine (i.e. wine-mono), dotnet2 plain, dotnet2 + ie6, + ie7, + ie8.
Then I worked out that it is because wine-gecko won't do xml + xslt on-the-fly transform (but it would open html's, just not xml + xslt), and I think somehow that was also the case for the dotnet2 + ie7 combo. So I think I need to file a bug against wine-gecko :-)...
Filed new https://bugs.winehq.org/show_bug.cgi?id=40672
https://bugs.winehq.org/show_bug.cgi?id=30988
--- Comment #10 from Hin-Tak Leung htl10@users.sourceforge.net --- Created attachment 54643 --> https://bugs.winehq.org/attachment.cgi?id=54643 Screen shot of win32 mono running System.Windows.Forms.WebBrowser using a webkit backend, instead of libgluezilla
Screen shot of win32 mono running System.Windows.Forms.WebBrowser using a webkit backend, instead of libgluezilla. Success! This is mono-webbrowser's own test case, running under win32 mono.
I have some success with win32 mono using webkit for System.Windows.Forms.WebBrowser . This was an unfinished alternative to libgluezilla , which the mono folk didn't quite finish apparently, but I just did, so I am issuing a pull:
https://github.com/mono/mono-webbrowser/pull/1
Under wine, I needed to grab about 40 dll's from my mingw32 stashes of dlls which win32 webkit depends on to get this to work... but at least it is working, mostly.
https://bugs.winehq.org/show_bug.cgi?id=30988
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |root@linkjay.io
--- Comment #11 from Anastasius Focht focht@gmx.net --- *** Bug 47058 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=30988
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|minor |normal Summary|Ragnarok download manager, |Multiple .NET applications |when invoking wine-mono, |using |needs gluezilla |System.Windows.Forms.WebBro | |wser crash with Wine-Mono | |(libgluezilla needed for | |Mono.WebBrowser/Mono.Mozill | |a support)(Ragnarok | |download manager, The Sims | |3 Launcher) CC| |focht@gmx.net
--- Comment #12 from Anastasius Focht focht@gmx.net --- Hello folks,
refining summary to collect more dupes here.
https://github.com/madewokherd/wine-mono
https://github.com/mono/mono/blob/d77c5b8/mcs/class/Mono.WebBrowser/Mono.Moz...
--- snip --- public static bool Init (WebBrowser control, Platform platform) { lock (initLock) { if (!initialized) {
Platform mozPlatform; try { short version = gluezilla_init (platform, out mozPlatform);
monoMozDir = System.IO.Path.Combine ( System.IO.Path.Combine ( Environment.GetFolderPath (Environment.SpecialFolder.LocalApplicationData), ".mono"), "mozilla-" + version);
if (!System.IO.Directory.Exists (monoMozDir)) System.IO.Directory.CreateDirectory (monoMozDir);
} catch (DllNotFoundException) { Console.WriteLine ("libgluezilla not found. To have webbrowser support, you need libgluezilla installed"); initialized = false; return false; } control.enginePlatform = mozPlatform; initialized = true; } } return initialized; } --- snip ---
Last comment:
https://github.com/madewokherd/wine-mono/issues/7
So what's the consensus here? What is the preferred method for Distros that don't even provide the package? An official statement for end users that want to use Wine-Mono (for whatever reasons) from Wine-Mono maintainers would be helpful. Does libgluezilla/Gecko backend still have a future?
$ wine --version wine-4.6-111-g0664b062c6
Regards
https://bugs.winehq.org/show_bug.cgi?id=30988
Jacek Caban jacek@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jacek@codeweavers.com
--- Comment #13 from Jacek Caban jacek@codeweavers.com --- wine-mono should use our WebBrowser control instead of gluezilla. I think it will be achieved by using MS open sourced WinForms: https://github.com/madewokherd/wine-mono/tree/winforms-wip
https://bugs.winehq.org/show_bug.cgi?id=30988
Vincent Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |madewokherd@gmail.com
--- Comment #14 from Vincent Povirk madewokherd@gmail.com --- I've decided to push this work to the master branch. It's able to load a web page, but due to Mono's lack of support for com-callable IDispatch wrappers, events on the WebBrowser control are not triggered yet.
If any adventurous souls choose to test this with winforms applications, let me know of any bugs.
https://bugs.winehq.org/show_bug.cgi?id=30988
--- Comment #15 from Hin-Tak Leung htl10@users.sourceforge.net --- libgluezilla is quite bit-rotten and unmaintained the last time I looked.
https://bugs.winehq.org/show_bug.cgi?id=30988
pattietreutel katyaberezyaka@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |katyaberezyaka@gmail.com