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: Sat, 16 Dec 2023 14:07:41 +0200 Message-ID: <83plz6mjua.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27742"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 67753@debbugs.gnu.org To: soliidne@gmail.com, Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 16 13:09:24 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 1rETTw-00072L-54 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 16 Dec 2023 13:09:24 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rETTc-0001BY-H7; Sat, 16 Dec 2023 07:09:04 -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 1rETTa-00019o-F8 for bug-gnu-emacs@gnu.org; Sat, 16 Dec 2023 07:09:02 -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 1rETTa-0002kT-53 for bug-gnu-emacs@gnu.org; Sat, 16 Dec 2023 07:09:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rETTa-0006iY-Hi for bug-gnu-emacs@gnu.org; Sat, 16 Dec 2023 07:09: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: Sat, 16 Dec 2023 12:09: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.170272849225733 (code B ref 67753); Sat, 16 Dec 2023 12:09:02 +0000 Original-Received: (at 67753) by debbugs.gnu.org; 16 Dec 2023 12:08:12 +0000 Original-Received: from localhost ([127.0.0.1]:54106 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rETSm-0006gy-8S for submit@debbugs.gnu.org; Sat, 16 Dec 2023 07:08:12 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41262) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rETSl-0006gl-3v for 67753@debbugs.gnu.org; Sat, 16 Dec 2023 07:08:11 -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 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==; In-Reply-To: (soliidne@gmail.com) 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:276322 Archived-At: > 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?