Subject: bug#28511: 27.0.50; Menus off-screen

From: [email-masked] (Bryan M. Kramer)
Date: Tue, 19 Sep 2017 11:00:10 -0400

Menus, e.g. toolbar menus such as "Buffers", "Edit" etc. are not showing
up. Sometimes a line is visible at the top left of the screen.

This was reported for earlier versions of emacs, but it doesn't seem to
be fixed yet.

Console reports a bunch of GTK errors:

(emacs:26734): Gtk-WARNING **: GtkAccelLabel 0x49275a0 attempted to adjust its size allocation from 29,1622938142 1x1446369786 to 29,-1948844269 1x15. adjust_size_allocation must keep allocation inside original bounds

(emacs:26734): Gtk-WARNING **: Negative content width -11 (allocation 1, extents 6x6) while allocating gadget (node menuitem, owner GtkMenuItem)

(emacs:26734): Gtk-WARNING **: Negative content width -11 (allocation 1, extents 6x6) while allocating gadget (node menuitem, owner GtkMenuItem)

(emacs:26734): Gtk-WARNING **: Negative content width -11 (allocation 1, extents 6x6) while allocating gadget (node menuitem, owner GtkCheckMenuItem)

(emacs:26734): Gtk-WARNING **: Negative content width -11 (allocation 1, extents 6x6) while allocating gadget (node menuitem, owner GtkMenuItem)

(emacs:26734): Gtk-WARNING **: GtkAccelLabel 0x4932980 attempted to adjust its size allocation from 29,1711222314 1x1446369786 to 29,-1860560097 1x15. adjust_size_allocation must keep allocation inside original bounds

(emacs:26734): Gtk-WARNING **: Negative content width -11 (allocation 1, extents 6x6) while allocating gadget (node menuitem, owner GtkMenuItem)

(emacs:26734): Gtk-WARNING **: Negative content width -11 (allocation 1, extents 6x6) while allocating gadget (node menuitem, owner GtkMenuItem)

(emacs:26734): Gtk-WARNING **: GtkAccelLabel 0x49325a0 attempted to adjust its size allocation from 29,1755364400 1x1446369786 to 29,-1816418011 1x15. adjust_size_allocation must keep allocation inside original bounds

(emacs:26734): Gtk-WARNING **: Negative content width -11 (allocation 1, extents 6x6) while allocating gadget (node menuitem, owner GtkMenuItem)

In GNU Emacs 27.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.19)
 of 2017-09-19 built on fedora17.home
Repository revision: 0bddbbc5aae621d5875880ac3e63f68d481df7c3
Windowing system distributor 'The Cygwin/X Project', version 11.0.11902000
Recent messages:
Type C-x 1 to remove help window.  
Making completion list...

Configured using:
 'configure --prefix=/home/bryan/install --without-makeinfo
 --without-pop'

Configured features:
XPM JPEG TIFF GIF PNG SOUND DBUS GSETTINGS NOTIFY LIBSELINUX GNUTLS
FREETYPE XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11

Important settings:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Fundamental

Minor modes in effect:
  show-paren-mode: t
  delete-selection-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  buffer-read-only: t
  line-number-mode: t
  transient-mark-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message subr-x puny dired dired-loaddefs
format-spec rfc822 mml mml-sec epa derived epg gnus-util rmail
rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231
mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums
mail-utils help-mode apropos elec-pair server hideshow prettier-js dash
edmacro kmacro timesheet srgrep more-hacks paren delsel mm-util
mail-prsvr finder-inf package easymenu epg-config url-handlers url-parse
auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs
password-cache url-vars seq byte-opt gv bytecomp byte-compile cconv
cl-loaddefs cl-lib time-date mule-util tooltip eldoc electric uniquify
ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win
term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe
tabulated-list replace newcomment text-mode elisp-mode lisp-mode
prog-mode register page menu-bar rfn-eshadow isearch timer select
scroll-bar mouse jit-lock font-lock syntax facemenu font-core
term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang
vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932
hebrew greek romanian slovak czech european ethiopic indian cyrillic
chinese composite charscript charprop case-table epa-hook jka-cmpr-hook
help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs
button faces cus-face macroexp files text-properties overlay sha1 md5
base64 format env code-pages mule custom widget hashtable-print-readable
backquote dbusbind inotify dynamic-setting system-font-setting
font-render-setting move-toolbar gtk x-toolkit x multi-tty
make-network-process emacs)

Memory information:
((conses 16 235086 10393)
 (symbols 48 26662 1)
 (miscs 40 124 193)
 (strings 32 87225 6860)
 (string-bytes 1 3431315)
 (vectors 16 21776)
 (vector-slots 8 599627 9349)
 (floats 8 60 213)
 (intervals 56 306 0)
 (buffers 992 14))