
this file is intended to memorize known bugs and quirks that are not
directly GUBI related, as well as some so thought strange programming
efforts in the generated source.
some of them are already fixed by patches, or can be prevented by
workarounds.


gbuild.c:
-	gtk_menu_item_set_submenu() and gtk_option_menu_set_menu() don't
	work in the normal tree manner wich is why a connection to
	gb_menushelper_destroy_submenu() and
	gb_menushelper_submenu_detach_from() on "destroy" signals of
	parent and child is needed.
	(actualy this doesn't realy work on an GtkOptionMenus, because it
	references a GtkMenu (and worse, it doesn't reference
	it's current GtkMenuItem)).
-	the "install_accelerator" and "remove_accelerator" connections are
	needed to keep track of changes with the accelerator configuration,
	so they keep a hash table (for e.g. a menurc) up to date.
-	gtk_menu_set_accelerator_table(,NULL) is connected to the "destroy"
	signal of a GtkMenu because it doesn't automaticaly unref its
	accelerator table if destroyed.


Gtk+ related:
-	the viewport child of a scrolled window is not shown corectly
	upon invokation, but manual resize will
-	upon creation of a frame widget the label is drawn without
	alignment in the first place, i.e. in the upper left corner
-	expanding the frames in widget editor (hide/show) causes some frame
	labels to be drawn in the upper left corner
	(970825 with gtk+-U1: this now only happens on the very first
	expand/shrink operation)
-	notebook doesn't hide all widgets because of
	gtk_real_container_need_resize(), use -DGTK_BUGS_WORKAROUND with gubi
-	using gtk_widget_set_uposition() with GTK_WINDOW doesn't take the window
	manager bar into consideration
-	using gtk_container_add() on an option menu to add a label works, but then
	gtk_option_menu_button_press() segfaults.
	this is supposed to fail while adding due to a
	g_return_if_fail (GTK_IS_MENU_ITEM (child));
-	toggeling obey_child of an aspect frame can cause the contents of
	the frame to be drawn much beyond it's allocated size.
-	gtk_container_add() + gtk_container_remove() don't reparent
	the gdkwindow if the widget is already realized.
	gtk_widget_reparent does this, but some widgets don't handle
	gtk_container_remove() properly like GtkList...
-	right after creation of an option menu, the first selected menu item is
	placed too low.


patches:
-	border_width doesn't work with buttons derived from GtkButton
	fixed by ftp://ftp.gimp.org/pub/gtk/patches/old/gtk-timj-970903-0.patch.gz
-	changing xalign/yalign in widget editor of a frame doesn't expose the
	label (with gtk_frame_set_label_align())
	fixed by ftp://ftp.gimp.org/pub/gtk/patches/old/gtk-timj-970903-0.patch.gz


other compatibility issues:
-	Afterstep doesn't take GDK_HINT_MIN_SIZE into consideration, this
	allows the user to resize e.g. gubi's main window to a realy ugly
	size.
