lytico
lytico
the problem seems to be in JavaScriptCore.Result as soon as its referenced, the programm crashes: test is Samples.WebviewSection generated Code in JavascriptResult (slightly changed for debugging): ``` public JavaScriptCore.Value JsValue...
can you try this example changing ``` private static readonly Matrix Mat = new Matrix {Yy = -1.0}; ``` to ``` private Matrix Mat => new Matrix {Yy = -1.0};...
implemented in mono-gtk-sharp in glue: https://github.com/mono/gtk-sharp/blob/master/gtk/glue/style.c and called in Style.cs like this: https://github.com/mono/gtk-sharp/blob/master/gtk/Style.cs
> Off-topic question: ... Where do these extra functions come from? the extra functions are generated by the programs in [Source/Tools/Tools.sln](https://github.com/GtkSharp/GtkSharp/tree/develop/Source/Tools) this tools take the source definitions of the libs-directories...
seems to be related somehow with https://developer.gnome.org/gio/stable/GApplication.html#g-application-id-is-valid
@zii-dmg thanks for working this out! this is Samples.Prograom with Startup / Activated / no Register / no Application.Quit / no Application.Run working: https://github.com/lytico/GtkSharp/blob/6acb4a3859ddb054a7b3fd9790c97ce0d8d494c5/Source/Samples/Program.cs
one drawback: i get (Samples:21420): Gtk-CRITICAL **: 15:54:40.971: gtk_main_quit: assertion 'main_loops != NULL' failed on closing any ideas?
oh oh overseen this! thanks, works now without warning: https://github.com/lytico/GtkSharp/blob/95f4c02c59339d8f8c22031a965b80572ae042c4/Source/Samples/Program.cs https://github.com/lytico/GtkSharp/blob/95f4c02c59339d8f8c22031a965b80572ae042c4/Source/Samples/MainWindow.cs
what do you propose: should i adjust Samples & Tempates to this pattern in sources? (see also: https://github.com/GtkSharp/GtkSharp/issues/219#issuecomment-826835828)
no, no plans for supporting net5. it should be migrated to net6 and, the TFM will be net6.0-Gkt (not linux! Gtk runs on more than linux)