[Bug 30988] Multiple .NET applications using System.Windows.Forms.WebBrowser crash with Wine-Mono (libgluezilla needed for Mono.WebBrowser/Mono.Mozilla support)( Ragnarok download manager, The Sims 3 Launcher)

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Apr 21 06:02:30 CDT 2019


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

Anastasius Focht <focht at 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 at gmx.net

--- Comment #12 from Anastasius Focht <focht at 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.Mozilla/Base.cs#L75

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

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