Hi Damon,OK, so it seems that the problem is my end then. Hmm. So I went back to the demos (demo). I don't see the same problems there as I do in my application, but I do see that the demo window does not have the menu bar, the canvas "flashes" - meaning nothing is displayed when I move the cursor out of the window (see attached) - but the normal purple box is shown when I bring focus back to the window. Also there is text in the console:
$ ./demo Ink Extents: 1608,2760 87744x15856 Logical: 0,0 90152x19072 Ink Extents: 1608,2760 59152x15856 Logical: 0,0 61560x19072 Ink Extents: -48,3264 40920x12176 Logical: 0,0 41672x19072 Ink Extents: 1608,3264 57440x15352 Logical: 0,0 59848x19072 Ink Extents: 1608,2760 40272x12680 Logical: 0,0 42680x19072 Ink Extents: 1608,2760 70504x15856 Logical: 0,0 72912x19072** (demo:31813): WARNING **: 20:47:58.611: Could not find the toroid.png sample file
(demo:31813): GdkPixbuf-CRITICAL **: 20:47:58.627: gdk_pixbuf_get_width: assertion 'GDK_IS_PIXBUF (pixbuf)' failed
(demo:31813): GdkPixbuf-CRITICAL **: 20:47:58.627: gdk_pixbuf_get_height: assertion 'GDK_IS_PIXBUF (pixbuf)' failed
(demo:31813): Gtk-WARNING **: 20:47:58.759: drawing failure for widget 'GooCanvas': file not found
(demo:31813): Gtk-WARNING **: 20:47:58.759: drawing failure for widget 'GtkScrolledWindow': file not found
(demo:31813): Gtk-WARNING **: 20:47:58.759: drawing failure for widget 'GtkBox': file not found
(demo:31813): Gtk-WARNING **: 20:47:58.759: drawing failure for widget 'GtkNotebook': file not found
(demo:31813): Gtk-WARNING **: 20:47:58.759: drawing failure for widget 'GtkWindow': file not found
(demo:31813): Gtk-WARNING **: 20:47:58.825: drawing failure for widget 'GooCanvas': file not found
(demo:31813): Gtk-WARNING **: 20:47:58.825: drawing failure for widget 'GtkScrolledWindow': file not found
(etc... (it goes on)) Is that normal?(I am in the process of trying to write a stand-alone example program that demonstrates what I see.)
Thanks, Paul.p.s. You've always been helpful over the years that I've been using goocanvas, I very much appreciate your replies.
The vaccines being generated by Moderna/Pfizer and AstraZeneca (and probably all future vaccines) incorporate a mutation to stabilize the prefusion form of the spike protein called 2P. It's somewhere between possible and highly likely that this widget was used in the design (I would say more probable than not). So feel free to pat yourself on the back for your contribution to saving the world.
On 16/01/2021 08:14, damonachaplin gmail com wrote:
I haven't heard of any problems like that. If you want to send me/the list the code we can have a quick look. Damon On Sat, 2021-01-16 at 01:38 +0000, Paul Emsley via goocanvas-list wrote:Hi, (different topic, different thread) So I am porting my application to gtk3. I am having a problem with goocanvas. Perhaps this can best be described with screenshots. See that the Gtk2 dialog has text and the goocanvas correctly placed in the gtk container. In the Gtk3 version this is not the case. Also the dots have tooltips and can be clicked on the Gtk2 version, but the Gtk3 the tooltips are not displayed and the dots cannot be clicked. However, with some mousing around and clicking, the dialog acts as if a dot was clicked, so it seem that there is some sort of displacement between where the dots appear and where the canvas thinks they are/where then can be clicked. Is this a familiar issue? Thanks, Paul. _______________________________________________ goocanvas-list mailing list goocanvas-list gnome org https://mail.gnome.org/mailman/listinfo/goocanvas-list
Attachment:
Screenshot from 2021-01-17 20-48-55.png
Description: PNG image