unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#26855: 25.2; Menus off screen, gtk errors
@ 2017-05-09 13:37 gulliver.m.smith
  2017-05-09 16:14 ` martin rudalics
  0 siblings, 1 reply; 9+ messages in thread
From: gulliver.m.smith @ 2017-05-09 13:37 UTC (permalink / raw)
  To: 26855

Menus (e.g. from the menubar) are appearing off screen. Using Fedora 25 in VirtualBox
5.1.22. with guest additions. There are a lot of gtk errors when opening
a menu. GTK error messages included below. This started with either
emacs 25 or Fedora 25 upgrade.

In GNU Emacs 25.2.1 (x86_64-redhat-linux-gnu, GTK+ Version 3.22.11)
 of 2017-04-25 built on buildhw-05.phx2.fedoraproject.org
Windowing system distributor 'The Cygwin/X Project', version 11.0.11902000
Configured using:
 'configure --build=x86_64-redhat-linux-gnu
 --host=x86_64-redhat-linux-gnu --program-prefix=
 --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr
 --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc
 --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64
 --libexecdir=/usr/libexec --localstatedir=/var
 --sharedstatedir=/var/lib --mandir=/usr/share/man
 --infodir=/usr/share/info --with-dbus --with-gif --with-jpeg --with-png
 --with-rsvg --with-tiff --with-xft --with-xpm --with-x-toolkit=gtk3
 --with-gpm=no --with-xwidgets build_alias=x86_64-redhat-linux-gnu
 host_alias=x86_64-redhat-linux-gnu 'CFLAGS=-DMAIL_USE_LOCKF -O2 -g
 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2
 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4
 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
 -m64 -mtune=generic' LDFLAGS=-Wl,-z,relro
 PKG_CONFIG_PATH=:/usr/lib64/pkgconfig:/usr/share/pkgconfig'

Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND DBUS GCONF GSETTINGS NOTIFY
ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11 XWIDGETS

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

Major mode: Apropos

Minor modes in effect:
  diff-auto-refine-mode: t
  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
  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

Recent messages:

emacs-lisp-mode-hook
For information about GNU Emacs and the GNU system, type C-h C-a.
DBUF cfms.js nil #<frame  *Minibuf-1* - DM  0x12d1c30>
Making url-show-status local to  *http 127.0.0.1:42445* while let-bound!
kill-line: End of buffer
Type C-x 1 to remove help window.  

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message idna dired format-spec rfc822
mml mml-sec epg mm-decode mm-bodies mm-encode mailabbrev gmm-utils
mailheader sendmail apropos mail-utils network-stream nsm starttls
vc-git diff-mode tern-auto-complete auto-complete popup tern easy-mmode
url-http tls gnutls url-auth mail-parse rfc2231 rfc2047 rfc2045
ietf-drums url-gw url url-proxy url-privacy url-expand url-methods
url-history url-cookie url-domsuf url-util url-parse auth-source
gnus-util mm-util help-fns mail-prsvr password-cache url-vars mailcap
cursor-sensor js2-mode etags xref cl-seq project eieio eieio-core
cl-macs ring js advice sgml-mode json map thingatpt cc-mode cc-fonts
cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs
imenu server dash edmacro kmacro timesheet srgrep more-hacks paren
delsel finder-inf package epg-config seq byte-opt gv bytecomp
byte-compile cl-extra help-mode easymenu cconv cl-loaddefs pcase cl-lib
time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks
lisp-float-type mwheel x-win term/common-win x-dnd tool-bar dnd fontset
image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode
prog-mode register page menu-bar rfn-eshadow timer select scroll-bar
mouse jit-lock font-lock syntax facemenu font-core 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 charscript case-table epa-hook
jka-cmpr-hook help simple abbrev 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 xwidget-internal move-toolbar
gtk x-toolkit x multi-tty make-network-process emacs)

Memory information:
((conses 16 465981 47767)
 (symbols 48 35883 0)
 (miscs 40 142 199)
 (strings 32 88286 15998)
 (string-bytes 1 2418726)
 (vectors 16 86789)
 (vector-slots 8 1204840 126426)
 (floats 8 499 4)
 (intervals 56 40008 70)
 (buffers 976 20))


GTK Errors on console:


(emacs:2580): Gtk-WARNING **: gtk_window_parse_geometry() called on a window with no visible children; the window should be set up before gtk_window_parse_geometry() is called.

(emacs:2580): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed

(emacs:2580): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed

(emacs:2580): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed

(emacs:2580): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed

(emacs:2580): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed

(emacs:2580): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed

(emacs:2580): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed

(emacs:2580): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed

(emacs:2580): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed

(emacs:2580): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed

(emacs:2580): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed
*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug

*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug


(emacs:2580): Gtk-WARNING **: Negative content width -7 (allocation 1, extents 4x4) while allocating gadget (node arrow, owner GtkMenu)

(emacs:2580): Gtk-WARNING **: Negative content width -7 (allocation 1, extents 4x4) while allocating gadget (node arrow, owner GtkMenu)
*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug


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

(emacs:2580): Gtk-WARNING **: Negative content height -7 (allocation 1, extents 4x4) while allocating gadget (node menuitem, owner GtkMenuItem)

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

(emacs:2580): Gtk-WARNING **: Negative content height -7 (allocation 1, extents 4x4) while allocating gadget (node menuitem, owner GtkMenuItem)

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

(emacs:2580): Gtk-WARNING **: Negative content height -7 (allocation 1, extents 4x4) while allocating gadget (node menuitem, owner GtkMenuItem)

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

(emacs:2580): Gtk-WARNING **: Negative content height -7 (allocation 1, extents 4x4) while allocating gadget (node menuitem, owner GtkMenuItem)

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

(emacs:2580): Gtk-WARNING **: Negative content height -7 (allocation 1, extents 4x4) while allocating gadget (node menuitem, owner GtkMenuItem)

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

(emacs:2580): Gtk-WARNING **: Negative content height -7 (allocation 1, extents 4x4) while allocating gadget (node menuitem, owner GtkMenuItem)

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

(emacs:2580): Gtk-WARNING **: Negative content height -7 (allocation 1, extents 4x4) while allocating gadget (node menuitem, owner GtkMenuItem)

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

(emacs:2580): Gtk-WARNING **: Negative content height -7 (allocation 1, extents 4x4) while allocating gadget (node menuitem, owner GtkMenuItem)

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

(emacs:2580): Gtk-WARNING **: Negative content height -7 (allocation 1, extents 4x4) while allocating gadget (node menuitem, owner GtkMenuItem)

(emacs:2580): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed

(emacs:2580): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed

(emacs:2580): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed

(emacs:2580): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed

(emacs:2580): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed

(emacs:2580): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed

(emacs:2580): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed

(emacs:2580): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed

(emacs:2580): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed

(emacs:2580): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed

(emacs:2580): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed

(emacs:2580): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed

(emacs:2580): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed

(emacs:2580): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed

(emacs:2580): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed

(emacs:2580): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed

(emacs:2580): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed

(emacs:2580): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed

(emacs:2580): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed

(emacs:2580): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed

(emacs:2580): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed

(emacs:2580): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed
*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug

*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug


(emacs:2580): Gtk-WARNING **: Negative content width -7 (allocation 1, extents 4x4) while allocating gadget (node arrow, owner GtkMenu)

(emacs:2580): Gtk-WARNING **: Negative content width -7 (allocation 1, extents 4x4) while allocating gadget (node arrow, owner GtkMenu)
*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug


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

(emacs:2580): Gtk-WARNING **: Negative content height -7 (allocation 1, extents 4x4) while allocating gadget (node menuitem, owner GtkMenuItem)

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

(emacs:2580): Gtk-WARNING **: Negative content height -7 (allocation 1, extents 4x4) while allocating gadget (node menuitem, owner GtkMenuItem)

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

(emacs:2580): Gtk-WARNING **: Negative content height -7 (allocation 1, extents 4x4) while allocating gadget (node menuitem, owner GtkMenuItem)

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

(emacs:2580): Gtk-WARNING **: Negative content height -7 (allocation 1, extents 4x4) while allocating gadget (node menuitem, owner GtkMenuItem)

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

(emacs:2580): Gtk-WARNING **: Negative content height -7 (allocation 1, extents 4x4) while allocating gadget (node menuitem, owner GtkMenuItem)

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

(emacs:2580): Gtk-WARNING **: Negative content height -7 (allocation 1, extents 4x4) while allocating gadget (node menuitem, owner GtkMenuItem)

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

(emacs:2580): Gtk-WARNING **: Negative content height -7 (allocation 1, extents 4x4) while allocating gadget (node menuitem, owner GtkMenuItem)

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

(emacs:2580): Gtk-WARNING **: Negative content height -7 (allocation 1, extents 4x4) while allocating gadget (node menuitem, owner GtkMenuItem)

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

(emacs:2580): Gtk-WARNING **: Negative content height -7 (allocation 1, extents 4x4) while allocating gadget (node menuitem, owner GtkMenuItem)

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

(emacs:2580): Gtk-WARNING **: Negative content height -7 (allocation 1, extents 4x4) while allocating gadget (node menuitem, owner GtkMenuItem)

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

(emacs:2580): Gtk-WARNING **: Negative content height -7 (allocation 1, extents 4x4) while allocating gadget (node menuitem, owner GtkMenuItem)

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

(emacs:2580): Gtk-WARNING **: Negative content height -7 (allocation 1, extents 4x4) while allocating gadget (node menuitem, owner GtkMenuItem)

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

(emacs:2580): Gtk-WARNING **: Negative content height -7 (allocation 1, extents 4x4) while allocating gadget (node menuitem, owner GtkMenuItem)

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

(emacs:2580): Gtk-WARNING **: Negative content height -7 (allocation 1, extents 4x4) while allocating gadget (node menuitem, owner GtkMenuItem)

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

(emacs:2580): Gtk-WARNING **: Negative content height -7 (allocation 1, extents 4x4) while allocating gadget (node menuitem, owner GtkMenuItem)

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

(emacs:2580): Gtk-WARNING **: Negative content height -7 (allocation 1, extents 4x4) while allocating gadget (node menuitem, owner GtkMenuItem)

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

(emacs:2580): Gtk-WARNING **: Negative content height -7 (allocation 1, extents 4x4) while allocating gadget (node menuitem, owner GtkMenuItem)

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

(emacs:2580): Gtk-WARNING **: Negative content height -7 (allocation 1, extents 4x4) while allocating gadget (node menuitem, owner GtkMenuItem)

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

(emacs:2580): Gtk-WARNING **: Negative content height -7 (allocation 1, extents 4x4) while allocating gadget (node menuitem, owner GtkMenuItem)





^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#26855: 25.2; Menus off screen, gtk errors
  2017-05-09 13:37 bug#26855: 25.2; Menus off screen, gtk errors gulliver.m.smith
@ 2017-05-09 16:14 ` martin rudalics
  2017-09-02 13:54   ` Eli Zaretskii
  0 siblings, 1 reply; 9+ messages in thread
From: martin rudalics @ 2017-05-09 16:14 UTC (permalink / raw)
  To: gulliver.m.smith, 26855

 > Menus (e.g. from the menubar) are appearing off screen. Using Fedora 25 in VirtualBox
 > 5.1.22. with guest additions. There are a lot of gtk errors when opening
 > a menu. GTK error messages included below. This started with either
 > emacs 25 or Fedora 25 upgrade.
 >
 > In GNU Emacs 25.2.1 (x86_64-redhat-linux-gnu, GTK+ Version 3.22.11)
 >   of 2017-04-25 built on buildhw-05.phx2.fedoraproject.org
 > Windowing system distributor 'The Cygwin/X Project', version 11.0.11902000
 > Configured using:
 >   'configure --build=x86_64-redhat-linux-gnu
 >   --host=x86_64-redhat-linux-gnu --program-prefix=
 >   --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr
 >   --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc
 >   --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64
 >   --libexecdir=/usr/libexec --localstatedir=/var
 >   --sharedstatedir=/var/lib --mandir=/usr/share/man
 >   --infodir=/usr/share/info --with-dbus --with-gif --with-jpeg --with-png
 >   --with-rsvg --with-tiff --with-xft --with-xpm --with-x-toolkit=gtk3
 >   --with-gpm=no --with-xwidgets build_alias=x86_64-redhat-linux-gnu
 >   host_alias=x86_64-redhat-linux-gnu 'CFLAGS=-DMAIL_USE_LOCKF -O2 -g
 >   -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2
 >   -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4
 >   -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
 >   -m64 -mtune=generic' LDFLAGS=-Wl,-z,relro
 >   PKG_CONFIG_PATH=:/usr/lib64/pkgconfig:/usr/share/pkgconfig'

Looks bad.  Hopefully this is covered by the fix for bug#25851, see

https://debbugs.gnu.org/cgi/bugreport.cgi?bug=25851

In Message#218 of that thread you can find a patch
(x_gtk_use_window_move.diff) I proposed for Emacs 25.  If you can build
Emacs yourself, please try it.

martin





^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#26855: 25.2; Menus off screen, gtk errors
  2017-05-09 16:14 ` martin rudalics
@ 2017-09-02 13:54   ` Eli Zaretskii
  2017-09-02 18:09     ` martin rudalics
  0 siblings, 1 reply; 9+ messages in thread
From: Eli Zaretskii @ 2017-09-02 13:54 UTC (permalink / raw)
  To: martin rudalics; +Cc: gulliver.m.smith, 26855

> Date: Tue, 09 May 2017 18:14:13 +0200
> From: martin rudalics <rudalics@gmx.at>
> 
>  > Menus (e.g. from the menubar) are appearing off screen. Using Fedora 25 in VirtualBox
>  > 5.1.22. with guest additions. There are a lot of gtk errors when opening
>  > a menu. GTK error messages included below. This started with either
>  > emacs 25 or Fedora 25 upgrade.
>  >
>  > In GNU Emacs 25.2.1 (x86_64-redhat-linux-gnu, GTK+ Version 3.22.11)
>  >   of 2017-04-25 built on buildhw-05.phx2.fedoraproject.org
>  > Windowing system distributor 'The Cygwin/X Project', version 11.0.11902000
>  > Configured using:
>  >   'configure --build=x86_64-redhat-linux-gnu
>  >   --host=x86_64-redhat-linux-gnu --program-prefix=
>  >   --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr
>  >   --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc
>  >   --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64
>  >   --libexecdir=/usr/libexec --localstatedir=/var
>  >   --sharedstatedir=/var/lib --mandir=/usr/share/man
>  >   --infodir=/usr/share/info --with-dbus --with-gif --with-jpeg --with-png
>  >   --with-rsvg --with-tiff --with-xft --with-xpm --with-x-toolkit=gtk3
>  >   --with-gpm=no --with-xwidgets build_alias=x86_64-redhat-linux-gnu
>  >   host_alias=x86_64-redhat-linux-gnu 'CFLAGS=-DMAIL_USE_LOCKF -O2 -g
>  >   -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2
>  >   -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4
>  >   -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
>  >   -m64 -mtune=generic' LDFLAGS=-Wl,-z,relro
>  >   PKG_CONFIG_PATH=:/usr/lib64/pkgconfig:/usr/share/pkgconfig'
> 
> Looks bad.  Hopefully this is covered by the fix for bug#25851, see
> 
> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=25851
> 
> In Message#218 of that thread you can find a patch
> (x_gtk_use_window_move.diff) I proposed for Emacs 25.  If you can build
> Emacs yourself, please try it.

Martin,

Any reason not to push that patch?  I don't see anyone answering your
requests in any of the related bugs, so unless you have reasons to
think this could cause trouble, let's resolve those bugs, and let
users report any fallout.  These bugs are currently blocking the
release of Emacs 26.1.

Thanks.





^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#26855: 25.2; Menus off screen, gtk errors
  2017-09-02 13:54   ` Eli Zaretskii
@ 2017-09-02 18:09     ` martin rudalics
  2017-09-02 18:47       ` Eli Zaretskii
  2021-08-15 12:09       ` bug#26855: bug#25064: 25.1; Menus are off-screen Lars Ingebrigtsen
  0 siblings, 2 replies; 9+ messages in thread
From: martin rudalics @ 2017-09-02 18:09 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: gulliver.m.smith, 26855

 >> In Message#218 of that thread you can find a patch
 >> (x_gtk_use_window_move.diff) I proposed for Emacs 25.  If you can build
 >> Emacs yourself, please try it.
 >
 > Martin,
 >
 > Any reason not to push that patch?  I don't see anyone answering your
 > requests in any of the related bugs, so unless you have reasons to
 > think this could cause trouble, let's resolve those bugs, and let
 > users report any fallout.  These bugs are currently blocking the
 > release of Emacs 26.1.

That patch was for Emacs 25.  Emacs 26 has it already incorporated for
quite some time.  But I meanwhile doubt that it would resolve the menu
issue reported here.  GTK 3.22 is still not widely used by Emacs
developers.  Otherwise, we should have seen more problems after Philip's
changes for Bug#28189.  It's an irony that people who do use GTK 3.22
like the OP of the present report and the one from Bug#25851 only build
Emacs 25.

martin





^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#26855: 25.2; Menus off screen, gtk errors
  2017-09-02 18:09     ` martin rudalics
@ 2017-09-02 18:47       ` Eli Zaretskii
  2017-09-02 20:55         ` martin rudalics
  2021-08-15 12:09       ` bug#26855: bug#25064: 25.1; Menus are off-screen Lars Ingebrigtsen
  1 sibling, 1 reply; 9+ messages in thread
From: Eli Zaretskii @ 2017-09-02 18:47 UTC (permalink / raw)
  To: martin rudalics; +Cc: gulliver.m.smith, 26855

> Date: Sat, 02 Sep 2017 20:09:10 +0200
> From: martin rudalics <rudalics@gmx.at>
> CC: gulliver.m.smith@gmail.com, 26855@debbugs.gnu.org
> 
>  > Any reason not to push that patch?  I don't see anyone answering your
>  > requests in any of the related bugs, so unless you have reasons to
>  > think this could cause trouble, let's resolve those bugs, and let
>  > users report any fallout.  These bugs are currently blocking the
>  > release of Emacs 26.1.
> 
> That patch was for Emacs 25.  Emacs 26 has it already incorporated for
> quite some time.  But I meanwhile doubt that it would resolve the menu
> issue reported here.  GTK 3.22 is still not widely used by Emacs
> developers.  Otherwise, we should have seen more problems after Philip's
> changes for Bug#28189.  It's an irony that people who do use GTK 3.22
> like the OP of the present report and the one from Bug#25851 only build
> Emacs 25.

Thanks for the update.

Is there any reason to keep this bug on the list of those that block
Emacs 26.1?





^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#26855: 25.2; Menus off screen, gtk errors
  2017-09-02 18:47       ` Eli Zaretskii
@ 2017-09-02 20:55         ` martin rudalics
  2017-09-03 14:58           ` Eli Zaretskii
  0 siblings, 1 reply; 9+ messages in thread
From: martin rudalics @ 2017-09-02 20:55 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: gulliver.m.smith, 26855

 > Is there any reason to keep this bug on the list of those that block
 > Emacs 26.1?

Not unless someone running master with GTK 3.22 confirms that the
warnings are still there.  For the moment this means that we should
remove the blocking (who put it there, BTW?) based on the assumption
that Philipp fixed these warnings already.

martin





^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#26855: 25.2; Menus off screen, gtk errors
  2017-09-02 20:55         ` martin rudalics
@ 2017-09-03 14:58           ` Eli Zaretskii
  0 siblings, 0 replies; 9+ messages in thread
From: Eli Zaretskii @ 2017-09-03 14:58 UTC (permalink / raw)
  To: martin rudalics; +Cc: gulliver.m.smith, 26855

unblock 24655 by 26855
thanks

> Date: Sat, 02 Sep 2017 22:55:31 +0200
> From: martin rudalics <rudalics@gmx.at>
> CC: gulliver.m.smith@gmail.com, 26855@debbugs.gnu.org
> 
>  > Is there any reason to keep this bug on the list of those that block
>  > Emacs 26.1?
> 
> Not unless someone running master with GTK 3.22 confirms that the
> warnings are still there.  For the moment this means that we should
> remove the blocking (who put it there, BTW?) based on the assumption
> that Philipp fixed these warnings already.

OK, I'm therefore unblocking.  Thanks.





^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#26855: bug#25064: 25.1; Menus are off-screen
  2017-09-02 18:09     ` martin rudalics
  2017-09-02 18:47       ` Eli Zaretskii
@ 2021-08-15 12:09       ` Lars Ingebrigtsen
  2021-09-13  8:53         ` bug#26855: bug#28511: 27.0.50; Menus off-screen Lars Ingebrigtsen
  1 sibling, 1 reply; 9+ messages in thread
From: Lars Ingebrigtsen @ 2021-08-15 12:09 UTC (permalink / raw)
  To: martin rudalics; +Cc: 25064, gulliver.m.smith, 26855

martin rudalics <rudalics@gmx.at> writes:

> That patch was for Emacs 25.  Emacs 26 has it already incorporated for
> quite some time.  But I meanwhile doubt that it would resolve the menu
> issue reported here.  GTK 3.22 is still not widely used by Emacs
> developers.

(I'm going through old bug reports that weren't resolved at the time.)

There was a flurry of these reports three to four years ago, and then
nothing (and I can't remember seeing any similar reports lately
myself).  I've got gtk 3.24 installed on this machine, and I'm not able
to reproduce the issue, either.

Does anybody still experience these problems with recent Emacs/gtk
versions?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#26855: bug#28511: 27.0.50; Menus off-screen
  2021-08-15 12:09       ` bug#26855: bug#25064: 25.1; Menus are off-screen Lars Ingebrigtsen
@ 2021-09-13  8:53         ` Lars Ingebrigtsen
  0 siblings, 0 replies; 9+ messages in thread
From: Lars Ingebrigtsen @ 2021-09-13  8:53 UTC (permalink / raw)
  To: martin rudalics; +Cc: gulliver.m.smith, 28511, 25064, 26855

Lars Ingebrigtsen <larsi@gnus.org> writes:

> There was a flurry of these reports three to four years ago, and then
> nothing (and I can't remember seeing any similar reports lately
> myself).  I've got gtk 3.24 installed on this machine, and I'm not able
> to reproduce the issue, either.
>
> Does anybody still experience these problems with recent Emacs/gtk
> versions?

There wasn't any response in a month, so I guess this problem went away
at the time, and I'm therefore closing this bug report.  If somebody's
still seeing this issue, opening a new bug report is probably the way
forward.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2021-09-13  8:53 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-09 13:37 bug#26855: 25.2; Menus off screen, gtk errors gulliver.m.smith
2017-05-09 16:14 ` martin rudalics
2017-09-02 13:54   ` Eli Zaretskii
2017-09-02 18:09     ` martin rudalics
2017-09-02 18:47       ` Eli Zaretskii
2017-09-02 20:55         ` martin rudalics
2017-09-03 14:58           ` Eli Zaretskii
2021-08-15 12:09       ` bug#26855: bug#25064: 25.1; Menus are off-screen Lars Ingebrigtsen
2021-09-13  8:53         ` bug#26855: bug#28511: 27.0.50; Menus off-screen Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).