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

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: soliidne@HIDDEN; dated Sun, 10 Dec 2023 17:50:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 67753 <at> debbugs.gnu.org:


Received: (at 67753) by debbugs.gnu.org; 20 Jan 2024 09:37:20 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jan 20 04:37:20 2024
Received: from localhost ([127.0.0.1]:60854 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rR7mx-0001bn-QZ
	for submit <at> debbugs.gnu.org; Sat, 20 Jan 2024 04:37:20 -0500
Received: from sonic301-31.consmr.mail.ne1.yahoo.com ([66.163.184.200]:35275)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <luangruo@HIDDEN>) id 1rR7mv-0001bX-2r
 for 67753 <at> debbugs.gnu.org; Sat, 20 Jan 2024 04:37:17 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1705743427; bh=YQxfB5kHTknIhsyIBj1Jwo4xsyz4JwqNG+y45RTtgyY=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To;
 b=L/3YmTh2/eh7VEiEleoi5LY2OvO3H0h5pkwGxAzaWutUlH/9rOlyiHB8a3oyi3tAozemKEkZ4ECQGxeu/1u88g0C7K4T0QBGT1GOowjfpxXZrnjBc6bCj2WpsxYBVAG7EWad8czG34YCwM4BDCTXRgW1KHEajjyYne3eRGfUoOrqiCxIMP8Z0M3+Z+7lbYp+cMdQb01rt++/n9LfAg0gXTCI7+EF8qhVfff+rcu6iNRnPOPO+VhIZceIXIf/6hO/g9N9nZEQ/JApCKCdV2XQtSH0KWirZtbxJEAau7laIhCo/8LhytP8pwUTuzK8fhsdwuRLQTtNPCnQnB0pPBn39w==
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1705743427; bh=+McTazGZEqUUr4xOi7Bk46wbYTSlv73b/lsKNBk8HKm=;
 h=X-Sonic-MF:From:To:Subject:Date:From:Subject;
 b=duyvIpf2rEFk76q1jvR653BVKJMKLjWQ6ysrIhu5SXMHDuGnLjAluEB1rnhuVUrDXejGdYfrWiHDSgvp9Gznn0HseHifSygqYljJe0z7ECPLYYIZxnGWTRLjtCmV7FdBFek3/OZPdCUoqiyAvRnCLNbOdQKP2Xy1nzULeW4yUTRgkfMMUfOeHvazvjWdrQue5fK+TyC9yjC/9YwWAURMsiUO0Te1dt5/b8nxhTcGr2QOYxORfGDgp1tlSOHHpX/IRDZg75YUM1w+wAzdf57Cc8Znql/fwk3nVwO2iJ4sR/YfRtetChc4/Inb7nvUsbpDf/+W+aJhiEBTQSWfmhVayQ==
X-YMail-OSG: zNvdiHkVM1mB71jWtrdp814c2V3Evaf3hOkOT1mTXmIOmHVmXKspRG1KI_uCR5R
 70ZK8xXg_WbnK62DpMW14WwPeRq1s8tAwv_C.i88NsCGzv2ReovVIBCBR_CJ6.FMaY2NLt9.0hQc
 0N5qOLGoG2T6ex9IonJGQmybD5lhx9yzxY7bD1Cff7gfCX3aLL3fr4JFxMYn3OqySGXh3Yt6ApRZ
 pTSMNNFH0hBRf2._X5J4V2qi5TgUwjx7LgNwvkCaP3LIYOWYFFgORrTv_.WBpuUua8svtes04BhK
 eAO08fl1eOAzqbln3bbKNf6xIvCfEJQPq0s9.Bjbog_vSi.S6DjDM13XNpMhUfMt_dV5wfrgs1DG
 VFDQQpELiVpMOnPVFVMXr1augaQKGJUw14gQlBDGMdJiaCXUZLN1dY4YkIeVxKj7P5IHFspZwELv
 rIVUqfXI4pPZ0cIswJxzXFbp.LAJr5l79e3maHWP5GlM9ds8EoEVzS0KvRd1dJhmcGTw9TYiyJr4
 oaLc6Xt2dHiNoU3OUm0jrTJjpmOEaV_F2HzB461PZ0FBe5.zKIJ8x1g4VL94iD1peMRvFljagD.Y
 oz9iK3Aw7mIrfCCoyxMn_QyK9f7oByRgZLeaQtufp9TYZXMcg_a8bWNJkJlNV.aExLz_icJnfjLa
 Fai.PV7.KuWIPTF1BNuyQBpPiYxfQ7Y0HLd4mnHIpbRMzy.iIBBfnxd0jqGU8arxpgULBHFXGJdA
 6bv.7fgzYpKguH4R5U3tI5Se3itVtAs7WXK83rJuCS1TUWv9ufTirgHiWokwbbCgd1Kznk7mTtLK
 bEdnVLv03UuOKtc1H0HtIh1KrFZqRDV9ATJOW4gO83BQ8oHq6nHIOfJ4QkVfCw4k09CnnIa0WiIN
 w8QxNPEDNC9unk6cS5SbvHSkOWWDWR3MXYRtLH_qpIx6v2LYw4bs56Ua20hp3olX6N_oYkDCaAVg
 ZOa3gkofGGM2h_Brj.SAAtBUsqM7yAkenIy73RkOl39Zyg1n9_AB4ONfHygnhVB2.qTK4vWDOsSq
 BfEDeE_Vopaupe99oAo8LyxAiZkXdmnbvEuUrFOKiNLjnoPfRAaSshJFuzB9ruOUz5qJvyaFfrcy
 UE5y0vdSVsUWKt9xh5qyPRGbYOb9lAje5oCPYCyGk4t1JEPi60wxUqHDUaa5MBuqMt4HEoRklpZ.
 LCQJ4okWAOPH.XNN8JqzphyFnJWLV2Xr5RnQg2GJaubkuMEtI3ok4IR4SX5Bhd_zNLiPpmU7nriC
 u0QcJhmI25v5zlPRYt8uNqpJ4AYQBPXD7JkJuz2zrbNA4hRqSNNcxffcHWaXi8jGeWFes1z32o_I
 sHNrCxuvcR.K48tl865ag4sfYe99qovC6oSUiFed.8ERjjTVIxrG5PyJ9RGKref6v8sb40112OV7
 YYA9Ack2c_uEToXCnRhFovEdxMD6N5rRiiFR3kGkzFYBO5qgXGMSbMwPRCkp7spsQfh33gIDKVbV
 DGdbwSbdkiaO33ZuEmsLSKiDpw0UaC.LFcZzKkbpev89uvvnB5H6.r2UmfwcyBPkVNNZ3.A8ouxG
 caqiQHaKlTdamKm949oWJr4HCnK6OJn1cDY3eQrtfKQSDlWlXjUfJo2z8Z8L_QWKM7p.mPmOOCix
 dXCt8GARaK7ddiOX9X6ZgKfBJ4FSfjMGWneGq0OiUCznIY1VQkG3Uy4HXEYN_kFQfk5O0IrCFqVE
 CfpDX5QCA10eA3S0SqDry9dT7oC1YGINoSyLSFuxdpkaG7ZnUuluhFUd18ZJ7cHUW0YReDsm.FTS
 AfHiJGatxF4tgY0kgDfj2Pbd6BWDPrwL.2KoQDH5iusWGH6rM_RevuudsQYSiaQWzNwxFt3SaDAW
 YQvWlQCRcdGLBI7BXoL7DATZqQr9KuZ5mWPCHrvoihsJDZ_SmnvQSDR19FkKUuQUxYV4Qr269Ife
 YazvLnc4imbZZJ2_YxDmrPi_TfzEVfVvR0yxSJjKdwa4nIbm8ZhOEMvdbsrk9VL7_PTJWQrMZ2AH
 gNBbTet2HwT_PDKw0Hve9CjaGpNbTYXetye2s1_5ownPyrEj0xfsVs6QkzZ53ekPil1LE.g7pU1U
 a7Gz7cm9_fkCXZywspjgRifDw.FsJcw9HMympBeFVEMYVPwp_aG6QTelXegH.qjwgzrlHtJsL2yp
 ZJ7AKqBft35E4NoLF_Ix8MYRez15h2UaB2b4HVtOVT5aIQO8Mc.QiW17HCz5A5oplmKBj2.OXspe
 TtLy1un.KtVvSAOHgYepUs5W62PyjFMbNbHsya.m03yu0eFZ69UYO61V6a6cFm4A-
X-Sonic-MF: <luangruo@HIDDEN>
X-Sonic-ID: 534d8171-f3c5-4833-8822-f9df29751ec9
Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic301.consmr.mail.ne1.yahoo.com with HTTP; Sat, 20 Jan 2024 09:37:07 +0000
Received: by hermes--production-sg3-677476f564-s2dnr (Yahoo Inc. Hermes SMTP
 Server) with ESMTPA ID 190f0037f51045f478895f5d43f8d9ad; 
 Sat, 20 Jan 2024 09:37:02 +0000 (UTC)
From: Po Lu <luangruo@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#67753: 28.2, 29.1: Making frame invisible always affects
 frame position parameters
In-Reply-To: <83o7dgtlpu.fsf@HIDDEN> (Eli Zaretskii's message of "Sat, 20 Jan
 2024 11:09:33 +0200")
References: <CAKCdrGVDOLAyrZo+iOv+18A+LhNoDYmCOHzwMpnq8Zo1duCNjg@HIDDEN>
 <83plz6mjua.fsf@HIDDEN> <87bkaqxrwg.fsf@HIDDEN>
 <CAKCdrGXE0DyhwSbi5uk4vLReBmcSgSQ8iCPr0TTL0EPar96SaA@HIDDEN>
 <83le9le1bh.fsf@HIDDEN> <83ttnmnust.fsf@HIDDEN>
 <CAKCdrGV5MG+1j5JhMzxZHhxqS5_WCAFp-Eaywu5fhrf9pdBYvA@HIDDEN>
 <83o7dgtlpu.fsf@HIDDEN>
Date: Sat, 20 Jan 2024 17:36:58 +0800
Message-ID: <87bk9guz0l.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Mailer: WebService/1.1.22027
 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo
Content-Length: 1361
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: 67753
Cc: 67753 <at> debbugs.gnu.org, soliidne@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Eli Zaretskii <eliz@HIDDEN> writes:

> Po Lu, any comments or suggestions on this matter?
>
>> From: soliidne@HIDDEN
>> Date: Wed, 10 Jan 2024 12:25:19 +0200
>> Cc: Po Lu <luangruo@HIDDEN>, 67753 <at> debbugs.gnu.org
>>=20
>> Hi !
>>=20
>> Probable bug in void xfns.c =E2=86=92 x_real_pos_and_offsets interpretin=
g _NET_FRAME_EXTENTS set in
>> Application Window Properties by WM.
>>=20
>> Current visible Emacs frame parameters:
>>=20
>> _NET_FRAME_EXTENTS(CARDINAL) =3D 5, 5, 29, 5
>>=20
>> That means these are Emacs frame border and frame title thicknesses.
>>=20
>> The Window Manager MUST set _NET_FRAME_EXTENTS to the extents of the win=
dow's frame.
>> left, right, top and bottom are widths of the respective borders added b=
y the Window Manager.

Would you please elaborate on the nature of the bug you perceive?  I get
the impression that you're referring to x_real_pos_and_offsets's
consulting this property in itself, but that is no bug, since the
offsets are not returned as the frame's left and top coordinates, but
are subtracted from its position relative to the root window as
determined from calls to XTranslateCoordinates and XGetGeometry instead.

Unfortunately there is a backlog of X window management related issues I
cannot investigate at the moment, so any input would be appreciated, or
rather, more so than in the past.

Thanks.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#67753; Package emacs. Full text available.

Message received at 67753 <at> debbugs.gnu.org:


Received: (at 67753) by debbugs.gnu.org; 20 Jan 2024 09:10:04 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jan 20 04:10:04 2024
Received: from localhost ([127.0.0.1]:60825 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rR7MZ-0003rA-F9
	for submit <at> debbugs.gnu.org; Sat, 20 Jan 2024 04:10:03 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:55950)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1rR7MY-0003qZ-3G
 for 67753 <at> debbugs.gnu.org; Sat, 20 Jan 2024 04:10:02 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1rR7MQ-0004Gi-0h; Sat, 20 Jan 2024 04:09:54 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From:
 Date; bh=0VlO1BLgwDqi9ih0qicy8CY6hrE912CWr9u5K3nppwQ=; b=lhZpkEln/2cU95yhT+XP
 /PvYGJ7ulSII134thlGFNL245o1reogVU4VD721VLBWb2UKkIM0ZjbheIBl3Ph/+fJSfkk5Dnmv04
 R7LC3YWWLsZcyVIH7XQ9ou9BijJKYVepW0nMiHpavwiHe6Cg4uNGXvpkyHHBzgAM+KnQAjyMbxwWf
 5sI3aLS4mlTim2UAsps0ojVsSCpDzp86zEU5aYW6Sg1AjkaHekBd3CZ+HXibYXWJ6/Po1tmz+Ykqk
 CTC8GkPKvi2GNWLswtflodWfqnLi52ssULg6MPx1wWRc3PHJsZuoa2GOuZb4ASrM+kyY82yUubC6o
 VBP2B62/7gbAOA==;
Date: Sat, 20 Jan 2024 11:09:33 +0200
Message-Id: <83o7dgtlpu.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: luangruo@HIDDEN, soliidne@HIDDEN
In-Reply-To: <CAKCdrGV5MG+1j5JhMzxZHhxqS5_WCAFp-Eaywu5fhrf9pdBYvA@HIDDEN>
 (soliidne@HIDDEN)
Subject: Re: bug#67753: 28.2, 29.1: Making frame invisible always affects
 frame position parameters
References: <CAKCdrGVDOLAyrZo+iOv+18A+LhNoDYmCOHzwMpnq8Zo1duCNjg@HIDDEN>
 <83plz6mjua.fsf@HIDDEN> <87bkaqxrwg.fsf@HIDDEN>
 <CAKCdrGXE0DyhwSbi5uk4vLReBmcSgSQ8iCPr0TTL0EPar96SaA@HIDDEN>
 <83le9le1bh.fsf@HIDDEN> <83ttnmnust.fsf@HIDDEN>
 <CAKCdrGV5MG+1j5JhMzxZHhxqS5_WCAFp-Eaywu5fhrf9pdBYvA@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 67753
Cc: 67753 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Po Lu, any comments or suggestions on this matter?

> From: soliidne@HIDDEN
> Date: Wed, 10 Jan 2024 12:25:19 +0200
> Cc: Po Lu <luangruo@HIDDEN>, 67753 <at> debbugs.gnu.org
> 
> Hi !
> 
> Probable bug in void xfns.c → x_real_pos_and_offsets interpreting _NET_FRAME_EXTENTS set in
> Application Window Properties by WM.
> 
> Current visible Emacs frame parameters:
> 
> _NET_FRAME_EXTENTS(CARDINAL) = 5, 5, 29, 5
> 
> That means these are Emacs frame border and frame title thicknesses.
> 
> The Window Manager MUST set _NET_FRAME_EXTENTS to the extents of the window's frame.
> left, right, top and bottom are widths of the respective borders added by the Window Manager.
> -----
> Original Reference: [[https://specifications.freedesktop.org/wm-spec/1.4/ar01s05.html][Application
> Window Properties]]
> 
> On Tue, 09 Jan 2024 21:58:10 +0200
> Eli Zaretskii <eliz@HIDDEN> wrote:
> 
> > Ping! Ping!  Can we make some progress here, please?
> > 
> > > Cc: 67753 <at> debbugs.gnu.org
> > > Date: Sat, 23 Dec 2023 11:05:22 +0200
> > > From: Eli Zaretskii <eliz@HIDDEN>
> > > 
> > > Ping!  Po Lu, can we make some progress here?
> > >   
> > > > From: soliidne@HIDDEN
> > > > Date: Sat, 16 Dec 2023 14:53:47 +0200
> > > > Cc: Eli Zaretskii <eliz@HIDDEN>, 67753 <at> debbugs.gnu.org
> > > > 
> > > > On Sat, 16 Dec 2023 20:18:07 +0800
> > > > Po Lu <luangruo@HIDDEN> wrote:
> > > >   
> > > > > Eli Zaretskii <eliz@HIDDEN> writes:
> > > > >   
> > > > > >> From: soliidne@HIDDEN
> > > > > >> 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\")"
> > > > > >> #<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
> > > > > >> 0x558cf8d7d120> (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
> > > > > >> 0x558cf8d7d120> (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
> > > > > >> 0x558cf8d7d120> (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'"  
> > > 
> > > 
> > > 
> > >   




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#67753; Package emacs. Full text available.

Message received at 67753 <at> debbugs.gnu.org:


Received: (at 67753) by debbugs.gnu.org; 10 Jan 2024 12:04:21 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jan 10 07:04:21 2024
Received: from localhost ([127.0.0.1]:42412 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rNXJk-0003oL-Bl
	for submit <at> debbugs.gnu.org; Wed, 10 Jan 2024 07:04:21 -0500
Received: from mail-ed1-x532.google.com ([2a00:1450:4864:20::532]:61792)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <asjadeseis@HIDDEN>) id 1rNVmK-0007Gs-MV
 for 67753 <at> debbugs.gnu.org; Wed, 10 Jan 2024 05:25:45 -0500
Received: by mail-ed1-x532.google.com with SMTP id
 4fb4d7f45d1cf-55818b733f7so1671139a12.3
 for <67753 <at> debbugs.gnu.org>; Wed, 10 Jan 2024 02:25:37 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1704882331; x=1705487131; 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=WBiQd7L4w9tWgPiYcuH2mkTBrMLIWBJUk13le++t5Ww=;
 b=knSmjAAEk5Ix6IBY8OlkIh1csdq0LD+5SpE3/S8mCvd2fDVqaL82kJV6MNAs8Fr17t
 eQAyC54gYPucXUmtLm+HZ1Ftjj7mRbU+2CEae/qLbOI2cRK4Fuw1KyOZr9Qr8A8bZ6Xa
 ZC1L6hqy0R2jaamiM6uz2zlc21Y1F7al57Q43wD60hK5NGT1XGDL6GPkiGjpNAQXeuH+
 SW5HCq1t2/ILG+ir9ZH9WdSO1jwDCo2gYFm7z6p1COYdfGfuRR2oq0XM7sANmRBySEX+
 fQMuxkJZUKW5riPIohEenO9PIcnM7cFeawi2ZoKM1edITOvaUIOF/GYg6T4hz6XOjCOv
 isCw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1704882331; x=1705487131;
 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=WBiQd7L4w9tWgPiYcuH2mkTBrMLIWBJUk13le++t5Ww=;
 b=rQLoJH1/dsUe5w4vbs58CIlkyPZ4z4qOKYzXTtzUnAfZfXRjnsXysuh/OVWaJfn9SG
 IyWUIO7489m+YkZtygyUw+Zuf64K/7Wi6DgLs1vhtsKdw0eMNbjwvq3D5twFfWjhtdOB
 aFPfuj00dDb5o9wiTL37Ibgr60XyFay+t4j41tvhHrOCWCiZ3QlrM1TnytasdxkPO+MV
 /FwAxMX9UgfTOkGUFurgyYBxl8Ey2A2b9TnkT9Z+F+kvOb7Yz5d7iwts/dB+NT/H2Qdp
 IsK+NbyKhvOESQ4Ip+vY+5UPfHTBfFlqW6d0Ujw7Xuu2UIsX633hmhnxcl8l9ZyJ/7tu
 7mMQ==
X-Gm-Message-State: AOJu0YzppYYNW1wKjICK0YdBQixITkkSWXEE/4t85aE38fFwo4UzklI3
 9TgTmwAW1rYU8ViduT3JE3PV7O39j7MnTX45Olw=
X-Google-Smtp-Source: AGHT+IHWEhuhCI+EvYAYxj8oHT1iYmpJCd60LzNDyBanuNjvZ9k6q+k8pH6qthUPv7Wnbt6pdgFZ806+YK++lEPLC2g=
X-Received: by 2002:a50:8e56:0:b0:557:8d37:2e8d with SMTP id
 22-20020a508e56000000b005578d372e8dmr363644edx.15.1704882331183; Wed, 10 Jan
 2024 02:25:31 -0800 (PST)
MIME-Version: 1.0
References: <CAKCdrGVDOLAyrZo+iOv+18A+LhNoDYmCOHzwMpnq8Zo1duCNjg@HIDDEN>
 <83plz6mjua.fsf@HIDDEN> <87bkaqxrwg.fsf@HIDDEN>
 <CAKCdrGXE0DyhwSbi5uk4vLReBmcSgSQ8iCPr0TTL0EPar96SaA@HIDDEN>
 <83le9le1bh.fsf@HIDDEN> <83ttnmnust.fsf@HIDDEN>
In-Reply-To: <83ttnmnust.fsf@HIDDEN>
From: soliidne@HIDDEN
Date: Wed, 10 Jan 2024 12:25:19 +0200
Message-ID: <CAKCdrGV5MG+1j5JhMzxZHhxqS5_WCAFp-Eaywu5fhrf9pdBYvA@HIDDEN>
Subject: Re: bug#67753: 28.2, 29.1: Making frame invisible always affects
 frame position parameters
To: Eli Zaretskii <eliz@HIDDEN>
Content-Type: multipart/alternative; boundary="000000000000bbef28060e94d916"
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 67753
X-Mailman-Approved-At: Wed, 10 Jan 2024 07:04:19 -0500
Cc: Po Lu <luangruo@HIDDEN>, 67753 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--000000000000bbef28060e94d916
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hi !

Probable bug in void xfns.c =E2=86=92 x_real_pos_and_offsets interpreting
_NET_FRAME_EXTENTS set in Application Window Properties by WM.

Current visible Emacs frame parameters:

_NET_FRAME_EXTENTS(CARDINAL) =3D 5, 5, 29, 5

That means these are Emacs frame border and frame title thicknesses.

The Window Manager MUST set _NET_FRAME_EXTENTS to the extents of the
window's frame. left, right, top and bottom are widths of the respective
borders added by the Window Manager.
-----
Original Reference: [[
https://specifications.freedesktop.org/wm-spec/1.4/ar01s05.html][Applicatio=
n
Window Properties]]


On Tue, 09 Jan 2024 21:58:10 +0200
Eli Zaretskii <eliz@HIDDEN> wrote:

> Ping! Ping!  Can we make some progress here, please?
>
> > Cc: 67753 <at> debbugs.gnu.org
> > Date: Sat, 23 Dec 2023 11:05:22 +0200
> > From: Eli Zaretskii <eliz@HIDDEN>
> >
> > Ping!  Po Lu, can we make some progress here?
> >
> > > From: soliidne@HIDDEN
> > > Date: Sat, 16 Dec 2023 14:53:47 +0200
> > > Cc: Eli Zaretskii <eliz@HIDDEN>, 67753 <at> debbugs.gnu.org
> > >
> > > On Sat, 16 Dec 2023 20:18:07 +0800
> > > Po Lu <luangruo@HIDDEN> wrote:
> > >
> > > > Eli Zaretskii <eliz@HIDDEN> writes:
> > > >
> > > > >> From: soliidne@HIDDEN
> > > > >> 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\")"
> > > > >> #<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
> > > > >> 0x558cf8d7d120> (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
> > > > >> 0x558cf8d7d120> (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
> > > > >> 0x558cf8d7d120> (frame-list)))"
> > > > >> (-10 . 0)
> > > > >
> > > > > Po Lu, any comments?
> > > >
> > > > 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
> > > --localstatedir=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         -Wp,-D_FORTIFY_SOURCE=3D2 -Wformat
> > > -Werror=3Dformat-security -fstack-clash-protection -fcf-protection
> > > -g -ffile-prefix-map=3D/build/emacs/src=3D/usr/src/debug/emacs -
> > > flto=3Dauto'
> > > 'LDFLAGS=3D-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now
> > > -flto=3Dauto'"
> >
> >
> >
> >

--000000000000bbef28060e94d916
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto">Hi !<br>
<br>
Probable bug in void xfns.c =E2=86=92 x_real_pos_and_offsets interpreting _=
NET_FRAME_EXTENTS set in Application Window Properties by WM.<br>
<br>
Current visible Emacs frame parameters:<br>
<br>
_NET_FRAME_EXTENTS(CARDINAL) =3D 5, 5, 29, 5<br>
<br>
That means these are Emacs frame border and frame title thicknesses.<br>
<br>
The Window Manager MUST set _NET_FRAME_EXTENTS to the extents of the window=
&#39;s frame. left, right, top and bottom are widths of the respective bord=
ers added by the Window Manager.<br>
-----<br>
Original Reference: [[<a href=3D"https://specifications.freedesktop.org/wm-=
spec/1.4/ar01s05.html%5D%5BApplication" rel=3D"noreferrer noreferrer" targe=
t=3D"_blank">https://specifications.freedesktop.org/wm-spec/1.4/ar01s05.htm=
l][Application</a> Window Properties]]<br>
<br>
<br>
On Tue, 09 Jan 2024 21:58:10 +0200<br>
Eli Zaretskii &lt;<a href=3D"mailto:eliz@HIDDEN" target=3D"_blank" rel=3D"=
noreferrer">eliz@HIDDEN</a>&gt; wrote:<br>
<br>
&gt; Ping! Ping!=C2=A0 Can we make some progress here, please?<br>
&gt; <br>
&gt; &gt; Cc: <a href=3D"mailto:67753 <at> debbugs.gnu.org" target=3D"_blank" re=
l=3D"noreferrer">67753 <at> debbugs.gnu.org</a><br>
&gt; &gt; Date: Sat, 23 Dec 2023 11:05:22 +0200<br>
&gt; &gt; From: Eli Zaretskii &lt;<a href=3D"mailto:eliz@HIDDEN" target=3D=
"_blank" rel=3D"noreferrer">eliz@HIDDEN</a>&gt;<br>
&gt; &gt; <br>
&gt; &gt; Ping!=C2=A0 Po Lu, can we make some progress here?<br>
&gt; &gt;=C2=A0 =C2=A0<br>
&gt; &gt; &gt; From: <a href=3D"mailto:soliidne@HIDDEN" target=3D"_blank=
" rel=3D"noreferrer">soliidne@HIDDEN</a><br>
&gt; &gt; &gt; Date: Sat, 16 Dec 2023 14:53:47 +0200<br>
&gt; &gt; &gt; Cc: Eli Zaretskii &lt;<a href=3D"mailto:eliz@HIDDEN" target=
=3D"_blank" rel=3D"noreferrer">eliz@HIDDEN</a>&gt;, <a href=3D"mailto:6775=
3 <at> debbugs.gnu.org" target=3D"_blank" rel=3D"noreferrer">67753@HIDDEN=
rg</a><br>
&gt; &gt; &gt; <br>
&gt; &gt; &gt; On Sat, 16 Dec 2023 20:18:07 +0800<br>
&gt; &gt; &gt; Po Lu &lt;<a href=3D"mailto:luangruo@HIDDEN" target=3D"_b=
lank" rel=3D"noreferrer">luangruo@HIDDEN</a>&gt; wrote:<br>
&gt; &gt; &gt;=C2=A0 =C2=A0<br>
&gt; &gt; &gt; &gt; Eli Zaretskii &lt;<a href=3D"mailto:eliz@HIDDEN" targe=
t=3D"_blank" rel=3D"noreferrer">eliz@HIDDEN</a>&gt; writes:<br>
&gt; &gt; &gt; &gt;=C2=A0 =C2=A0<br>
&gt; &gt; &gt; &gt; &gt;&gt; From: <a href=3D"mailto:soliidne@HIDDEN" ta=
rget=3D"_blank" rel=3D"noreferrer">soliidne@HIDDEN</a><br>
&gt; &gt; &gt; &gt; &gt;&gt; Date: Sun, 10 Dec 2023 19:45:49 +0200<br>
&gt; &gt; &gt; &gt; &gt;&gt; <br>
&gt; &gt; &gt; &gt; &gt;&gt; Always for all frames, position constantly aff=
ected by: left<br>
&gt; &gt; &gt; &gt; &gt;&gt; - 5 and top - 29. It seems like a bug, but it =
could also be<br>
&gt; &gt; &gt; &gt; &gt;&gt; an oversight. Can someone comment please ?<br>
&gt; &gt; &gt; &gt; &gt;&gt; <br>
&gt; &gt; &gt; &gt; &gt;&gt; Thanks !<br>
&gt; &gt; &gt; &gt; &gt;&gt; <br>
&gt; &gt; &gt; &gt; &gt;&gt; xfwm4 4.18.0<br>
&gt; &gt; &gt; &gt; &gt;&gt; xorg-server 21.1.9<br>
&gt; &gt; &gt; &gt; &gt;&gt; Emacs 28.2, 29.1<br>
&gt; &gt; &gt; &gt; &gt;&gt; Archlinux<br>
&gt; &gt; &gt; &gt; &gt;&gt; <br>
&gt; &gt; &gt; &gt; &gt;&gt; How to reproduce:<br>
&gt; &gt; &gt; &gt; &gt;&gt; #################<br>
&gt; &gt; &gt; &gt; &gt;&gt; <br>
&gt; &gt; &gt; &gt; &gt;&gt; $ emacs --fg-daemon -Q<br>
&gt; &gt; &gt; &gt; &gt;&gt; ...<br>
&gt; &gt; &gt; &gt; &gt;&gt; Starting Emacs daemon.<br>
&gt; &gt; &gt; &gt; &gt;&gt; $ emacsclient --eval &quot;(make-frame-on-disp=
lay \&quot;:0\&quot;)&quot;<br>
&gt; &gt; &gt; &gt; &gt;&gt; #&lt;frame GNU Emacs at Elitebook 0x558cf8d7d1=
20&gt;<br>
&gt; &gt; &gt; &gt; &gt;&gt; $ emacsclient --eval &quot;(frame-position (nt=
h 0 (frame-list)))&quot;<br>
&gt; &gt; &gt; &gt; &gt;&gt; (185 . 130)<br>
&gt; &gt; &gt; &gt; &gt;&gt; $ emacsclient --eval &quot;(make-frame-invisib=
le (nth 0<br>
&gt; &gt; &gt; &gt; &gt;&gt; (frame-list)) t)&quot; nil<br>
&gt; &gt; &gt; &gt; &gt;&gt; $ emacsclient --eval &quot;(frame-position (nt=
h 0 (frame-list)))&quot;<br>
&gt; &gt; &gt; &gt; &gt;&gt; (180 . 101)<br>
&gt; &gt; &gt; &gt; &gt;&gt; <br>
&gt; &gt; &gt; &gt; &gt;&gt; Moving frame to left-top corner<br>
&gt; &gt; &gt; &gt; &gt;&gt; ###############################<br>
&gt; &gt; &gt; &gt; &gt;&gt; <br>
&gt; &gt; &gt; &gt; &gt;&gt; $ emacsclient --eval &quot;(make-frame-visible=
 (nth 0<br>
&gt; &gt; &gt; &gt; &gt;&gt; (frame-list)))&quot; #&lt;frame GNU Emacs at E=
litebook<br>
&gt; &gt; &gt; &gt; &gt;&gt; 0x558cf8d7d120&gt; $ emacsclient --eval &quot;=
(frame-position (nth 0<br>
&gt; &gt; &gt; &gt; &gt;&gt; 0x558cf8d7d120&gt; (frame-list)))&quot;<br>
&gt; &gt; &gt; &gt; &gt;&gt; (0 . 0)<br>
&gt; &gt; &gt; &gt; &gt;&gt; $ emacsclient --eval &quot;(make-frame-invisib=
le (nth 0<br>
&gt; &gt; &gt; &gt; &gt;&gt; (frame-list)) t)&quot; nil<br>
&gt; &gt; &gt; &gt; &gt;&gt; $ emacsclient --eval &quot;(frame-position (nt=
h 0 (frame-list)))&quot;<br>
&gt; &gt; &gt; &gt; &gt;&gt; (-5 . -29)<br>
&gt; &gt; &gt; &gt; &gt;&gt; $ emacsclient --eval &quot;(make-frame-visible=
 (nth 0<br>
&gt; &gt; &gt; &gt; &gt;&gt; (frame-list)))&quot; #&lt;frame GNU Emacs at E=
litebook<br>
&gt; &gt; &gt; &gt; &gt;&gt; 0x558cf8d7d120&gt; $ emacsclient --eval &quot;=
(frame-position (nth 0<br>
&gt; &gt; &gt; &gt; &gt;&gt; 0x558cf8d7d120&gt; (frame-list)))&quot;<br>
&gt; &gt; &gt; &gt; &gt;&gt; (-5 . 0)<br>
&gt; &gt; &gt; &gt; &gt;&gt; $ emacsclient --eval &quot;(make-frame-invisib=
le (nth 0<br>
&gt; &gt; &gt; &gt; &gt;&gt; (frame-list)) t)&quot; nil<br>
&gt; &gt; &gt; &gt; &gt;&gt; $ emacsclient --eval &quot;(frame-position (nt=
h 0 (frame-list)))&quot;<br>
&gt; &gt; &gt; &gt; &gt;&gt; (-10 . -29)<br>
&gt; &gt; &gt; &gt; &gt;&gt; $ emacsclient --eval &quot;(make-frame-visible=
 (nth 0<br>
&gt; &gt; &gt; &gt; &gt;&gt; (frame-list)))&quot; #&lt;frame GNU Emacs at E=
litebook<br>
&gt; &gt; &gt; &gt; &gt;&gt; 0x558cf8d7d120&gt; $ emacsclient --eval &quot;=
(frame-position (nth 0<br>
&gt; &gt; &gt; &gt; &gt;&gt; 0x558cf8d7d120&gt; (frame-list)))&quot;<br>
&gt; &gt; &gt; &gt; &gt;&gt; (-10 . 0)=C2=A0 =C2=A0 <br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; Po Lu, any comments?=C2=A0 =C2=A0 <br>
&gt; &gt; &gt; &gt; <br>
&gt; &gt; &gt; &gt; Did the OP mention the toolkit Emacs was built with?=C2=
=A0 <br>
&gt; &gt; &gt; <br>
&gt; &gt; &gt; $ emacsclient --eval &quot;system-configuration-options&quot=
;<br>
&gt; &gt; &gt; &quot;--sysconfdir=3D/etc --prefix=3D/usr --libexecdir=3D/us=
r/lib<br>
&gt; &gt; &gt; --localstatedir=3D/var --with-cairo --with-harfbuzz -<br>
&gt; &gt; &gt; -with-libsystemd --with-modules --with-x-toolkit=3Dgtk3<br>
&gt; &gt; &gt; &#39;CFLAGS=3D-march=3Dx86-64 -mtune=3Dgeneric -O2 - pipe -f=
no-plt<br>
&gt; &gt; &gt; -fexceptions=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0-Wp,-D_FORTIFY=
_SOURCE=3D2 -Wformat<br>
&gt; &gt; &gt; -Werror=3Dformat-security -fstack-clash-protection -fcf-prot=
ection<br>
&gt; &gt; &gt; -g -ffile-prefix-map=3D/build/emacs/src=3D/usr/src/debug/ema=
cs -<br>
&gt; &gt; &gt; flto=3Dauto&#39;<br>
&gt; &gt; &gt; &#39;LDFLAGS=3D-Wl,-O1,--sort-common,--as-needed,-z,relro,-z=
,now<br>
&gt; &gt; &gt; -flto=3Dauto&#39;&quot;=C2=A0 <br>
&gt; &gt; <br>
&gt; &gt; <br>
&gt; &gt; <br>
&gt; &gt;=C2=A0 =C2=A0<br></div>

--000000000000bbef28060e94d916--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#67753; Package emacs. Full text available.

Message received at 67753 <at> debbugs.gnu.org:


Received: (at 67753) by debbugs.gnu.org; 9 Jan 2024 19:58:48 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jan 09 14:58:48 2024
Received: from localhost ([127.0.0.1]:41043 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rNIFM-00017s-0p
	for submit <at> debbugs.gnu.org; Tue, 09 Jan 2024 14:58:48 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:46750)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1rNIFJ-00017b-KC
 for 67753 <at> debbugs.gnu.org; Tue, 09 Jan 2024 14:58:46 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1rNIF5-0002tx-Hq; Tue, 09 Jan 2024 14:58:32 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=g3u/1rjIChoyPq1Ju2RwzRp39SWAo+S5wxjsLRhkDrw=; b=o1tUCF/L9Qj6
 OsKrVG/4dsHCMInaQHoQNszWvSTDHWvY8Fr5p8Ocfqqs+DvLbpA1ctF7nqrvcMh96VJJziQr4ecpv
 D8f0F4IuvOxMHd6R1GK40SMbhtTu00hSZUGzNRKrqK4fp3bGeE51Ps46ng8iqIsck4ijcTTnpLqbM
 qMEtBcZI//L7//QXDx+SYnQ3bbQRSGzrS7o/rp7PG+EMYh+7q47QPw06F4KWnc7Mm9WQpXS3IM1S5
 lJOWT0qmnGOzsDxlFZwlFuO1ANeBTrAEKdH4DV1G6J34wU3RXWzFuHQfLKKulrlb++1LWtj+2iVpV
 OEWS/O6XcwCGq4r6HX5Zcg==;
Date: Tue, 09 Jan 2024 21:58:10 +0200
Message-Id: <83ttnmnust.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: luangruo@HIDDEN
In-Reply-To: <83le9le1bh.fsf@HIDDEN> (message from Eli Zaretskii on Sat, 23
 Dec 2023 11:05:22 +0200)
Subject: Re: bug#67753: 28.2,
 29.1: Making frame invisible always affects frame position parameters
References: <CAKCdrGVDOLAyrZo+iOv+18A+LhNoDYmCOHzwMpnq8Zo1duCNjg@HIDDEN>
 <83plz6mjua.fsf@HIDDEN> <87bkaqxrwg.fsf@HIDDEN>
 <CAKCdrGXE0DyhwSbi5uk4vLReBmcSgSQ8iCPr0TTL0EPar96SaA@HIDDEN>
 <83le9le1bh.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 67753
Cc: 67753 <at> debbugs.gnu.org, soliidne@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Ping! Ping!  Can we make some progress here, please?

> Cc: 67753 <at> debbugs.gnu.org
> Date: Sat, 23 Dec 2023 11:05:22 +0200
> From: Eli Zaretskii <eliz@HIDDEN>
> 
> Ping!  Po Lu, can we make some progress here?
> 
> > From: soliidne@HIDDEN
> > Date: Sat, 16 Dec 2023 14:53:47 +0200
> > Cc: Eli Zaretskii <eliz@HIDDEN>, 67753 <at> debbugs.gnu.org
> > 
> > On Sat, 16 Dec 2023 20:18:07 +0800
> > Po Lu <luangruo@HIDDEN> wrote:
> > 
> > > Eli Zaretskii <eliz@HIDDEN> writes:
> > > 
> > > >> From: soliidne@HIDDEN
> > > >> 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\")"
> > > >> #<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)  
> > > >
> > > > 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'"
> 
> 
> 
> 




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#67753; Package emacs. Full text available.

Message received at 67753 <at> debbugs.gnu.org:


Received: (at 67753) by debbugs.gnu.org; 23 Dec 2023 09:05:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Dec 23 04:05:44 2023
Received: from localhost ([127.0.0.1]:48542 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rGxx1-0005Hi-Ts
	for submit <at> debbugs.gnu.org; Sat, 23 Dec 2023 04:05:44 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:35980)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1rGxx0-0005HS-1z
 for 67753 <at> debbugs.gnu.org; Sat, 23 Dec 2023 04:05:42 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1rGxwp-000265-Kw; Sat, 23 Dec 2023 04:05:31 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=saZa4hH2s/i1O4ell19a2WZt6G5AR+udA4dVDUPMQus=; b=N2St4+b689Gh
 kgGm5xdEw//93oFdWW9JemFFJG63saBKrikm8Os0xGDnsdgwtCfmDesQiTlLnfJZACerM3K8KWL+l
 s3ABVoQrv+dJDcW6NlqvpbQb+gXl1/1fR7O6+aAK3aWplyf8AV5E/lSSb9IzkwXMyaMtvdk02KUg7
 swd7jm98NWb/bao8d0fnG3mQ9OhsVC+oFy4D7OUxs6nHAb++CIrNCEtXuVR+6WIScxmfFUSirfIfM
 pPBocVRZ7V+ZVTWqNPV94hAAwrlxnI/+alMI51jAQ151gv77vbqHW8mfUWfh3DweFzUHaLboD/7t7
 U7jSNtldLLZpveMoi9N6Fw==;
Date: Sat, 23 Dec 2023 11:05:22 +0200
Message-Id: <83le9le1bh.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: luangruo@HIDDEN, soliidne@HIDDEN
In-Reply-To: <CAKCdrGXE0DyhwSbi5uk4vLReBmcSgSQ8iCPr0TTL0EPar96SaA@HIDDEN>
 (soliidne@HIDDEN)
Subject: Re: bug#67753: 28.2, 29.1: Making frame invisible always affects
 frame position parameters
References: <CAKCdrGVDOLAyrZo+iOv+18A+LhNoDYmCOHzwMpnq8Zo1duCNjg@HIDDEN>
 <83plz6mjua.fsf@HIDDEN> <87bkaqxrwg.fsf@HIDDEN>
 <CAKCdrGXE0DyhwSbi5uk4vLReBmcSgSQ8iCPr0TTL0EPar96SaA@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 67753
Cc: 67753 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Ping!  Po Lu, can we make some progress here?

> From: soliidne@HIDDEN
> Date: Sat, 16 Dec 2023 14:53:47 +0200
> Cc: Eli Zaretskii <eliz@HIDDEN>, 67753 <at> debbugs.gnu.org
> 
> On Sat, 16 Dec 2023 20:18:07 +0800
> Po Lu <luangruo@HIDDEN> wrote:
> 
> > Eli Zaretskii <eliz@HIDDEN> writes:
> > 
> > >> From: soliidne@HIDDEN
> > >> 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\")"
> > >> #<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)  
> > >
> > > 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'"




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#67753; Package emacs. Full text available.

Message received at 67753 <at> debbugs.gnu.org:


Received: (at 67753) by debbugs.gnu.org; 16 Dec 2023 15:15:38 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Dec 16 10:15:38 2023
Received: from localhost ([127.0.0.1]:55723 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rEWO9-0002eY-Oe
	for submit <at> debbugs.gnu.org; Sat, 16 Dec 2023 10:15:38 -0500
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 <asjadeseis@HIDDEN>) id 1rEUBB-0007FZ-DU
 for 67753 <at> debbugs.gnu.org; Sat, 16 Dec 2023 07:54:06 -0500
Received: by mail-ed1-x52e.google.com with SMTP id
 4fb4d7f45d1cf-54f4b31494fso2750054a12.1
 for <67753 <at> 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)
MIME-Version: 1.0
References: <CAKCdrGVDOLAyrZo+iOv+18A+LhNoDYmCOHzwMpnq8Zo1duCNjg@HIDDEN>
 <83plz6mjua.fsf@HIDDEN> <87bkaqxrwg.fsf@HIDDEN>
In-Reply-To: <87bkaqxrwg.fsf@HIDDEN>
From: soliidne@HIDDEN
Date: Sat, 16 Dec 2023 14:53:47 +0200
Message-ID: <CAKCdrGXE0DyhwSbi5uk4vLReBmcSgSQ8iCPr0TTL0EPar96SaA@HIDDEN>
Subject: Re: bug#67753: 28.2, 29.1: Making frame invisible always affects
 frame position parameters
To: Po Lu <luangruo@HIDDEN>
Content-Type: multipart/alternative; boundary="0000000000009e5add060ca0020b"
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 67753
X-Mailman-Approved-At: Sat, 16 Dec 2023 10:15:29 -0500
Cc: Eli Zaretskii <eliz@HIDDEN>, 67753 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--0000000000009e5add060ca0020b
Content-Type: text/plain; charset="UTF-8"

On Sat, 16 Dec 2023 20:18:07 +0800
Po Lu <luangruo@HIDDEN> wrote:

> Eli Zaretskii <eliz@HIDDEN> writes:
>
> >> From: soliidne@HIDDEN
> >> 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\")"
> >> #<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)
> >
> > 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

<div dir=3D"auto">On Sat, 16 Dec 2023 20:18:07 +0800<br>
Po Lu &lt;<a href=3D"mailto:luangruo@HIDDEN" target=3D"_blank" rel=3D"no=
referrer">luangruo@HIDDEN</a>&gt; wrote:<br>
<br>
&gt; Eli Zaretskii &lt;<a href=3D"mailto:eliz@HIDDEN" target=3D"_blank" re=
l=3D"noreferrer">eliz@HIDDEN</a>&gt; writes:<br>
&gt; <br>
&gt; &gt;&gt; From: <a href=3D"mailto:soliidne@HIDDEN" target=3D"_blank"=
 rel=3D"noreferrer">soliidne@HIDDEN</a><br>
&gt; &gt;&gt; Date: Sun, 10 Dec 2023 19:45:49 +0200<br>
&gt; &gt;&gt; <br>
&gt; &gt;&gt; Always for all frames, position constantly affected by: left =
- 5<br>
&gt; &gt;&gt; and top - 29. It seems like a bug, but it could also be an<br=
>
&gt; &gt;&gt; oversight. Can someone comment please ?<br>
&gt; &gt;&gt; <br>
&gt; &gt;&gt; Thanks !<br>
&gt; &gt;&gt; <br>
&gt; &gt;&gt; xfwm4 4.18.0<br>
&gt; &gt;&gt; xorg-server 21.1.9<br>
&gt; &gt;&gt; Emacs 28.2, 29.1<br>
&gt; &gt;&gt; Archlinux<br>
&gt; &gt;&gt; <br>
&gt; &gt;&gt; How to reproduce:<br>
&gt; &gt;&gt; #################<br>
&gt; &gt;&gt; <br>
&gt; &gt;&gt; $ emacs --fg-daemon -Q<br>
&gt; &gt;&gt; ...<br>
&gt; &gt;&gt; Starting Emacs daemon.<br>
&gt; &gt;&gt; $ emacsclient --eval &quot;(make-frame-on-display \&quot;:0\&=
quot;)&quot;<br>
&gt; &gt;&gt; #&lt;frame GNU Emacs at Elitebook 0x558cf8d7d120&gt;<br>
&gt; &gt;&gt; $ emacsclient --eval &quot;(frame-position (nth 0 (frame-list=
)))&quot;<br>
&gt; &gt;&gt; (185 . 130)<br>
&gt; &gt;&gt; $ emacsclient --eval &quot;(make-frame-invisible (nth 0 (fram=
e-list))<br>
&gt; &gt;&gt; t)&quot; nil<br>
&gt; &gt;&gt; $ emacsclient --eval &quot;(frame-position (nth 0 (frame-list=
)))&quot;<br>
&gt; &gt;&gt; (180 . 101)<br>
&gt; &gt;&gt; <br>
&gt; &gt;&gt; Moving frame to left-top corner<br>
&gt; &gt;&gt; ###############################<br>
&gt; &gt;&gt; <br>
&gt; &gt;&gt; $ emacsclient --eval &quot;(make-frame-visible (nth 0 (frame-=
list)))&quot;<br>
&gt; &gt;&gt; #&lt;frame GNU Emacs at Elitebook 0x558cf8d7d120&gt;<br>
&gt; &gt;&gt; $ emacsclient --eval &quot;(frame-position (nth 0 (frame-list=
)))&quot;<br>
&gt; &gt;&gt; (0 . 0)<br>
&gt; &gt;&gt; $ emacsclient --eval &quot;(make-frame-invisible (nth 0 (fram=
e-list))<br>
&gt; &gt;&gt; t)&quot; nil<br>
&gt; &gt;&gt; $ emacsclient --eval &quot;(frame-position (nth 0 (frame-list=
)))&quot;<br>
&gt; &gt;&gt; (-5 . -29)<br>
&gt; &gt;&gt; $ emacsclient --eval &quot;(make-frame-visible (nth 0 (frame-=
list)))&quot;<br>
&gt; &gt;&gt; #&lt;frame GNU Emacs at Elitebook 0x558cf8d7d120&gt;<br>
&gt; &gt;&gt; $ emacsclient --eval &quot;(frame-position (nth 0 (frame-list=
)))&quot;<br>
&gt; &gt;&gt; (-5 . 0)<br>
&gt; &gt;&gt; $ emacsclient --eval &quot;(make-frame-invisible (nth 0 (fram=
e-list))<br>
&gt; &gt;&gt; t)&quot; nil<br>
&gt; &gt;&gt; $ emacsclient --eval &quot;(frame-position (nth 0 (frame-list=
)))&quot;<br>
&gt; &gt;&gt; (-10 . -29)<br>
&gt; &gt;&gt; $ emacsclient --eval &quot;(make-frame-visible (nth 0 (frame-=
list)))&quot;<br>
&gt; &gt;&gt; #&lt;frame GNU Emacs at Elitebook 0x558cf8d7d120&gt;<br>
&gt; &gt;&gt; $ emacsclient --eval &quot;(frame-position (nth 0 (frame-list=
)))&quot;<br>
&gt; &gt;&gt; (-10 . 0)=C2=A0 <br>
&gt; &gt;<br>
&gt; &gt; Po Lu, any comments?=C2=A0 <br>
&gt; <br>
&gt; Did the OP mention the toolkit Emacs was built with?<br>
<br>
$ emacsclient --eval &quot;system-configuration-options&quot;<br>
&quot;--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 &#39;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&#39; &#39;LDFLAGS=3D-Wl,-O1=
,--sort-common,--as-needed,-z,relro,-z,now -flto=3Dauto&#39;&quot;<br></div=
>

--0000000000009e5add060ca0020b--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#67753; Package emacs. Full text available.

Message received at 67753 <at> debbugs.gnu.org:


Received: (at 67753) by debbugs.gnu.org; 16 Dec 2023 12:18:32 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Dec 16 07:18:32 2023
Received: from localhost ([127.0.0.1]:54119 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rETcm-00015m-66
	for submit <at> debbugs.gnu.org; Sat, 16 Dec 2023 07:18:32 -0500
Received: from sonic315-20.consmr.mail.ne1.yahoo.com ([66.163.190.146]:32937)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <luangruo@HIDDEN>) id 1rETcj-00015X-4a
 for 67753 <at> debbugs.gnu.org; Sat, 16 Dec 2023 07:18:31 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1702729102; bh=7OdpPee0cTfjcQSV77Sr1U/4zjnIPo6JM2xQWXjELUE=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To;
 b=G3SWY7X6f+v/GH+Z3ywDzz+OHz5LupUdeDEGCTMWIWooGUr18wI37FHtjGhbmaMUfzdbyPfTKzv1hDhywgA0apl5iGU9SfI/6ImK5vf1ziAS/oI/CUvRLiiGo+lt/q2x+p6mVMTgGLqqutMmxBLWq6rOmQTeYl0TDx1MQ8A74uEQBg858OpFsD+m1PodrX0Yj4VD/i0A5NRvrGOCqIXHbTui9hvuvLs3syA03AjcWlanYviKcI/+d+nFRo/EH9Ph41dUvpNMUkRMPkM+hyLNzLNUHr1vKLPtwE1cG6E5YD0U+xxHLAMLC1m+PflMvl8LD5b1YB+5KbC4YUeGgYYIiA==
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1702729102; bh=8/irWrnCOZNkESJRpFLs4aJQF+l7zmsSX+/d30nDG+w=;
 h=X-Sonic-MF:From:To:Subject:Date:From:Subject;
 b=dpDY1mmq9fAzx/mWVI62QO7iOzoKANMKoW3aDRSBB4ITe86zoD1CYnstafRjSkluB8NAuWY8veXcm+2mA48sS9wZMLJ33+Vxb5iPzir9TA3WRjWTTXyLwJRNCxxXEYqKmQbCw3YkO4NcCkJVZXWBZ8ECV0iiYGzflt3H99frCi1DagwQZu6uV/MYy57wzjBpvpxl2Hkvh59ZQ1Qp7ggkAvM5ZYGoSG/uuHITZH9tseL/qbClobSviy60LzUVuMlurbb5kaRSCnDzm4V7BIe4qa4ACMBsN5kph8SapMn2cZ3hkxVQku+4H2HBx50rWDS2er7OnelzLt/LdB/0+NknDw==
X-YMail-OSG: 9_8R82sVM1mKY6GCfqqXP_H1xpyLz0660Pn4Uel.4IuBWiueJN7YRqVs7qm3NIW
 1_RLXxza8uL9eXgaxDqcuMPyLYn_W7KmKmaLKKUHc_UYws3JeqNOVT_nP7AIPsOWIKrWY95Kxzoi
 7nxwi8g2KgYHvvTRACehpxRGZpZ6YM.QUp3qC_7i29PD9D_u_H_dGmgTItKQtWyYwHEa4Eussa.L
 bFjDU8eWiUfOGHq6zYMAzamAQXxPrgTOV8WXt5vC_widJvjHkgca3o30__AR3q9.jhvgS0w3BT79
 NQ6nFZrWMAKvhdr5tUIzwpO1sIZFnoDdG6ceNjyz1P8YU5JA5I6txghyjqFBK9L3eCY8SlXNbpb_
 lAnikaDzDWv96eRkB8l.ox8bZGHZRROHmuK5ku37kZWz525jAJQziL9Ze3vkn8Rr9eVJNO8QxEGm
 XMuki_8Ht3.e53AKvod9tgMvU4uxLwcC6MQkhIYYDbkp7e4UQTzUIpbqXyRGzDZioJtOT.vLxbeC
 h59uydaR8WRc5bEVtSuehTd1szw1NzIcmAVjq4XJ4CboWSGwi5gQikv9aOggjf4MmTJW.YnGirj1
 lA2jaopwXRe3eoISOAz.bbnlYlVCNP6RiCQzkCsDGmHH82d4hPX.4_UBiZkB6aUWeGGqStlRGNmI
 LPCX4iSl2q1wPfY89GAPHxig.1drHt9bWHADrftmrSQFkdKEEg8I32tM8OnTlD32UIgewGbzZUok
 tuADqexNj1uGhdybz6dP25Pv.m8UVIBHs0y_MzP5eAxfbUxHSP8xWetH88g2.33xPYebSfwgIu.D
 N1v_DWoe2nk0FEFZT_jKp6WixBk2.whiKl1zSyjU60KKl0Mq68SGPLoAtLwuYiPRB1kocTh5SBGH
 QSCER.3ImC_BXHB79vI2GSFgX2eJG13eKzuSM1W56QXGSE68cEvjX7M3MU_ODWuuEV2zrNje2kCG
 nPgDQ90O2ju6jr2C21GYK9d6hxIZwJo2nYD5OY_y36tXLUCSUYQ6zuWSuO19iMTvGstaLGg0TJIB
 1RX3LxFATsdCyYgUqvRaNXqB3wOcobXdfBKz3_EnFF_1hVgOV80cTTnC92MCjCm3KKa4PNU4DRiC
 8C7Hsv7Dfghi4a40YF3430jD1g7iK82xVv1FlNS0khfmyE1s9eC1s0GBjMQAQq98BC5v4FL2aMOl
 mcQ7UUmRrWB8TuKGuqHg1NzcPmsjKDO8gUBu4N1ulTBkZ4LoQaBcTCpdpeBv20KYixwIDRiA0cWD
 O1TmkSNgWYW5zqEnw2yJhTSQggyyj1RVCiu_Bt6TTPiu3BuwCzM9Tt2vl_aao_VKrZXn1Hp86n4j
 L78kNXyALOGgZyYBMa6_u7qfTy.NqY.BuUkwmakTpe1Qj.cRdFDZVFHDpkZEI30kRFCeENbC0FY.
 mxpsuL6Wra2rdF9G5.pnWx3LZ3sNIOq34jYEA4eZAXGccup90IA7_SfeChegAW6oA98JgV9bQ7PZ
 HJTbzzE6k4cnoMUuiue1zuImfCAhwDOUA5OT2y87pvruSx96MAl.q2cXRsqiHJ1ODuyqafFB7XSH
 iTG7zikzlEp8AbCjo8T0AGZhRgUpxG7_NGGZo4R4wu5kyEBWQuyMGh.m5u6PgPCyQWc70w7buJsK
 j1EXvwydwR07CdWLW4vHScbkgYRY6WAkEOMeSCp9i2BgdSpYcMl_ad11njfC1xga0ShHM106TMek
 zXRCNS.QPRF8KKDEq8cBDWN3_0SEM6mammzBCBvnT.bxFL.APxKXF3jeJzJvploGGAJXd8uQulTM
 5z4ninlYA10VkY.thvrSXFMSViIzPIIyHuCpbeAlFTVMH9jHJJufbjZGdtr4mHWWcWZROPK9rPLP
 81yEnIT7ZjwRfTyViHnr6jWovupABa4mAovDGdXoiPX1fJTi4rCibjsoMmDpLwQE1tCvIgG7kgbH
 tpntkHjrYKU7PZI.nviW4DNUqXY5s_CCf7Ed0b_47VdaJif9HjraErSX52af_X4Jlm.9RnzmnuO.
 VqI9OZxxwfTSDB_.aAXeBHbamXnSQRagLbSR40GbBiDOCI9vy8VSlfSOJtWjyQjxu0xaCg4Z6dO0
 KwAmYfW8HGdx.nnMNV.R7SRk6MOR2_itRhG2rbXyLREHZElgTS._9_2WYJVFUNT_zHeeYC3cEj1Z
 Kl73Ltrve.L82I0u8qj2xG4oC.BgOLHA6J714K2EPSmnXgWvrDY5YgQEvBYAL2wyPTIQwHTIG3HA
 BhADhwS7W3KgGKJ82zOC0fgliQBKO5DrtO0N08cBDH34fs8374LiF3VM2Sbg8amM-
X-Sonic-MF: <luangruo@HIDDEN>
X-Sonic-ID: 5c2e229d-7540-402a-96cb-19f370f4e2e2
Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic315.consmr.mail.ne1.yahoo.com with HTTP; Sat, 16 Dec 2023 12:18:22 +0000
Received: by hermes--production-sg3-65d57d948b-rz47z (Yahoo Inc. Hermes SMTP
 Server) with ESMTPA ID f107ee0501dee7ffda3af75f12866c8d; 
 Sat, 16 Dec 2023 12:18:15 +0000 (UTC)
From: Po Lu <luangruo@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#67753: 28.2, 29.1: Making frame invisible always affects
 frame position parameters
In-Reply-To: <83plz6mjua.fsf@HIDDEN> (Eli Zaretskii's message of "Sat, 16 Dec
 2023 14:07:41 +0200")
References: <CAKCdrGVDOLAyrZo+iOv+18A+LhNoDYmCOHzwMpnq8Zo1duCNjg@HIDDEN>
 <83plz6mjua.fsf@HIDDEN>
Date: Sat, 16 Dec 2023 20:18:07 +0800
Message-ID: <87bkaqxrwg.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Mailer: WebService/1.1.21952
 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo
Content-Length: 1880
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: 67753
Cc: 67753 <at> debbugs.gnu.org, soliidne@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Eli Zaretskii <eliz@HIDDEN> writes:

>> From: soliidne@HIDDEN
>> 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\")"
>> #<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)
>
> Po Lu, any comments?

Did the OP mention the toolkit Emacs was built with?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#67753; Package emacs. Full text available.

Message received at 67753 <at> debbugs.gnu.org:


Received: (at 67753) by debbugs.gnu.org; 16 Dec 2023 12:08:12 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Dec 16 07:08:12 2023
Received: from localhost ([127.0.0.1]:54106 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rETSm-0006gy-8S
	for submit <at> debbugs.gnu.org; Sat, 16 Dec 2023 07:08:12 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:41262)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1rETSl-0006gl-3v
 for 67753 <at> debbugs.gnu.org; Sat, 16 Dec 2023 07:08:11 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1rETSf-0002dY-5W; Sat, 16 Dec 2023 07:08:05 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=RtwoXtaqgZJ5nMWM/s9Uf4JFAXnlr/Z59/BarBgEurI=; b=lKGigiumzSg4
 XnHjHA3G+pIU2Gi00uWUFJk/y5+UpO/HBQca9yI07d2mZTEBQ0MN1rmgZVzGeBal3PN+DpFsAluHo
 fc18E6Kl7u/qaTuTkkFVp000ZoLA+entUxNymKu2X8Y9Q+47eJtAGrJ4DhD4PRM24qXWWTdWO/YAI
 yadvuZlD2J/JZoBC6a8W+JXjD+nb6Id4Ri2BHWPURQzru0wwKtXlq4WJQJJEFmso0/qGKu6OBINnE
 IYb4gG2kn2zdK21u2v2lhfBIVAQVi2uVAZo69HMMrdkkDfqj6kPwOFyn8HxZOpUd2Wr9fNqCChF6O
 +trKdSPatkttwDHDehcAlw==;
Date: Sat, 16 Dec 2023 14:07:41 +0200
Message-Id: <83plz6mjua.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: soliidne@HIDDEN, Po Lu <luangruo@HIDDEN>
In-Reply-To: <CAKCdrGVDOLAyrZo+iOv+18A+LhNoDYmCOHzwMpnq8Zo1duCNjg@HIDDEN>
 (soliidne@HIDDEN)
Subject: Re: bug#67753: 28.2,
 29.1: Making frame invisible always affects frame position parameters
References: <CAKCdrGVDOLAyrZo+iOv+18A+LhNoDYmCOHzwMpnq8Zo1duCNjg@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 67753
Cc: 67753 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: soliidne@HIDDEN
> 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\")"
> #<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)

Po Lu, any comments?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#67753; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 10 Dec 2023 17:49:43 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Dec 10 12:49:43 2023
Received: from localhost ([127.0.0.1]:51735 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rCNvu-0008TH-Uw
	for submit <at> debbugs.gnu.org; Sun, 10 Dec 2023 12:49:43 -0500
Received: from lists.gnu.org ([2001:470:142::17]:58384)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <asjadeseis@HIDDEN>) id 1rCNsp-0008Iq-Ul
 for submit <at> debbugs.gnu.org; Sun, 10 Dec 2023 12:46:29 -0500
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 <asjadeseis@HIDDEN>)
 id 1rCNsS-0005Cv-S5
 for bug-gnu-emacs@HIDDEN; Sun, 10 Dec 2023 12:46:06 -0500
Received: from mail-ed1-x52c.google.com ([2a00:1450:4864:20::52c])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <asjadeseis@HIDDEN>)
 id 1rCNsR-0004ch-7p
 for bug-gnu-emacs@HIDDEN; Sun, 10 Dec 2023 12:46:04 -0500
Received: by mail-ed1-x52c.google.com with SMTP id
 4fb4d7f45d1cf-54c7744a93fso5217561a12.2
 for <bug-gnu-emacs@HIDDEN>; Sun, 10 Dec 2023 09:46:02 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1702230361; x=1702835161; darn=gnu.org;
 h=to:subject:message-id:date:from:mime-version:from:to:cc:subject
 :date:message-id:reply-to;
 bh=oV0bGO0K6cPnJl2Y7XjkbCftM2OfFWf//pxlYWrGrEo=;
 b=QQbAtQqmFpHzlAAgnay3JJvveCzeqPazawOHP+PyHx9FXcew1lHV+ZvOLgSpMDoRh5
 McvTILmH4fLiVciy8LAulBorsr5L7820Yeo4nwhbkF3P/N66waidM85bdFKPe7GoUfZa
 2kYrEJQWBmlb6EgxqaUP5Tu2++C6hyV0fgHJ7lvJ8pUem1/dVmrd0YaajP7nS7lztWDz
 pVvGD034PLvPCBcwdLiEhylTG1g3G1NaY/6sfboTojEgtFZlzU706b61MwUW/SYu83z3
 aOVhiZjzjEqMGUFCNWu+YUVpPVZbqNZSz7RNDxCDlzjxfCsiBNPAAAgTOYei7gH3+ILA
 Cg6w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1702230361; x=1702835161;
 h=to:subject:message-id:date:from:mime-version:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=oV0bGO0K6cPnJl2Y7XjkbCftM2OfFWf//pxlYWrGrEo=;
 b=I873CtUZflwzK7UL1kV1UxpXJKauu0RSAnKyePraJLjJmV2IJz3nnfjFYW9RjpQFd/
 yIZymcz2UXxhW6pDpHEsoguNpqpSsxsR917p5rfeuTGhR3COdXFtTBmlaekyeP1A4BXz
 HicCWHcu8pwQ15gclIpPX6wY3OrG42GnQfurMSenZ9eQ5lZYLz1Oy7vYSqRBo0eOeOm4
 fPZMmQ6YC8UWOx6DjZFu0DF5gtlVUiEjE3A6XZaw7imUpAZv07ANIlkuDSWQOfQkz/Dc
 +DfL0m/pLFNlJdgRiuZ0aIMonUqllO1wggUUl9fOxgvoi6LNFc7J8H0t4CvmSORBHw3+
 gxHw==
X-Gm-Message-State: AOJu0YxyFKeOD68YfaMBFMWARBslwaIh4yS9Y2m8aKhU88W7zRcl05s5
 PsbfqEiyAA432iyrRufk8jxadKZn9PbIsrgzBEH+PK7c
X-Google-Smtp-Source: AGHT+IG+IilUe6sqFR4YnP4ivwmL8E8HCcnsmuJJ1f/1Bg6SWsbAF9FeuKy8rcuRf+HRcBq5ZyfaWLHFk52hX1zDfM4=
X-Received: by 2002:a50:8d85:0:b0:551:14f0:f7ae with SMTP id
 r5-20020a508d85000000b0055114f0f7aemr575115edh.25.1702230361150; Sun, 10 Dec
 2023 09:46:01 -0800 (PST)
MIME-Version: 1.0
From: soliidne@HIDDEN
Date: Sun, 10 Dec 2023 19:45:49 +0200
Message-ID: <CAKCdrGVDOLAyrZo+iOv+18A+LhNoDYmCOHzwMpnq8Zo1duCNjg@HIDDEN>
Subject: 28.2,
 29.1: Making frame invisible always affects frame position parameters
To: bug-gnu-emacs@HIDDEN
Content-Type: multipart/alternative; boundary="0000000000000099e5060c2b64c9"
Received-SPF: pass client-ip=2a00:1450:4864:20::52c;
 envelope-from=asjadeseis@HIDDEN; helo=mail-ed1-x52c.google.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Sun, 10 Dec 2023 12:49:37 -0500
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

--0000000000000099e5060c2b64c9
Content-Type: text/plain; charset="UTF-8"

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)

--0000000000000099e5060c2b64c9
Content-Type: text/html; charset="UTF-8"

<div dir="auto">Hi !<br>
<br>
Always for all frames, position constantly affected by: left - 5 and top - 29. <br>
It seems like a bug, but it could also be an oversight. Can someone comment please ?<br>
<br>
Thanks !<br>
<br>
xfwm4 4.18.0<br>
xorg-server 21.1.9<br>
Emacs 28.2, 29.1<br>
Archlinux<br>
<br>
How to reproduce:<br>
#################<br>
<br>
$ emacs --fg-daemon -Q<br>
...<br>
Starting Emacs daemon.<br>
$ emacsclient --eval &quot;(make-frame-on-display \&quot;:0\&quot;)&quot;<br>
#&lt;frame GNU Emacs at Elitebook 0x558cf8d7d120&gt;<br>
$ emacsclient --eval &quot;(frame-position (nth 0 (frame-list)))&quot;<br>
(185 . 130)<br>
$ emacsclient --eval &quot;(make-frame-invisible (nth 0 (frame-list)) t)&quot;<br>
nil<br>
$ emacsclient --eval &quot;(frame-position (nth 0 (frame-list)))&quot;<br>
(180 . 101)<br>
<br>
Moving frame to left-top corner<br>
###############################<br>
<br>
$ emacsclient --eval &quot;(make-frame-visible (nth 0 (frame-list)))&quot;<br>
#&lt;frame GNU Emacs at Elitebook 0x558cf8d7d120&gt;<br>
$ emacsclient --eval &quot;(frame-position (nth 0 (frame-list)))&quot;<br>
(0 . 0)<br>
$ emacsclient --eval &quot;(make-frame-invisible (nth 0 (frame-list)) t)&quot;<br>
nil<br>
$ emacsclient --eval &quot;(frame-position (nth 0 (frame-list)))&quot;<br>
(-5 . -29)<br>
$ emacsclient --eval &quot;(make-frame-visible (nth 0 (frame-list)))&quot;<br>
#&lt;frame GNU Emacs at Elitebook 0x558cf8d7d120&gt;<br>
$ emacsclient --eval &quot;(frame-position (nth 0 (frame-list)))&quot;<br>
(-5 . 0)<br>
$ emacsclient --eval &quot;(make-frame-invisible (nth 0 (frame-list)) t)&quot;<br>
nil<br>
$ emacsclient --eval &quot;(frame-position (nth 0 (frame-list)))&quot;<br>
(-10 . -29)<br>
$ emacsclient --eval &quot;(make-frame-visible (nth 0 (frame-list)))&quot;<br>
#&lt;frame GNU Emacs at Elitebook 0x558cf8d7d120&gt;<br>
$ emacsclient --eval &quot;(frame-position (nth 0 (frame-list)))&quot;<br>
(-10 . 0)<br></div>

--0000000000000099e5060c2b64c9--




Acknowledgement sent to soliidne@HIDDEN:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#67753; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 20 Jan 2024 12:30:02 UTC

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