Probable malfunction in HdyLeaflet window
Hello, Look, I can sometimes see a small malfunction (bug) both in the handy-demo and in my own test application.
The HdyLeaflet window misbehaves if the window has a certain size (or edging close to that size). Please take a look at the attached screencast.
Version of my libhandy is:
$ apt-cache show libhandy-0.0-dev
Package: libhandy-0.0-dev
Architecture: Ubuntu amd64
Version: 0.0.9-1
Source: libhandy
Origin: Ubuntu
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
$ dpkg -l | egrep "libhandy|libgtk-3|libglib"
ii libglib2.0-dev:amd64 2.60.0-1 amd64 Development files for the GLib library
ii libgtk-3-dev:amd64 3.24.8-1ubuntu1 amd64 development files for the GTK+ library
ii libhandy-0.0-0:amd64 0.0.9-1 amd64 A handy library
$ lsb_release -a
Distributor ID: Ubuntu, Ubuntu Disco Dingo (development branch)
Release: 19.04
Codename: disco
EDIT: It seems to go into an eternal loop. At least the header-bar and its buttons start flashing rapidly. Sometimes it prints these messages:
(handy-demo:10887): Gtk-CRITICAL: 09:05:23.290: gtk_widget_draw: assertion ‘!widget->priv->alloc_needed’ failed,
Or in my application, it prints:
(gnome-radio:20873): Gtk-WARNING : 13:29:44.830: Negative content width -19 (allocation 5, extents 12x12) while allocating gadget (node label, owner GtkLabel)
radio_window_notify_fold_cb()
radio_window_notify_fold_cb()
...
...
radio_window_notify_fold_cb()
and
(gnome-radio:25390): Gtk-WARNING : 14:20:33.180: Negative content width -4 (allocation 20, extents 12x12) while allocating gadget (node label, owner GtkLabel)
I tested and compiled the latest code from https://source.puri.sm/Librem5/libhandy
I am just learning Libhandy: https://discourse.gnome.org/t/libhandy-click-event-on-gtkstacksidebar-item-selecting-same-page-twice-subsequently/753/5?u=osmo_antero
Screencast attached. Screencast_2019-04-12_21_25_05