Subject: 28.1; Window shrinks in Latex: due to toolbar?

From: Ben Israeli <[email-masked]>
Date: Sun, 23 Oct 2022 20:48:22 -0400

Specifically when in Latex mode, running a command which switches focus

to the minibuffer results in the window shrinking slightly in the

vertical direction. Over the course of use, this causes the window to

progressively get smaller. The issue goes away if the toolbar minor mode is
toggled off. Looking at the

toolbar in Latex mode, I notice that some of the extra buttons (compile

etc) are a few pixels taller than the other buttons. I suspect some

issue in how toolbar height is handled is to blame.

In GNU Emacs 28.1 (build 1, x86_64-pc-linux-gnu, X toolkit, Xaw scroll bars)

of 2022-07-11 built on byi-debianBook

Windowing system distributor 'The X.Org Foundation', version 11.0.12004000

System Description: Debian GNU/Linux 10 (buster)

Configured features:

FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG LIBSELINUX MODULES

NOTIFY INOTIFY PDUMPER PNG SECCOMP SOUND THREADS TIFF

TOOLKIT_SCROLL_BARS X11 XDBE XFT XIM XPM LUCID ZLIB

Important settings:

value of $LANG: en_US.UTF-8

value of $XMODIFIERS: @im=ibus

locale-coding-system: utf-8-unix

Major mode: LaTeX/P

Minor modes in effect:

TeX-PDF-mode: t

shell-dirtrack-mode: t

desktop-save-mode: t

org-roam-db-autosync-mode: t

global-auto-complete-mode: t

auto-complete-mode: t

tooltip-mode: t

global-eldoc-mode: t

show-paren-mode: t

electric-indent-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

blink-cursor-mode: t

auto-composition-mode: t

auto-encryption-mode: t

auto-compression-mode: t

line-number-mode: t

transient-mark-mode: t

Load-path shadows:

None found.

Features:

(pp shadow sort mail-extr emacsbug sendmail cl-print help-fns radix-tree

misearch multi-isearch dired-aux tex-bar toolbar-x font-latex latexenc

preview latex latex-flymake flymake-proc flymake tex-ispell tex-style

tex crm texmathp tex-mode shell desktop frameset org-ref org-ref-core

org-ref-glossary org-ref-bibtex avy doi-utils message dired

dired-loaddefs rfc822 mml mml-sec epa derived epg rfc6068 epg-config

gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mailabbrev

mail-utils gmm-utils mailheader org-ref-utils org-ref-export citeproc

citeproc-itemgetters citeproc-biblatex parse-time citeproc-bibtex

ol-bibtex citeproc-cite citeproc-subbibs citeproc-sort citeproc-name

citeproc-formatters citeproc-number rst compile citeproc-proc

citeproc-disamb citeproc-itemdata citeproc-generic-elements

citeproc-macro citeproc-choose citeproc-date citeproc-context

citeproc-prange citeproc-style citeproc-locale citeproc-term citeproc-rt

citeproc-lib citeproc-s thingatpt queue ox-pandoc warnings ht ox-org

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-ref-misc-links

org-ref-label-link org-ref-ref-links org-ref-citation-links xref project

org-ref-bibliography-links hydra lv bibtex-completion filenotify biblio

biblio-download biblio-dissemin biblio-ieee biblio-hal biblio-dblp

biblio-crossref biblio-arxiv timezone biblio-doi biblio-core let-alist

url-queue ido hl-line parsebib f f-shortdoc shortdoc

text-property-search s org-roam-migrate org-roam-log org-roam-mode

org-roam-capture org-roam-id org-roam-node org-roam-db org-roam-utils

org-roam-compat org-roam org-capture org-element avl-tree generator

org-attach org-id org-refile org ob ob-tangle ob-ref ob-lob ob-table

ob-exp org-macro org-footnote org-src ob-comint org-pcomplete pcomplete

comint ansi-color ring org-list org-faces org-entities noutline outline

easy-mmode org-version ob-emacs-lisp ob-core ob-eval org-table oc-basic

bibtex iso8601 time-date ol org-keys oc org-compat org-macs org-loaddefs

find-func cal-menu calendar cal-loaddefs emacsql-sqlite url-http

url-auth mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums

mail-prsvr url-gw nsm rmc puny advice emacsql emacsql-compiler

magit-section format-spec compat-27 compat-26 compat rx dash cl-extra

help-mode use-package-core ac-math math-symbol-lists

auto-complete-config auto-complete edmacro kmacro popup finder-inf

tex-site info package browse-url url url-proxy url-privacy url-expand

url-methods url-history url-cookie url-domsuf url-util mailcap

url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs

eieio-loaddefs password-cache json subr-x map url-vars seq byte-opt gv

bytecomp byte-compile cconv cl-loaddefs cl-lib iso-transl tooltip 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 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 emoji-zwj charscript charprop case-table

epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice

button loaddefs faces cus-face macroexp files window text-properties

overlay sha1 md5 base64 format env code-pages mule custom widget

hashtable-print-readable backquote threads inotify dynamic-setting

system-font-setting font-render-setting x-toolkit x multi-tty

make-network-process emacs)

Memory information:

((conses 16 479069 74204)

(symbols 48 34765 3)

(strings 32 185600 4678)

(string-bytes 1 4685143)

(vectors 16 60419)

(vector-slots 8 677241 49266)

(floats 8 274 372)

(intervals 56 1421 159)

(buffers 992 19))