nbecker(a)fred.net writes:
In testing gtk-xemacs-21.1.11 I see two small visual problems. With
my
xemacs window all the way to the right side of the screen, clicking on
"Help" causes the help menu to be displayed with most of the text clipped
off the right side of the screen.
This is a side-effect of the VERY dynamic nature of the XEmacs menus. When
GTK goes to position the menu initially it is completely empty and is
filled in very quickly. You'll notice that on subsequent opening of the
help menu it will be correct. Try this patch - it inserts a bogus menu
item that is deleted in the normal course of events. It should be long
enough that it forces the menu to pop up to the left.
Also, when entering text that goes to the bottom of the screen, the
screen doesn't scroll automatically enough so that the bottom of the text
I'm entering is clipped.
Hrm... do you have abnormally thick shadows on the modeline because of your
default theme?
-Bill P.
Index: menubar-gtk.c
===================================================================
RCS file: /usr/local/cvsroot/gtk-xemacs/src/menubar-gtk.c,v
retrieving revision 1.25
diff -c -w -r1.25 menubar-gtk.c
*** menubar-gtk.c 2000/07/26 20:46:02 1.25
--- menubar-gtk.c 2000/08/29 22:27:31
***************
*** 279,284 ****
--- 279,295 ----
gtk_menu_item_set_submenu (GTK_MENU_ITEM (menu_item), submenu);
+ /* We put this bogus menu item in so that GTK does the right
+ ** thing when the menu is near the screen border.
+ **
+ ** Aug 29, 2000
+ */
+ {
+ GtkWidget *bogus_item = gtk_menu_item_new_with_label ("A suitably long label
here...");
+ gtk_widget_show_all (bogus_item);
+ gtk_menu_append (GTK_MENU (submenu), bogus_item);
+ }
+
desc = Fcdr (desc);
while (key = Fcar (desc), KEYWORDP (key))
***************
*** 848,854 ****
/* Deal with getting/setting the menubar */
#ifndef GNOME_IS_APP
#define GNOME_IS_APP(x) 0
! #define gnome_app_set_menus(x,y) 0
#endif
static gboolean
--- 859,865 ----
/* Deal with getting/setting the menubar */
#ifndef GNOME_IS_APP
#define GNOME_IS_APP(x) 0
! #define gnome_app_set_menus(x,y)
#endif
static gboolean