From unknown Fri Jun 20 18:24:41 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#74064 <74064@debbugs.gnu.org> To: bug#74064 <74064@debbugs.gnu.org> Subject: Status: 29.4; [NS] Frame position not reported on resize from top left Reply-To: bug#74064 <74064@debbugs.gnu.org> Date: Sat, 21 Jun 2025 01:24:41 +0000 retitle 74064 29.4; [NS] Frame position not reported on resize from top left reassign 74064 emacs submitter 74064 Jimmy Yuen Ho Wong severity 74064 normal tag 74064 fixed thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 28 12:06:31 2024 Received: (at submit) by debbugs.gnu.org; 28 Oct 2024 16:06:31 +0000 Received: from localhost ([127.0.0.1]:54473 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t5SGF-0007nO-CO for submit@debbugs.gnu.org; Mon, 28 Oct 2024 12:06:31 -0400 Received: from lists.gnu.org ([209.51.188.17]:52214) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t5SGC-0007nF-RY for submit@debbugs.gnu.org; Mon, 28 Oct 2024 12:06:29 -0400 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 1t5SFa-00034O-VU for bug-gnu-emacs@gnu.org; Mon, 28 Oct 2024 12:05:50 -0400 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t5SFY-0005hL-LQ for bug-gnu-emacs@gnu.org; Mon, 28 Oct 2024 12:05:50 -0400 Received: by mail-wr1-x42e.google.com with SMTP id ffacd0b85a97d-37ec4e349f4so3295642f8f.0 for ; Mon, 28 Oct 2024 09:05:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1730131546; x=1730736346; darn=gnu.org; h=mime-version:message-id:date:subject:to:from:from:to:cc:subject :date:message-id:reply-to; bh=GubHKE/f055usgZh9Vb3W9/fbVWCzdb4+WHIIU4N2h4=; b=PmzYzfkxpzwooNezsmFUrigMh49Kqq6C1rsFo9ykIPnyD9DO6IR3DdL192P3Bx1Afc MpRS9bsoFxi19V2iIqNPfzfs6Pd2bd7HcVTFyABJXNMBlLGOfCb2w9kMyRvruXU0C+Ir e6ArsHle391c6FwGXZdQVEisypLN5P7ICkKjmI2tjdQFBksYo22seDZ+efpg5pt7LqHF lu3zRwu0TSFLY3fB15vlHdXBgTY5PHa5GS3GN1OloadYCH/2MF4Zr2oFtBI0vXwUmmlI VmERfx56sArG9FaNGberjR/GoZwnDHOVFwx+ceBjzEo7C+sW3jfHiaptecvkIBzNtgYu SHzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730131546; x=1730736346; h=mime-version:message-id:date:subject:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=GubHKE/f055usgZh9Vb3W9/fbVWCzdb4+WHIIU4N2h4=; b=u1bb5zTjGGuN2TMk10SzNFhEuVZNnbU+qmIb/HVGYoenft/7QsXepqfL8ohKNOnRYi tyyj0chbh0vOAlcilgmSKomfpfgU8Earja2E4UvussT05jwCTWaxN6YT4v+GSqhleahw JOdCE9/Vdz5UuykkjwznKk3D+QgKvnngi6FrFwP1ijI5k1+FF+Nf4yejjhvlL9Rv76hY +Vue6lakpG15o+m4p0rSYqxw7QQFNa6r3kR2KQy8CNM/2rCKS+VIEDgv0FPSaqI/8Yp0 Ve5Ylt9lmPK8IHtpTwKvHvGwHs1QxQbp+oP1vyvW0PmM9LAXk1As7GsGxBGS9QLgHbkn 6QNQ== X-Gm-Message-State: AOJu0YzB6JQi/JmhdSuugMCmAIrvnVyr9Zf4OVkw0Nwrz8WPj/vfKqGp qsCCF5KFtaiQln3W5Kqzr00YgM0Zvl3QQyNHdG0bra6am0oRRmOOD2FfEQ== X-Google-Smtp-Source: AGHT+IF8BvpwSKYb91S1E7DkqeLGpkYDzmFr0dL8hvDgFK8HE4JfGX6BmLNMyHyS1a45evEEx7vAVw== X-Received: by 2002:adf:cc83:0:b0:37e:d2b7:acd5 with SMTP id ffacd0b85a97d-380610f7f35mr6267387f8f.8.1730131545724; Mon, 28 Oct 2024 09:05:45 -0700 (PDT) Received: from MobileCat.localdomain ([2a01:4b00:89a0:2400:5861:5e52:935c:78bb]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38058b70d5csm9906117f8f.89.2024.10.28.09.05.44 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 28 Oct 2024 09:05:45 -0700 (PDT) From: Jimmy Yuen Ho Wong To: bug-gnu-emacs@gnu.org Subject: 29.4; [NS] Frame position not reported on resize from top left Date: Mon, 28 Oct 2024 16:05:31 +0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::42e; envelope-from=wyuenho@gmail.com; helo=mail-wr1-x42e.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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Reproduction 1. eval the following in the scratch buffer (let ((selected-frame (selected-frame))) (add-hook 'move-frame-functions (lambda (frame) (with-selected-frame selected-frame (message "frame pos in move-frame-functions: %s" (frame-position frame))))) (add-hook 'window-size-change-functions (lambda (frame) (with-selected-frame selected-frame (message "frame pos in window-size-change-functions %s" (frame-position frame))))) (add-hook 'window-state-change-functions (lambda (frame) (with-selected-frame selected-frame (message "frame pos in window-state-change-functions %s" (frame-position frame)))))) (make-frame '((width . 100) (height . 50))) 2. Resize the new frame from the top left corner on the title bar 3. Check the logs in the *Messages* buffer and notice the frame position was never changed. 4. Move the new frame by dragging from the title bar, notice the move-frame-functions hook was run and reported the new position. Expectation: When a frame is resized from the top left corner by the window manager, the frame position should update and be reported to Elisp programs, otherwise Elisp programs have no way to find out what the X/Y coordinate of the frame is when its resized from the top left. In GNU Emacs 29.4 (build 2, aarch64-apple-darwin23.6.0, NS appkit-2487.70 Version 14.7 (Build 23H124)) of 2024-10-08 built on MobileCat.localdomain Windowing system distributor 'Apple', version 10.3.2487 System Description: macOS 14.7 Configured using: 'configure --prefix=/opt/local --disable-silent-rules --without-dbus --without-gconf --without-libotf --without-m17n-flt --with-libgmp --with-gnutls --with-json --with-xml2 --with-modules --with-sqlite3 --with-webp --infodir /opt/local/share/info/emacs --with-ns --with-lcms2 --without-harfbuzz --without-imagemagick --without-xaw3d --with-rsvg --with-xwidgets --with-native-compilation=aot --with-tree-sitter 'CFLAGS=-pipe -Os -Wno-attributes -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -arch arm64' 'CPPFLAGS=-I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk' 'LDFLAGS=-L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-no_pie -Wl,-rpath /opt/local/lib/gcc14 -Wl,-rpath /opt/local/lib -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -arch arm64'' Configured features: ACL GIF GLIB GMP GNUTLS JPEG JSON LCMS2 LIBXML2 MODULES NATIVE_COMP NOTIFY KQUEUE NS PDUMPER PNG RSVG SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XWIDGETS ZLIB Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction From debbugs-submit-bounces@debbugs.gnu.org Thu Nov 07 15:45:57 2024 Received: (at control) by debbugs.gnu.org; 7 Nov 2024 20:45:57 +0000 Received: from localhost ([127.0.0.1]:49735 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t99O9-0003C9-BT for submit@debbugs.gnu.org; Thu, 07 Nov 2024 15:45:57 -0500 Received: from mail-wm1-f45.google.com ([209.85.128.45]:42290) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t99O7-0003C0-8w for control@debbugs.gnu.org; Thu, 07 Nov 2024 15:45:56 -0500 Received: by mail-wm1-f45.google.com with SMTP id 5b1f17b1804b1-4315eac969aso8572375e9.1 for ; Thu, 07 Nov 2024 12:45:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1731012294; x=1731617094; darn=debbugs.gnu.org; h=subject:from:to:message-id:date:from:to:cc:subject:date:message-id :reply-to; bh=AC8M5TYbo10f3OCP7U5MCJtHIGerJx8EMmNOk4Dc4V4=; b=eFdq+GSP9YXZOpjXRzxwt1MBeNfl9pQI98x68znRHI6JmUVNSerhni3WbVP05ML4JN 1TYdAKLQX0mQmPi0xTm5lp34/yHj89Hybro/e7aY89GCAMwdf7MSUeAMy3HxfLLh7byO 4EsO6vnlSUgiEhRZvTpzSgRHoAaPfsWIknxnlgK7xhllrZgN1CTvBJG4WZb6AVnIbT4o EXwVgFk9CFSQf2inj8dKTFIt8ZXMj9fNLDiWdm7BMp2KGU2nepkGN7H/VuvZ+RHc9DIb 4HQH35rUdNMgerjM9x7r8ylVVBxNjmPlrcqhn6FUCZYmD7rjvQqed/IZlU2hFHlDJ6z5 gRcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731012294; x=1731617094; h=subject:from:to:message-id:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=AC8M5TYbo10f3OCP7U5MCJtHIGerJx8EMmNOk4Dc4V4=; b=vZXSdYRHCgMkEcRSTcaGgmCFYF38GAR1AVjPmGG5vtRIeVFU4N/KsJsqrfiESg5QdW 6vKIj6ekKqiWImW0Q9gacuIsai7wCJoNhHxVzTIhAhtM5/iXvpOv+7dR8CKb4dTezn80 QAFB4sZu6jrDXqxWd1EXpCyRHBdO3w7I0UhTg8EzBp7ANsGJi/umfxvcDsVCt0MOOHNg Ea+42umw3fNB7g9jRvbT5C/J9NWfjHiAgoKtQtuEyVBICfrhR/Ul3P6k1LPAUahp5QPW G6mZWoFfXVw2Fw+jjgJNNnBRyIAGgr2YvHOgA8xR44zTt5zps2g5q5RFBzEjC8pdLEL7 /9LQ== X-Gm-Message-State: AOJu0Ywu4RmXs4T83dfvQu2aPUUmIQ7j4MsHIObeui+YUioRea3PtA1l dupCU9IR08gVMWE0/tuk+vhtGiajPN++BVeI5r5cysoo522SyKzrYZwdvQ== X-Google-Smtp-Source: AGHT+IFbFr2cf/TIsg/eHD6zBzobzgUaDAyW9B96DcdjXJmhn7NM69WgYkWA4Ny9WrLbr9tPOlX2mw== X-Received: by 2002:a05:600c:19d1:b0:431:55af:a220 with SMTP id 5b1f17b1804b1-432b74c0d04mr1407335e9.12.1731012294228; Thu, 07 Nov 2024 12:44:54 -0800 (PST) Received: from rltb ([2a01:e0a:3f3:fb51:cfd4:b576:ecc8:5796]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-432aa70a23fsm77520695e9.33.2024.11.07.12.44.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Nov 2024 12:44:53 -0800 (PST) Date: Thu, 07 Nov 2024 21:44:53 +0100 Message-Id: <871pzmlqnu.fsf@gmail.com> To: control@debbugs.gnu.org From: Robert Pluim Subject: control message for bug #74064 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) close 74064 31.1 quit From debbugs-submit-bounces@debbugs.gnu.org Thu Nov 07 15:46:23 2024 Received: (at control) by debbugs.gnu.org; 7 Nov 2024 20:46:24 +0000 Received: from localhost ([127.0.0.1]:49741 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t99OZ-0003DT-Lk for submit@debbugs.gnu.org; Thu, 07 Nov 2024 15:46:23 -0500 Received: from mail-wm1-f50.google.com ([209.85.128.50]:52618) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t99OX-0003DF-TY for control@debbugs.gnu.org; Thu, 07 Nov 2024 15:46:22 -0500 Received: by mail-wm1-f50.google.com with SMTP id 5b1f17b1804b1-4314f38d274so16464315e9.1 for ; Thu, 07 Nov 2024 12:46:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1731012316; x=1731617116; darn=debbugs.gnu.org; h=subject:from:to:message-id:date:from:to:cc:subject:date:message-id :reply-to; bh=Pjs0LhagkpvsyIrzPAsMl34FhLlq7MY2UcVDDxCfPkI=; b=FThqqgN5ojDBJm8aGW4KuHSUn6VuR79lHH8tYw/Il5scjOt+5f0HH4g4MNL8LLwNTm viIZ5r+P+u45HjZcy/AjMgOdPk3xIsZ5aEkGYWhhZH1XvjWTxWmn4ukDZwPnoSc5Vfhj eLjFl+byQ1gTtLZmpAJujl2daqXcBdcUoj8Xmn/CLPw7SxY/3w1SVrMQ/tcquuXihLcr bKf/KRqZ1DbT1DJ2CrZjOzSct5wmNwTsv6idRyf7Ps5QsViJ4HsNFOu9JXKk0IsJl2lJ f0CxyuMnuvivYComGr9LcoLIv6HMyAxtufpe3P3MeUVeKz8pw8/htCWmJU9zcZbtMSjb T4oA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731012316; x=1731617116; h=subject:from:to:message-id:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Pjs0LhagkpvsyIrzPAsMl34FhLlq7MY2UcVDDxCfPkI=; b=n0AapphLEdtIlZhNx1+rVydIN4MNfRUyAFUinsd7vk/s+ryrIIsws8vpvxMSlsiEic UGFgQ3hFXdDMX36rJ5t6vvUf74SxeeQND5II4QKLSEaBfc7yjpB0vJ+biSRFw7mU9UVB Ywp1Hs3TbnN+8JWinINSDhMhOS6kEgXSsUVWtagQVr8Z0pia2HP1OiltOGQOFzcG4h6v g+GUd6TAdhSXoKYRR/7skcI0y4gENYZNNIZigyT3QIL9ALM39Z6fqWBkh2W3noMFa0nS TIOaZVzTDsSAgoWkMVSUeoQabcvAS4rJXJWq5nJN/Gb09z0Wkx2YHt2K9zKtetA/vH/Z CP2g== X-Gm-Message-State: AOJu0Yym7XIiFgQnjs0QQTt6Vq2YFTmcWcDUOlBjQb8yZPnCWjzqECiv D6BwNBTcYlSj901w6J27ilEs2aP3aDYfFaIR6ozAOL3YWq/QIkOIh8oW1w== X-Google-Smtp-Source: AGHT+IGBcylTd1gJON+4If1A0oIuZvpa60LGl8yeWRGLGSLHBZB4Y8Vjsfv3EERTQUrDrwT/ubHCCQ== X-Received: by 2002:a05:600c:35c4:b0:431:5f8c:ccb9 with SMTP id 5b1f17b1804b1-432b750b51fmr1717685e9.17.1731012315960; Thu, 07 Nov 2024 12:45:15 -0800 (PST) Received: from rltb ([2a01:e0a:3f3:fb51:cfd4:b576:ecc8:5796]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-432aa5b5b2dsm72251555e9.1.2024.11.07.12.45.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Nov 2024 12:45:15 -0800 (PST) Date: Thu, 07 Nov 2024 21:45:14 +0100 Message-Id: <87zfmakc2t.fsf@gmail.com> To: control@debbugs.gnu.org From: Robert Pluim Subject: control message for bug #74064 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) merge 74064 74074 quit From unknown Fri Jun 20 18:24:41 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 07 Dec 2024 12:24:12 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator