unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#67753: 28.2, 29.1: Making frame invisible always affects frame position parameters
@ 2023-12-10 17:45 soliidne
  2023-12-16 12:07 ` Eli Zaretskii
  0 siblings, 1 reply; 9+ messages in thread
From: soliidne @ 2023-12-10 17:45 UTC (permalink / raw)
  To: 67753

[-- Attachment #1: Type: text/plain, Size: 1551 bytes --]

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)

[-- Attachment #2: Type: text/html, Size: 1948 bytes --]

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

end of thread, other threads:[~2024-01-20  9:36 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-10 17:45 bug#67753: 28.2, 29.1: Making frame invisible always affects frame position parameters soliidne
2023-12-16 12:07 ` Eli Zaretskii
2023-12-16 12:18   ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-12-16 12:53     ` soliidne
2023-12-23  9:05       ` Eli Zaretskii
2024-01-09 19:58         ` Eli Zaretskii
2024-01-10 10:25           ` soliidne
2024-01-20  9:09             ` Eli Zaretskii
2024-01-20  9:36               ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors

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