From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#67753: 28.2, 29.1: Making frame invisible always affects frame position parameters Date: Tue, 09 Jan 2024 21:58:10 +0200 Message-ID: <83ttnmnust.fsf@gnu.org> References: <83plz6mjua.fsf@gnu.org> <87bkaqxrwg.fsf@yahoo.com> <83le9le1bh.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24374"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 67753@debbugs.gnu.org, soliidne@gmail.com To: luangruo@yahoo.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jan 09 20:59:10 2024 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 1rNIFi-0006Ap-DU for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 09 Jan 2024 20:59:10 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rNIFU-0002MQ-RB; Tue, 09 Jan 2024 14:58:56 -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 1rNIFT-0002KX-Gu for bug-gnu-emacs@gnu.org; Tue, 09 Jan 2024 14:58:55 -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 1rNIFT-00033w-8W for bug-gnu-emacs@gnu.org; Tue, 09 Jan 2024 14:58:55 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rNIFa-00018W-7i for bug-gnu-emacs@gnu.org; Tue, 09 Jan 2024 14:59:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 09 Jan 2024 19:59:02 +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.17048303284338 (code B ref 67753); Tue, 09 Jan 2024 19:59:02 +0000 Original-Received: (at 67753) by debbugs.gnu.org; 9 Jan 2024 19:58:48 +0000 Original-Received: from localhost ([127.0.0.1]:41043 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rNIFM-00017s-0p for submit@debbugs.gnu.org; Tue, 09 Jan 2024 14:58:48 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46750) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rNIFJ-00017b-KC for 67753@debbugs.gnu.org; Tue, 09 Jan 2024 14:58:46 -0500 Original-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 ) 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==; In-Reply-To: <83le9le1bh.fsf@gnu.org> (message from Eli Zaretskii on Sat, 23 Dec 2023 11:05:22 +0200) 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:277652 Archived-At: Ping! Ping! Can we make some progress here, please? > Cc: 67753@debbugs.gnu.org > Date: Sat, 23 Dec 2023 11:05:22 +0200 > From: Eli Zaretskii > > Ping! Po Lu, can we make some progress here? > > > From: soliidne@gmail.com > > Date: Sat, 16 Dec 2023 14:53:47 +0200 > > Cc: Eli Zaretskii , 67753@debbugs.gnu.org > > > > 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'" > > > >