From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: soliidne@gmail.com Newsgroups: gmane.emacs.bugs Subject: bug#67753: 28.2, 29.1: Making frame invisible always affects frame position parameters Date: Sat, 16 Dec 2023 14:53:47 +0200 Message-ID: References: <83plz6mjua.fsf@gnu.org> <87bkaqxrwg.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000009e5add060ca0020b" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34269"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , 67753@debbugs.gnu.org To: Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 16 16:16:25 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rEWOv-0008l1-9D for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 16 Dec 2023 16:16:25 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rEWOd-0001Bg-Fi; Sat, 16 Dec 2023 10:16:07 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rEWOZ-00019j-Ty for bug-gnu-emacs@gnu.org; Sat, 16 Dec 2023 10:16:04 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rEWOZ-0005IK-KB for bug-gnu-emacs@gnu.org; Sat, 16 Dec 2023 10:16:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rEWOa-0003Sc-7Q for bug-gnu-emacs@gnu.org; Sat, 16 Dec 2023 10:16:04 -0500 X-Loop: help-debbugs@gnu.org Resent-From: soliidne@gmail.com Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 16 Dec 2023 15:16:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67753 X-GNU-PR-Package: emacs Original-Received: via spool by 67753-submit@debbugs.gnu.org id=B67753.170273973810277 (code B ref 67753); Sat, 16 Dec 2023 15:16:04 +0000 Original-Received: (at 67753) by debbugs.gnu.org; 16 Dec 2023 15:15:38 +0000 Original-Received: from localhost ([127.0.0.1]:55723 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rEWO9-0002eY-Oe for submit@debbugs.gnu.org; Sat, 16 Dec 2023 10:15:38 -0500 Original-Received: from mail-ed1-x52e.google.com ([2a00:1450:4864:20::52e]:42363) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rEUBB-0007FZ-DU for 67753@debbugs.gnu.org; Sat, 16 Dec 2023 07:54:06 -0500 Original-Received: by mail-ed1-x52e.google.com with SMTP id 4fb4d7f45d1cf-54f4b31494fso2750054a12.1 for <67753@debbugs.gnu.org>; Sat, 16 Dec 2023 04:54:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702731239; x=1703336039; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=RhAaSp/eo0FLeaBpqku+Xc+ZBIoByPW30gWv7Q/1bi8=; b=RvSGc3K1/Wq74l72lSH/xoG89+ShKJGqobM7KBs9vPHN52LecRsH5wjfn85Xk1+BDw BmdaAMYhOKESofEXPurHq2NOXVs2H7iZnWeTd293GzorresWFVEqI1Or3C1OiKO0vyhx jaDZe3kzPxk7gCJs8f63Eh4YbktZgYXGLWB2qoZ/qB100HilGGuUCumDlyiTGFbPQTqi k/HrMJbhCiNQPjdd/iRXVOWClO4mPWIOTr+dbfX6Z4/A0446ASIxrY1qp82e2XucsAno YHwBikE8bS+P5RV5SrgIEBehXiVVxY5iJNryUvKAJEE6pRrJVdHSgk8VkB3XulGVGbrL 6EDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702731239; x=1703336039; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=RhAaSp/eo0FLeaBpqku+Xc+ZBIoByPW30gWv7Q/1bi8=; b=jkX3SsSpb84pSRl44JepZImWQmcsXdypUTE26ZRzPXHc3kTIGWPIzy3jhuBFwHdE59 eOfVrfICK5GSUkENcsjg5IOAomiyAaqYma4TXs5XMs9h8Xf5qjIcsGGGcYg6LS7UkWNk xW5AMAfpBaxOyfx1pJ4Bvhou2tKMDaykUljR1BLwDQf4MSdTkn/xXwvfRcSt80aHn/fb 9CzKafsyC+WIVNGVRrcsQ3K5ry4+GaK0QqKJ6DDr6oall98+og11IsHt7SNnybf30llU lJ9ZvJTFyyCW0GDaNfPS8p9Pg7S/Yp2wqPP/bQQLB4YOFInJGIjaGBOnlL4HbnZ19Bkx H0cQ== X-Gm-Message-State: AOJu0Yy5f+WBSIekF+DMsyhnbDkH70ViJDeR3eyKa3puEJvQN9OeQBRi Q7JiVW9oYytPvk3kXWeQ8NJMRGbJBA92O2NZwh4= X-Google-Smtp-Source: AGHT+IGkvIDmbg3SNuqFf33o47MpLGNnhJ6ORXlkasjVQwJol3umucKTsuEfILunKxg7CTv0KeX990XJI+hl1aU1OHQ= X-Received: by 2002:a50:8e06:0:b0:54c:48aa:cd18 with SMTP id 6-20020a508e06000000b0054c48aacd18mr11516967edw.40.1702731238495; Sat, 16 Dec 2023 04:53:58 -0800 (PST) In-Reply-To: <87bkaqxrwg.fsf@yahoo.com> X-Mailman-Approved-At: Sat, 16 Dec 2023 10:15:29 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:276353 Archived-At: --0000000000009e5add060ca0020b Content-Type: text/plain; charset="UTF-8" On Sat, 16 Dec 2023 20:18:07 +0800 Po Lu wrote: > Eli Zaretskii writes: > > >> From: soliidne@gmail.com > >> Date: Sun, 10 Dec 2023 19:45:49 +0200 > >> > >> 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\")" > >> # > >> $ 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)))" > >> # > >> $ 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)))" > >> # > >> $ 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)))" > >> # > >> $ emacsclient --eval "(frame-position (nth 0 (frame-list)))" > >> (-10 . 0) > > > > Po Lu, any comments? > > Did the OP mention the toolkit Emacs was built with? $ emacsclient --eval "system-configuration-options" "--sysconfdir=/etc --prefix=/usr --libexecdir=/usr/lib --localstatedir=/var --with-cairo --with-harfbuzz --with-libsystemd --with-modules --with-x-toolkit=gtk3 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/emacs/src=/usr/src/debug/emacs -flto=auto' 'LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto=auto'" --0000000000009e5add060ca0020b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Sat, 16 Dec 2023 20:18:07 +0800
Po Lu <luangruo@yahoo.com> wrote:

> Eli Zaretskii <eliz@gnu.org> writes:
>
> >> From: soliidne@gmail.com
> >> Date: Sun, 10 Dec 2023 19:45:49 +0200
> >>
> >> 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\&= quot;)"
> >> #<frame GNU Emacs at Elitebook 0x558cf8d7d120>
> >> $ emacsclient --eval "(frame-position (nth 0 (frame-list= )))"
> >> (185 . 130)
> >> $ emacsclient --eval "(make-frame-invisible (nth 0 (fram= e-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 (fram= e-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 (fram= e-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)=C2=A0
> >
> > Po Lu, any comments?=C2=A0
>
> Did the OP mention the toolkit Emacs was built with?

$ emacsclient --eval "system-configuration-options"
"--sysconfdir=3D/etc --prefix=3D/usr --libexecdir=3D/usr/lib --localst= atedir=3D/var --with-cairo --with-harfbuzz --with-libsystemd --with-modules= --with-x-toolkit=3Dgtk3 'CFLAGS=3D-march=3Dx86-64 -mtune=3Dgeneric -O2= -pipe -fno-plt -fexceptions=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0-Wp,-D_FORTIF= Y_SOURCE=3D2 -Wformat -Werror=3Dformat-security=C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0-fstack-clash-protection -fcf-protection -g -ffile-prefix-map=3D/buil= d/emacs/src=3D/usr/src/debug/emacs -flto=3Dauto' 'LDFLAGS=3D-Wl,-O1= ,--sort-common,--as-needed,-z,relro,-z,now -flto=3Dauto'"
--0000000000009e5add060ca0020b--