From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Claudio Grondi Newsgroups: gmane.emacs.bugs Subject: bug#62535: 29.0.60; Wrong left, top values stored in .emacs.desktop file Date: Thu, 30 Mar 2023 20:11:12 +0200 Message-ID: References: <83tty26bh2.fsf@gnu.org> <83r0t669wh.fsf@gnu.org> <5ab7293c-e690-4121-bc3f-e77007eddf66@freenet.de> <834jq25xli.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20600"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Cc: 62535@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Mar 30 20:12:27 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 1phwl9-0005C9-31 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 30 Mar 2023 20:12:27 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1phwkp-0004Ff-9F; Thu, 30 Mar 2023 14:12:07 -0400 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 1phwkl-0004F2-99 for bug-gnu-emacs@gnu.org; Thu, 30 Mar 2023 14:12:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1phwkl-0003qA-0j for bug-gnu-emacs@gnu.org; Thu, 30 Mar 2023 14:12:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1phwkk-0006vP-8s for bug-gnu-emacs@gnu.org; Thu, 30 Mar 2023 14:12:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Claudio Grondi Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 30 Mar 2023 18:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62535 X-GNU-PR-Package: emacs Original-Received: via spool by 62535-submit@debbugs.gnu.org id=B62535.168019987726564 (code B ref 62535); Thu, 30 Mar 2023 18:12:02 +0000 Original-Received: (at 62535) by debbugs.gnu.org; 30 Mar 2023 18:11:17 +0000 Original-Received: from localhost ([127.0.0.1]:59412 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phwk1-0006uN-6d for submit@debbugs.gnu.org; Thu, 30 Mar 2023 14:11:17 -0400 Original-Received: from mout3.freenet.de ([195.4.92.93]:43252) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phwjz-0006uD-5x for 62535@debbugs.gnu.org; Thu, 30 Mar 2023 14:11:16 -0400 Original-Received: from [195.4.92.119] (helo=sub0.freenet.de) by mout3.freenet.de with esmtpa (ID claudio.grondi@freenet.de) (port 25) (Exim 4.94.2 #2) id 1phwjs-009oYN-J2; Thu, 30 Mar 2023 20:11:12 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=freenet.de; s=mjaymdexmjqk; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:From: References:Cc:To:Subject:MIME-Version:Date:Message-ID:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=sKg+RVAySMu5c1vOumNR7eCFjTDRBdxVkhlMqwve4Y0=; b=F91+d/aAvv6bZy7RIXaRSPzg4H 6Y0z+7vXxObXHwtzPcEwX5XodKcBo0MhK9zhi/1zQcbOneBzSixvpEBn2BX3+bPbXKEB5EUc8Z4QL Ltr8q7zwphBzHM71+dzswKSAcGs1dTKbu3l4dalWCKWCXaeB8UHc/lNA8HVk+NM8S8ndWtp67dqX6 l8ArdSbhcVLLofLNBNZxk9czxrUy5QOAYicuLhZ7cgOOlxb7+EkJAlkg+gSph/MNmdblspa2Jyq5e ffK0FWVmz+fm6Jedx8uLX1Ma32VJXhHvgOOrinEdjLglfswbNyVkTSNe+gLy+po7cVezt8yxJ2RxQ puYCmScA==; Original-Received: from ip-109-42-240-50.web.vodafone.de ([109.42.240.50]:3756 helo=[192.168.8.100]) by sub0.freenet.de with esmtpsa (ID claudio.grondi@freenet.de) (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_128_GCM:128) (port 587) (Exim 4.94.2 #2) id 1phwjx-004WPk-3Y; Thu, 30 Mar 2023 20:11:13 +0200 Content-Language: de-DE, en-US In-Reply-To: <834jq25xli.fsf@gnu.org> X-FN-MUUID: 16801998732E680A98B3B2O X-Originated-At: 109.42.240.50!3756 X-Scan-TS: Thu, 30 Mar 2023 20:11:13 +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:258943 Archived-At: Installed Emacs 27.1 lucid version. It hasn't shown the described problem and I have had the impression that the graphics comes up faster. Then I have compiled Emacs 29.0.60 with lucid instead of gtk and was not able to reproduce the bug either. I think I will stay with the lucid version. I have been biased towards gtk because of python tkinter gui toolkit I have been already familiar with. The drift left and up ... seem to happen during the initialization process of Emacs. I am not 100% sure, but I have had the impression that there was an extremely short period of time where the window was at the right place and then moved a bit. Finally on exit Emacs saves then the changed position. In other words the problem appears to be repositioning the window while processing the .desktop and/or the other the initialization files. If you can't reproduce this behavior from the .emacs.desktop file ... the reason for it will remain maybe a strange mystery (until it pops up again in another context in future Emacs versions). On 3/30/23 12:42, Eli Zaretskii wrote: > [Please use Reply All to reply, so that the bug tracker is CC'ed.] > >> Date: Thu, 30 Mar 2023 12:26:47 +0200 >> From: Claudio Grondi >> >> >> Have tested it with: >> >> GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.30, >> cairo version 1.16.0) >> >> GNU Emacs 28.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.33, >> cairo version 1.16.0) >> >> getting the same behavior. >> >> >> Why do you think it has something to do with WM? > Because it never happens to me here, and what other factor can explain > this? > >> (you mean GNOME Window Manager? What is WM? > Yes, the Window Manager. > >> The position of Emacs on the screen changes from restart to restart in >> the .emacs.desktop file. Reading the position from the .desktop file >> should give the value of the own position and if not changed is should >> stay the same, doesn't it? Does Emacs 'ask the system' on exit for the >> own position and update the .desktop file with it? > Positioning of frames is a function of the WM. Emacs asks the WM to > position its frames, but the actual positioning is not up to us, at > least not with all the WMs out there. > >> You mean if I run it on another version of Linux Mint Cinnamon it could >> change? I'm using 21, but have still also 18.4 available. > It's worth trying. > > Perhaps also try a build with another toolkit (like Lucid, not GTK), > it could also matter. Although I thought this was supposed to be > solved in Emacs 29.