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, 23 Dec 2023 11:05:22 +0200 Message-ID: <83le9le1bh.fsf@gnu.org> References: <83plz6mjua.fsf@gnu.org> <87bkaqxrwg.fsf@yahoo.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24397"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 67753@debbugs.gnu.org To: luangruo@yahoo.com, soliidne@gmail.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 23 10:06:04 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 1rGxxM-0006C5-C0 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 23 Dec 2023 10:06:04 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rGxxG-0003Nj-LY; Sat, 23 Dec 2023 04:05:58 -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 1rGxxF-0003NZ-7m for bug-gnu-emacs@gnu.org; Sat, 23 Dec 2023 04:05:57 -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 1rGxxE-00028x-Ve for bug-gnu-emacs@gnu.org; Sat, 23 Dec 2023 04:05:56 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rGxxK-0005II-22 for bug-gnu-emacs@gnu.org; Sat, 23 Dec 2023 04:06: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, 23 Dec 2023 09:06: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.170332234420323 (code B ref 67753); Sat, 23 Dec 2023 09:06:02 +0000 Original-Received: (at 67753) by debbugs.gnu.org; 23 Dec 2023 09:05:44 +0000 Original-Received: from localhost ([127.0.0.1]:48542 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rGxx1-0005Hi-Ts for submit@debbugs.gnu.org; Sat, 23 Dec 2023 04:05:44 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35980) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rGxx0-0005HS-1z for 67753@debbugs.gnu.org; Sat, 23 Dec 2023 04:05:42 -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 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==; 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:276717 Archived-At: 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'"