Subject: Re: bug#72684: 29.3; Wayland, daemon: window wont resize

From: Jeremy Bryant <[email-masked]>
Date: Sun, 18 Aug 2024 22:44:07 +0100

Rustom Mody <[email-masked]> writes:

> The emacs windows doesnt resize.
> If I logout and relogin with Xorg (Wayland is the default in Ubuntu)
> then it works as normal.
> This is transient and happens at times not at others.

It appears you report this bug is hard to reproduce.

Have you observed any other conditions where this bug is manifested?

(Ideally a recipe starting from emacs -Q would help.)

> Also seems to happen more with daemon emacs
>
>
> In GNU Emacs 29.3 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.41,
>  cairo version 1.18.0) of 2024-04-01, modified by Debian built on
>  lcy02-amd64-083
> Windowing system distributor 'The X.Org Foundation', version 11.0.12101011
> System Description: Ubuntu 24.04 LTS
>
> Configured using:
>  'configure --build x86_64-linux-gnu --prefix=/usr
>  --sharedstatedir=/var/lib --libexecdir=/usr/libexec
>  --localstatedir=/var/lib --infodir=/usr/share/info
>  --mandir=/usr/share/man --with-libsystemd --with-pop=yes
>  --enable-locallisppath=/etc/emacs:/usr/local/share/emacs/29.3/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/29.3/site-lisp:/usr/share/emacs/site-lisp
>  --with-sound=alsa --without-gconf --with-mailutils
>  --with-native-compilation --build x86_64-linux-gnu --prefix=/usr
>  --sharedstatedir=/var/lib --libexecdir=/usr/libexec
>  --localstatedir=/var/lib --infodir=/usr/share/info
>  --mandir=/usr/share/man --with-libsystemd --with-pop=yes
>  --enable-locallisppath=/etc/emacs:/usr/local/share/emacs/29.3/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/29.3/site-lisp:/usr/share/emacs/site-lisp
>  --with-sound=alsa --without-gconf --with-mailutils
>  --with-native-compilation --with-cairo --with-x=yes
>  --with-x-toolkit=gtk3 --with-toolkit-scroll-bars 'CFLAGS=-g -O2
>  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
>  -ffile-prefix-map=/build/emacs-0yuuFP/emacs-29.3+1=. -fstack-protector-strong
>  -fstack-clash-protection -Wformat -Werror=format-security
>  -fcf-protection
>  -fdebug-prefix-map=/build/emacs-0yuuFP/emacs-29.3+1=/usr/src/emacs-1:29.3+1-1ubuntu2
>  -Wall' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=3'
>  'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro''
>
> Configured features:
> ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG
> JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES
> NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3
> THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XDBE XIM XINPUT2
> XPM GTK3 ZLIB
>
> Important settings:
>   value of $LANG: en_US.utf8
>   value of $XMODIFIERS: @im=ibus
>   locale-coding-system: utf-8-unix
>
> Major mode: Lisp Interaction
>
> Minor modes in effect:
>   server-mode: t
>   command-log-mode: t
>   override-global-mode: t
>   recentf-mode: t
>   tooltip-mode: t
>   global-eldoc-mode: t
>   eldoc-mode: t
>   show-paren-mode: t
>   electric-indent-mode: t
>   mouse-wheel-mode: t
>   menu-bar-mode: t
>   file-name-shadow-mode: t
>   global-font-lock-mode: t
>   font-lock-mode: t
>   blink-cursor-mode: t
>   line-number-mode: t
>   global-visual-line-mode: t
>   visual-line-mode: t
>   indent-tabs-mode: t
>   transient-mark-mode: t
>   auto-composition-mode: t
>   auto-encryption-mode: t
>   auto-compression-mode: t
>
> Load-path shadows:
> /home/rusi/.emacs.d/elpa/transient-20240619.1324/transient hides
> /usr/share/emacs/29.3/lisp/transient
>
> Features:
> (shadow sort mail-extr emacsbug message yank-media puny dired
> dired-loaddefs rfc822 mml mml-sec epa epg rfc6068 epg-config gnus-util
> text-property-search mm-decode mm-bodies mm-encode mail-parse rfc2231
> mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums
> mm-util mail-prsvr mail-utils comp comp-cstr warnings server cus-edit pp
> cus-start cus-load ob-haskell ob-python python project compat ol-bibtex
> bibtex iso8601 ox-bibtex advice org-tempo tempo derived ox-extra ox-odt
> rng-loc rng-uri rng-parse rng-match rng-dt rng-util rng-pttrn nxml-parse
> nxml-ns nxml-enc xmltok nxml-util ox-latex ox-icalendar org-agenda
> ox-html table ox-ascii ox-publish ox org-element org-persist xdg org-id
> org-refile org-element-ast inline org ob ob-tangle ob-ref ob-lob
> ob-table org-macro org-src sh-script smie treesit executable ob-comint
> org-pcomplete pcomplete org-list org-footnote org-faces org-entities
> time-date noutline outline icons ob-emacs-lisp org-table org-keys
> org-loaddefs thingatpt find-func cal-menu calendar cal-loaddefs avl-tree
> generator ol rx oc ob-exp ob-core org-cycle org-fold org-fold-core
> org-compat ob-eval org-version org-macs format-spec command-log-mode
> edmacro kmacro use-package-bind-key bind-key easy-mmode
> use-package-ensure pugofer comint ansi-osc ansi-color ring recentf
> tree-widget wid-edit cl-extra help-mode use-package-core
> company-spell-autoloads company-autoloads haskell-mode-autoloads
> magit-autoloads pcase git-commit-autoloads magit-section-autoloads
> dash-autoloads markdown-mode-autoloads org-contrib-autoloads
> orgalist-autoloads s-autoloads transient-autoloads with-editor-autoloads
> info compat-autoloads package browse-url url url-proxy url-privacy
> url-expand url-methods url-history url-cookie generate-lisp-file
> url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq
> eieio eieio-core cl-macs password-cache json subr-x map byte-opt gv
> bytecomp byte-compile url-vars cl-loaddefs cl-lib rmc iso-transl tooltip
> cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type
> elisp-mode 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 lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow
> isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax
> font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic
> indonesian philippine 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 emoji-zwj charscript charprop case-table epa-hook
> jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs
> theme-loaddefs faces cus-face macroexp files window text-properties
> overlay sha1 md5 base64 format env code-pages mule custom widget keymap
> hashtable-print-readable backquote threads dbusbind inotify lcms2
> dynamic-setting system-font-setting font-render-setting cairo
> move-toolbar gtk x-toolkit xinput2 x multi-tty make-network-process
> native-compile emacs)
>
> Memory information:
> ((conses 16 288577 15490)
>  (symbols 48 22647 0)
>  (strings 32 82512 3699)
>  (string-bytes 1 2846799)
>  (vectors 16 45381)
>  (vector-slots 8 776179 21709)
>  (floats 8 178 400)
>  (intervals 56 407 0)
>  (buffers 984 12))