From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#27923: 24.3; -iconic switch screws up geometry Date: Sat, 19 Aug 2017 11:55:34 +0200 Message-ID: <59980B16.1020307@gmx.at> References: <5995604A.3050605@gmx.at> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1503136580 9006 195.159.176.226 (19 Aug 2017 09:56:20 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 19 Aug 2017 09:56:20 +0000 (UTC) Cc: 27923@debbugs.gnu.org To: Geoff Kuenning Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Aug 19 11:56:11 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dj0UA-0001cu-A7 for geb-bug-gnu-emacs@m.gmane.org; Sat, 19 Aug 2017 11:56:06 +0200 Original-Received: from localhost ([::1]:36724 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dj0UG-0003d4-HU for geb-bug-gnu-emacs@m.gmane.org; Sat, 19 Aug 2017 05:56:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52422) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dj0UA-0003cd-42 for bug-gnu-emacs@gnu.org; Sat, 19 Aug 2017 05:56:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dj0U7-0005xS-1h for bug-gnu-emacs@gnu.org; Sat, 19 Aug 2017 05:56:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:36486) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dj0U6-0005xM-Td for bug-gnu-emacs@gnu.org; Sat, 19 Aug 2017 05:56:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dj0U6-00037c-GR for bug-gnu-emacs@gnu.org; Sat, 19 Aug 2017 05:56:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 19 Aug 2017 09:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27923 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 27923-submit@debbugs.gnu.org id=B27923.150313655011982 (code B ref 27923); Sat, 19 Aug 2017 09:56:02 +0000 Original-Received: (at 27923) by debbugs.gnu.org; 19 Aug 2017 09:55:50 +0000 Original-Received: from localhost ([127.0.0.1]:45167 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dj0Tu-00037C-9D for submit@debbugs.gnu.org; Sat, 19 Aug 2017 05:55:50 -0400 Original-Received: from mout.gmx.net ([212.227.17.20]:53894) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dj0Ts-00036y-Dc for 27923@debbugs.gnu.org; Sat, 19 Aug 2017 05:55:48 -0400 Original-Received: from [192.168.1.100] ([46.125.249.118]) by mail.gmx.com (mrgmx102 [212.227.17.168]) with ESMTPSA (Nemesis) id 0ME47n-1dnAwe37wl-00HR9u; Sat, 19 Aug 2017 11:55:39 +0200 In-Reply-To: X-Provags-ID: V03:K0:iHd0RnbsD2M57vlWy+TkTVgr/mVHlgleU+nDP2xLrlRY64g8sVO G0J91hNugr2wCzXCNnKvyHyGebNZLx78fMPDJMxeglPKgtnFzdi8s2wrnjsiv/EauDmfu4x ZTvbObmRarC+0JHMqEFEMCJVZgF2zLnAprredzdaoF6tggN/xskpI5jpPjxN5qwh6VGW16K eRR6rP8qFl3OYGnPXW1pQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:A2Q0klANQNY=:a3rEwVtM/03aT/TJKVs+M3 z+m1j6MyCJrtL14NC7fM7vCgluAi6n29wSdIOQeKI8IL1HM+j1EOWoAY3VdTmO9q0Wi1RDbHC r/gBMl9b+TJIdgsO78fmpg+5qRd5IY1NNLFcSzhxIkAuAuOENh3hdKWUHk0dZI+M7A/mNxajl 8hPXD7JDsJiaxIFvUnd9RZN0q25u8clQKJdlHNVQyGs+uCnwIrOGwYS8GUgl3R8rOfgD7+bsV aelDakZLRgZVpKQ0Qij4bwXdvt1pyN0/2H9AddYBygAISg4J8xEfLMnUZgK9/omf/bBpsRCeG MWjHV5aahxxOAuPuKWArVAcDXNf5BTgvjNtLza7IeB1vvqw44sUvkZhLQzDGUXkGx8WiI6Q8l 0ILFHSRqnRM6btdrCGFK1RgiHX30Z9DKKhSuBgHDowWAGwD9EKX1EdO4A8jJf08i/5nl4HFBX BqvGLS2pqjaZwpcA3MVN52OcCRJGFCP42PsjyNoHKtowHpVSB1l+m9H7bEOb+LXe9r/trGHdl Lc9g4FMVdGooW5URyZWXNlUYtcCieZKWL2yObJa7QBfGvxVJX+WqyVO+7DjC54152aNwZMZ7m b4++3RZwgqjSXlvWR9ZPVp2S034Dj//H/8hVE4FnXPYy3g94ud70cpamwYW4WX5mWvNCMQdGQ dCEIOSDyGxSDN6s8EYimBE+zdEk5ZO+RLDFNShlW3sgzRXidKTiRmzCh3CgeH7dl6m52LqigI x9e/v6jevH6KtyQtrXXY3cAxVFne8LnnQzFzZSUpoyq8+Uc3/gthvyahxOjkO3J2HnODqHMP X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:135913 Archived-At: > My display is 3840x1200. I'm pretty sure that's wider than 1900. ;-) That's bad because it means we are in the area of one of the most elusive bugs I've seen over the past years. Your scenario has been already reported (with .emacs instead of using a resource file) as https://debbugs.gnu.org/cgi/bugreport.cgi?bug=24526 and probably also here https://debbugs.gnu.org/cgi/bugreport.cgi?bug=25943 The underlying problem seems to be that the geometry settings for an invisible or iconified frame get lost somewhere and are not processed (or even reverted) when the frame is made visible. On Windows, the bug manifests itself when specifying the geometry in the init file but not when the geometry is specified as command argument. On GNU/Linux the bug seems to depend on the window manager - I can't reproduce it here on Debian using Xfwm. > In your suggested test, yes, setting default-frame-alist and then > creating a new iconified frame does indeed give me the desired > properties. Which suggests that creating the initial frame with its dimensions is the culprit. What does M-: RET (frame-width) RET of the deformed frame print? > Please let me know if there are any additional tests you'd like me to perform. There are. First I would like to see whether the bug occurs with all possible invocation scenarios in the same way. Please invoke Emacs as emacs -Q --iconic --geometry 80x78+1180+0 --font "-misc-fixed-bold-r-normal-*-15-*-100-100-*-*-ISO8859-1" as emacs -Q --iconic --load ~/init.el with init.el specified as (setq default-frame-alist '((width . 80) (height . 78) (left . 1180) (font . "-misc-fixed-bold-r-normal-*-15-*-100-100-*-*-ISO8859-1"))) and as emacs -Q --load ~/init.el with init.el specified as (setq default-frame-alist '((width . 80) (height . 78) (left . 1180) (font . "-misc-fixed-bold-r-normal-*-15-*-100-100-*-*-ISO8859-1") (visibility . icon))) and tell me whether the results are the same. Also, please tell me what your original scenario gives with the line specifying the font setting removed from the resource file. Thanks, martin PS: Please keep 27923@debbugs.gnu.org CC'd