unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#67957: 29.1; Maxmimizing a frame and restoring does not preserve the size
@ 2023-12-21 19:55 Christophe TROESTLER
  0 siblings, 0 replies; only message in thread
From: Christophe TROESTLER @ 2023-12-21 19:55 UTC (permalink / raw)
  To: 67957


I run Emacs pgtk 29.1 under Wayland.  When I maximize a frame and then restore it, the restored frame is smaller than the original one.  If I maximize and restore again, the frame keeps shrinking.  I have tested with “emacs -Q”.  `set-frame-size' works as intended.


In GNU Emacs 29.1 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.38,
 cairo version 1.16.0) of 2023-08-30, modified by Debian built on
 x86-csail-01
System Description: Debian GNU/Linux trixie/sid

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.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/29.1/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.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/29.1/site-lisp:/usr/share/emacs/site-lisp
 --with-sound=alsa --without-gconf --with-mailutils
 --with-native-compilation --with-pgtk 'CFLAGS=-g -O2
 -ffile-prefix-map=/build/reproducible-path/emacs-29.1+1=. -fstack-protector-strong
 -Wformat -Werror=format-security -Wall' 'CPPFLAGS=-Wdate-time
 -D_FORTIFY_SOURCE=2' LDFLAGS=-Wl,-z,relro'

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG
JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP
NOTIFY INOTIFY PDUMPER PGTK PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF
TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XIM GTK3 ZLIB

Important settings:
  value of $LC_MESSAGES: en_US.UTF-8
  value of $LC_NUMERIC: en_US.UTF-8
  value of $LC_TIME: en_GB.UTF-8
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: utf-8-unix

Major mode: mu4e:view

Minor modes in effect:
  desktop-save-mode: t
  TeX-PDF-mode: t
  global-git-commit-mode: t
  magit-auto-revert-mode: t
  shell-dirtrack-mode: t
  mu4e-compose-minor-mode: t
  mu4e-search-minor-mode: t
  mu4e-context-minor-mode: t
  mu4e-modeline-mode: t
  minions-mode: t
  global-edit-server-edit-mode: t
  server-mode: t
  tooltip-mode: t
  global-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
  buffer-read-only: 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:
~/software/OCaml/dune/editor-integration/emacs/dune-flymake hides /home/trch/.opam/4.14.1/share/emacs/site-lisp/dune-flymake
~/software/OCaml/dune/editor-integration/emacs/dune hides /home/trch/.opam/4.14.1/share/emacs/site-lisp/dune
/home/trch/software/mu/build/mu4e/mu4e-server hides /home/trch/software/mu/mu4e/mu4e-server
/home/trch/software/mu/build/mu4e/mu4e-mark hides /home/trch/software/mu/mu4e/mu4e-mark
/home/trch/software/mu/build/mu4e/mu4e-org hides /home/trch/software/mu/mu4e/mu4e-org
/home/trch/software/mu/build/mu4e/mu4e-helpers hides /home/trch/software/mu/mu4e/mu4e-helpers
/home/trch/software/mu/build/mu4e/mu4e-icalendar hides /home/trch/software/mu/mu4e/mu4e-icalendar
/home/trch/software/mu/build/mu4e/mu4e-context hides /home/trch/software/mu/mu4e/mu4e-context
/home/trch/software/mu/build/mu4e/mu4e-lists hides /home/trch/software/mu/mu4e/mu4e-lists
/home/trch/software/mu/build/mu4e/mu4e-search hides /home/trch/software/mu/mu4e/mu4e-search
/home/trch/software/mu/build/mu4e/mu4e-modeline hides /home/trch/software/mu/mu4e/mu4e-modeline
/home/trch/software/mu/build/mu4e/mu4e-query-items hides /home/trch/software/mu/mu4e/mu4e-query-items
/home/trch/software/mu/build/mu4e/mu4e hides /home/trch/software/mu/mu4e/mu4e
/home/trch/software/mu/build/mu4e/mu4e-folders hides /home/trch/software/mu/mu4e/mu4e-folders
/home/trch/software/mu/build/mu4e/mu4e-speedbar hides /home/trch/software/mu/mu4e/mu4e-speedbar
/home/trch/software/mu/build/mu4e/mu4e-headers hides /home/trch/software/mu/mu4e/mu4e-headers
/home/trch/software/mu/build/mu4e/mu4e-message hides /home/trch/software/mu/mu4e/mu4e-message
/home/trch/software/mu/build/mu4e/mu4e-update hides /home/trch/software/mu/mu4e/mu4e-update
/home/trch/software/mu/build/mu4e/mu4e-actions hides /home/trch/software/mu/mu4e/mu4e-actions
/home/trch/software/mu/build/mu4e/mu4e-notification hides /home/trch/software/mu/mu4e/mu4e-notification
/home/trch/software/mu/build/mu4e/mu4e-thread hides /home/trch/software/mu/mu4e/mu4e-thread
/home/trch/software/mu/build/mu4e/mu4e-contrib hides /home/trch/software/mu/mu4e/mu4e-contrib
/home/trch/software/mu/build/mu4e/mu4e-obsolete hides /home/trch/software/mu/mu4e/mu4e-obsolete
/home/trch/software/mu/build/mu4e/mu4e-contacts hides /home/trch/software/mu/mu4e/mu4e-contacts
/home/trch/software/mu/build/mu4e/mu4e-bookmarks hides /home/trch/software/mu/mu4e/mu4e-bookmarks
/home/trch/software/mu/build/mu4e/mu4e-mime-parts hides /home/trch/software/mu/mu4e/mu4e-mime-parts
/home/trch/software/mu/build/mu4e/mu4e-view hides /home/trch/software/mu/mu4e/mu4e-view
/home/trch/software/mu/build/mu4e/mu4e-compose hides /home/trch/software/mu/mu4e/mu4e-compose
/home/trch/software/mu/build/mu4e/mu4e-vars hides /home/trch/software/mu/mu4e/mu4e-vars
/home/trch/software/mu/build/mu4e/mu4e-window hides /home/trch/software/mu/mu4e/mu4e-window
/home/trch/software/mu/build/mu4e/mu4e-main hides /home/trch/software/mu/mu4e/mu4e-main
/home/trch/.emacs.d/elpa/debian-el-20231207.2347/deb-view hides /usr/share/emacs/site-lisp/elpa/debian-el-37/deb-view
/home/trch/.emacs.d/elpa/debian-el-20231207.2347/debian-bug hides /usr/share/emacs/site-lisp/elpa/debian-el-37/debian-bug
/home/trch/.emacs.d/elpa/debian-el-20231207.2347/apt-utils hides /usr/share/emacs/site-lisp/elpa/debian-el-37/apt-utils
/home/trch/.emacs.d/elpa/debian-el-20231207.2347/preseed hides /usr/share/emacs/site-lisp/elpa/debian-el-37/preseed
/home/trch/.emacs.d/elpa/debian-el-20231207.2347/apt-sources hides /usr/share/emacs/site-lisp/elpa/debian-el-37/apt-sources
/home/trch/.emacs.d/elpa/debian-el-20231207.2347/debian-el hides /usr/share/emacs/site-lisp/elpa/debian-el-37/debian-el
/home/trch/.emacs.d/elpa/debian-el-20231207.2347/debian-el-autoloads hides /usr/share/emacs/site-lisp/elpa/debian-el-37/debian-el-autoloads
/home/trch/.emacs.d/elpa/debian-el-20231207.2347/gnus-BTS hides /usr/share/emacs/site-lisp/elpa/debian-el-37/gnus-BTS
/home/trch/.emacs.d/elpa/debian-el-20231207.2347/debian-el-pkg hides /usr/share/emacs/site-lisp/elpa/debian-el-37/debian-el-pkg
/home/trch/.emacs.d/elpa/debian-el-20231207.2347/deb-view hides /usr/share/emacs/site-lisp/elpa-src/debian-el-37/deb-view
/home/trch/.emacs.d/elpa/debian-el-20231207.2347/apt-utils hides /usr/share/emacs/site-lisp/elpa-src/debian-el-37/apt-utils
/home/trch/.emacs.d/elpa/debian-el-20231207.2347/preseed hides /usr/share/emacs/site-lisp/elpa-src/debian-el-37/preseed
/home/trch/.emacs.d/elpa/debian-el-20231207.2347/debian-bug hides /usr/share/emacs/site-lisp/elpa-src/debian-el-37/debian-bug
/home/trch/.emacs.d/elpa/debian-el-20231207.2347/apt-sources hides /usr/share/emacs/site-lisp/elpa-src/debian-el-37/apt-sources
/usr/share/emacs/site-lisp/elpa/debian-el-37/debian-autoloads hides /usr/share/emacs/site-lisp/elpa-src/debian-el-37/debian-autoloads
/home/trch/.emacs.d/elpa/debian-el-20231207.2347/debian-el hides /usr/share/emacs/site-lisp/elpa-src/debian-el-37/debian-el
/home/trch/.emacs.d/elpa/debian-el-20231207.2347/debian-el-autoloads hides /usr/share/emacs/site-lisp/elpa-src/debian-el-37/debian-el-autoloads
/home/trch/.emacs.d/elpa/debian-el-20231207.2347/gnus-BTS hides /usr/share/emacs/site-lisp/elpa-src/debian-el-37/gnus-BTS
/home/trch/.emacs.d/elpa/debian-el-20231207.2347/debian-el-pkg hides /usr/share/emacs/site-lisp/elpa-src/debian-el-37/debian-el-pkg
/home/trch/.emacs.d/elpa/transient-20231216.1908/transient hides /usr/share/emacs/29.1/lisp/transient
/home/trch/software/Rust/Emacs/rust-ts-mode hides /usr/share/emacs/29.1/lisp/progmodes/rust-ts-mode
/home/trch/.emacs.d/elpa/eglot-1.15/eglot hides /usr/share/emacs/29.1/lisp/progmodes/eglot
/home/trch/.emacs.d/elpa/seq-2.24/seq hides /usr/share/emacs/29.1/lisp/emacs-lisp/seq
/home/trch/.emacs.d/elpa/eldoc-1.15.0/eldoc hides /usr/share/emacs/29.1/lisp/emacs-lisp/eldoc

Features:
(shadow visual-fill-column emacsbug misearch multi-isearch
display-line-numbers help-fns radix-tree cl-print rect goto-addr vc-hg
vc-bzr vc-src vc-sccs vc-svn vc-cvs vc-rcs log-view vc gitignore-mode
magit-extras face-remap sort smiley shr-color mm-archive mail-extr
textsec uni-scripts idna-mapping ucs-normalize uni-confusable
textsec-check qp dabbrev so-long cus-edit cus-start cus-load view lsp-jq
lsp-zig lsp-tilt lsp-steep lsp-svelte lsp-sqls lsp-solidity
lsp-ruby-syntax-tree lsp-ruby-lsp lsp-yaml lsp-xml lsp-vimscript
lsp-vhdl lsp-volar lsp-vetur lsp-html lsp-verilog lsp-vala lsp-v
lsp-typeprof lsp-ttcn3 lsp-toml lsp-terraform lsp-tex lsp-sorbet
lsp-solargraph lsp-semgrep lsp-rust lsp-rubocop lsp-rf lsp-ruff-lsp
lsp-remark lsp-racket lsp-r lsp-purescript lsp-pylsp lsp-pyls lsp-pwsh
lsp-php lsp-pls lsp-perlnavigator lsp-perl lsp-openscad lsp-ocaml
lsp-mojo lsp-magik lsp-nix lsp-nim lsp-nginx lsp-move lsp-mint lsp-mdx
lsp-marksman lsp-markdown lsp-lua lsp-kotlin lsp-json lsp-javascript
lsp-idris lsp-haxe lsp-groovy lsp-hack lsp-graphql lsp-glsl lsp-gleam
lsp-golangci-lint lsp-gdscript lsp-fsharp lsp-fortran lsp-eslint
lsp-erlang lsp-emmet lsp-elixir lsp-elm lsp-dockerfile lsp-dhall lsp-d
lsp-cypher lsp-css lsp-csharp lsp-crystal lsp-credo lsp-cmake
lsp-clojure lsp-semantic-tokens lsp-clangd lsp-bufls lsp-go
lsp-beancount lsp-bash lsp-astro lsp-asm lsp-awk lsp-autotools
lsp-ansible lsp-angular lsp-ada lsp-actionscript lsp-lens lsp-modeline
lsp-headerline lsp-icons lsp-diagnostics lsp-completion lsp-mode
lsp-protocol tree-widget spinner network-stream nsm markdown-mode color
lv inline ht f f-shortdoc shortdoc s rust-utils rust-mode rust-rustfmt
rust-playpen rust-compile rust-cargo cc-mode cc-fonts cc-guess cc-menus
cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs conf-mode sh-script
executable tar-mode arc-mode archive-mode dired-aux oc-basic ol-eww eww
url-queue mm-url ol-rmail ol-mhe ol-irc ol-info ol-gnus nnselect
ol-docview doc-view jka-compr image-mode exif ol-bibtex ol-bbdb ol-w3m
ol-doi org-link-doi reftex-auc reftex-dcr reftex reftex-loaddefs
reftex-vars latexenc preview latex latex-flymake tex-ispell tex-style
tex-mode bug-reference vc-git vc-dispatcher company-oddmuse
company-keywords company-etags etags fileloop company-gtags
company-dabbrev-code company-dabbrev company-files company-clang
company-capf company-cmake company-semantic company-template
company-bbdb company eglot external-completion jsonrpc xref seq-25 ert
ewoc debug backtrace flyspell ispell yasnippet desktop frameset
font-latex tex texmathp bibtex dune-flymake flymake-proc flymake dune
skeleton smie rust-ts-compile compile rust-ts-mode c-ts-common
abridge-diff magit-bookmark magit-submodule magit-blame magit-stash
magit-reflog magit-bisect magit-push magit-pull magit-fetch magit-clone
magit-remote magit-commit magit-sequence magit-notes magit-worktree
magit-tag magit-merge magit-branch magit-reset magit-files magit-refs
magit-status magit magit-repos magit-apply magit-wip magit-log
which-func imenu magit-diff smerge-mode diff diff-mode easy-mmode
git-commit log-edit pcvs-util add-log magit-core magit-autorevert
magit-margin magit-transient magit-process with-editor comp comp-cstr
warnings shell magit-mode transient cl-extra edmacro kmacro magit-git
magit-base magit-section cursor-sensor crm dash erc-goodies erc
erc-backend erc-networks erc-common erc-compat erc-loaddefs org-agenda
org-element org-persist xdg org-id avl-tree mu4e-icalendar
gnus-icalendar org-capture org-refile gnus-cite mu4e-contrib eshell
esh-cmd generator esh-ext esh-opt esh-proc esh-io esh-arg esh-module
esh-groups esh-util files-x mu4e mu4e-org mu4e-notification
notifications mu4e-main smtpmail mu4e-view mu4e-mime-parts thingatpt
gnus-art mm-uu mml2015 mm-view mml-smime smime gnutls dig gnus-sum
gnus-group gnus-undo gnus-start gnus-dbus dbus gnus-cloud nnimap nnmail
mail-source utf7 nnoo parse-time iso8601 gnus-spec gnus-int gnus-range
gnus-win gnus wid-edit mu4e-headers mu4e-thread mu4e-actions
mu4e-compose nnheader range mu4e-search mu4e-lists mu4e-bookmarks
mu4e-mark mu4e-message shr pixel-fill kinsoku url-file svg xml dom
flow-fill mule-util hl-line mu4e-contacts mu4e-update mu4e-folders
mu4e-context mu4e-query-items mu4e-server mu4e-modeline mu4e-vars
mu4e-helpers mu4e-config mu4e-window bookmark pp ido message sendmail
yank-media puny dired dired-loaddefs rfc822 mml mml-sec gnus-util
text-property-search mm-decode mm-bodies mm-encode mail-parse rfc2231
rfc2047 rfc2045 mm-util ietf-drums mail-prsvr mailabbrev mail-utils
gmm-utils mailheader mu4e-obsolete ob-python python project treesit org
ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-src ob-comint
org-pcomplete pcomplete comint ansi-osc ansi-color ring org-list
org-footnote org-faces org-entities time-date noutline outline icons
ob-emacs-lisp ob-core ob-eval org-cycle org-table ol org-fold
org-fold-core org-keys oc org-loaddefs find-func org-version org-compat
org-macs format-spec timeclock epa-file epa derived epg rfc6068
epg-config quail help-mode autorevert filenotify icalendar diary-lib
diary-loaddefs cal-menu calendar cal-loaddefs minions compat edit-server
advice server finder-inf adoc-mode-autoloads auto-complete-autoloads
company-auctex-autoloads auctex-autoloads tex-site company-autoloads
debian-el-autoloads eglot-jl-autoloads eglot-autoloads htmlize-autoloads
julia-ts-mode-autoloads julia-mode-autoloads lsp-mode-autoloads
eldoc-autoloads ht-autoloads lua-mode-autoloads lv-autoloads
magit-filenotify-autoloads magithub-autoloads ghub+-autoloads
apiwrap-autoloads ghub-autoloads magit-autoloads pcase
magit-section-autoloads git-commit-autoloads minions-autoloads
popup-autoloads pylint-autoloads markdown-mode-autoloads f-autoloads
sage-shell-mode-autoloads rx transient-autoloads treepy-autoloads
with-editor-autoloads info compat-autoloads seq-autoloads
yasnippet-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/pgtk-win pgtk-win term/common-win pgtk-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 dynamic-setting system-font-setting font-render-setting cairo
gtk pgtk lcms2 multi-tty make-network-process native-compile emacs)

Memory information:
((conses 16 1260606 221668)
 (symbols 48 65440 72)
 (strings 32 334338 26440)
 (string-bytes 1 9752011)
 (vectors 16 160082)
 (vector-slots 8 3803493 356695)
 (floats 8 885 1070)
 (intervals 56 18174 9143)
 (buffers 984 101))

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-12-21 19:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-21 19:55 bug#67957: 29.1; Maxmimizing a frame and restoring does not preserve the size Christophe TROESTLER

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).