Open dafrito opened 5 years ago
I get this error on xubuntu 18.04... gtk-sharp2: Installed: 2.12.45-0xamarin14+ubuntu1804b1 Mono JIT compiler version 5.18.1.3 Just to spell out the workaround...
_nodeView = new NodeView();
_nodeView.NodeStore = nodeStore;
NB: I am also experiencing issue #267 "NodeView.NodeStore setter not changing underlying field"
Steps to Reproduce
Follow the steps in https://www.mono-project.com/docs/gui/gtksharp/widgets/nodeview-tutorial/
Short version:
Current Behavior
If the constructor is used to set the NodeStore, no values appear.
If the NodeStore property is used to set the NodeStore, the values appear as in the demo.
Expected Behavior
The constructor should behave the same as the NodeStore property.
On which platforms did you notice this
[ ] macOS [X] Linux [ ] Windows
Version Used:
Mono JIT compiler version 4.8.0 (Stable 4.8.0.520/8f6d0f6 Thu Jun 7 07:23:56 UTC 2018) Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com TLS: __thread SIGSEGV: normal Notifications: epoll Architecture: amd64 Disabled: none Misc: softdebug LLVM: supported, not enabled. GC: sgen
$ dnf info gtk-sharp2 Last metadata expiration check: 0:00:24 ago on Fri 16 Nov 2018 09:28:43 PM CST. Installed Packages Name : gtk-sharp2 Version : 2.12.45 Release : 4.fc28 Arch : x86_64 Size : 2.8 M Source : gtk-sharp2-2.12.45-4.fc28.src.rpm Repo : @System From repo : fedora Summary : GTK+ and GNOME bindings for Mono URL : http://www.mono-project.com/GtkSharp License : LGPLv2+ Description : This package provides a library that allows you to build : fully native graphical GNOME applications using Mono. Gtk# : is a binding to GTK+, the cross platform user interface : toolkit used in GNOME. It includes bindings for Gtk, Atk, : Pango, Gdk.
Stacktrace
N/A