GNU bug report logs - #67753
28.2, 29.1: Making frame invisible always affects frame position parameters

Previous Next

Package: emacs;

Reported by: soliidne <at> gmail.com

Date: Sun, 10 Dec 2023 17:50:02 UTC

Severity: normal

Found in version 28.2

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: soliidne <at> gmail.com
To: bug-gnu-emacs <at> gnu.org
Subject: 28.2,
 29.1: Making frame invisible always affects frame position parameters
Date: Sun, 10 Dec 2023 19:45:49 +0200
[Message part 1 (text/plain, inline)]
Hi !

Always for all frames, position constantly affected by: left - 5 and top -
29.
It seems like a bug, but it could also be an oversight. Can someone comment
please ?

Thanks !

xfwm4 4.18.0
xorg-server 21.1.9
Emacs 28.2, 29.1
Archlinux

How to reproduce:
#################

$ emacs --fg-daemon -Q
...
Starting Emacs daemon.
$ emacsclient --eval "(make-frame-on-display \":0\")"
#<frame GNU Emacs at Elitebook 0x558cf8d7d120>
$ emacsclient --eval "(frame-position (nth 0 (frame-list)))"
(185 . 130)
$ emacsclient --eval "(make-frame-invisible (nth 0 (frame-list)) t)"
nil
$ emacsclient --eval "(frame-position (nth 0 (frame-list)))"
(180 . 101)

Moving frame to left-top corner
###############################

$ emacsclient --eval "(make-frame-visible (nth 0 (frame-list)))"
#<frame GNU Emacs at Elitebook 0x558cf8d7d120>
$ emacsclient --eval "(frame-position (nth 0 (frame-list)))"
(0 . 0)
$ emacsclient --eval "(make-frame-invisible (nth 0 (frame-list)) t)"
nil
$ emacsclient --eval "(frame-position (nth 0 (frame-list)))"
(-5 . -29)
$ emacsclient --eval "(make-frame-visible (nth 0 (frame-list)))"
#<frame GNU Emacs at Elitebook 0x558cf8d7d120>
$ emacsclient --eval "(frame-position (nth 0 (frame-list)))"
(-5 . 0)
$ emacsclient --eval "(make-frame-invisible (nth 0 (frame-list)) t)"
nil
$ emacsclient --eval "(frame-position (nth 0 (frame-list)))"
(-10 . -29)
$ emacsclient --eval "(make-frame-visible (nth 0 (frame-list)))"
#<frame GNU Emacs at Elitebook 0x558cf8d7d120>
$ emacsclient --eval "(frame-position (nth 0 (frame-list)))"
(-10 . 0)
[Message part 2 (text/html, inline)]

This bug report was last modified 1 year and 230 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.