From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: Emacs's set-frame-size can not work well with gnome-shell? Date: Thu, 23 Jan 2020 03:21:13 +0300 Message-ID: <3dfd8813-db4e-d887-cd1d-aecf579752c7@yandex.ru> References: <2056a194.3971.16f8d4dd4c5.Coremail.tumashu@163.com> <44dfe3ee-5c08-9a60-a642-8411c8e22921@yandex.ru> <35329f93-d7a9-e845-ddb4-9c4edec5fb43@yandex.ru> <53c7798d-3022-d4bd-af56-ea4a5181a887@gmx.at> <15405719-d58d-44db-f1df-ad3bb272b2fc@yandex.ru> <437eae9b-ccc1-3875-86b7-1af0e61b6e15@gmx.at> <710da57c-28dc-fab7-81af-0318a9389d6a@yandex.ru> <0e41cd9e-8be3-f67a-6958-7bad38ee1266@gmx.at> <6c86c25b-22df-2b69-34fe-539605f624ba@yandex.ru> <7dd69fe5-4ef4-782c-2fba-031d475f6406@yandex.ru> <32fb4915-be55-f753-5f6c-423a09030fd6@gmx.at> <8b252ea4-5902-d21e-a0d7-cdb3ddbb4e08@yandex.ru> <44e78be7-be8b-3756-805b-e1455516ef2c@gmx.at> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="108510"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 Cc: "emacs-devel@gnu.org" To: martin rudalics , tumashu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Jan 23 01:28:44 2020 Return-path: Envelope-to: ged-emacs-devel@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 1iuQMW-000SCi-Fn for ged-emacs-devel@m.gmane-mx.org; Thu, 23 Jan 2020 01:28:44 +0100 Original-Received: from localhost ([::1]:49216 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iuQMV-0004xN-KO for ged-emacs-devel@m.gmane-mx.org; Wed, 22 Jan 2020 19:28:43 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37837) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iuQFQ-0003vh-Ka for emacs-devel@gnu.org; Wed, 22 Jan 2020 19:21:25 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iuQFP-0002Iw-Fy for emacs-devel@gnu.org; Wed, 22 Jan 2020 19:21:24 -0500 Original-Received: from mail-lj1-x234.google.com ([2a00:1450:4864:20::234]:42452) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iuQFP-0002F0-6A for emacs-devel@gnu.org; Wed, 22 Jan 2020 19:21:23 -0500 Original-Received: by mail-lj1-x234.google.com with SMTP id y4so1136245ljj.9 for ; Wed, 22 Jan 2020 16:21:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=oLXDyAqOkldZGnnoS+035I/VNaRHszIB1IzQTx7EudQ=; b=Zi74vooBsmmRy8d3IiEmo5XlNScsiHheTYePKGWg26VhlCk0HIyCJrGiSk0dikunjk gF/XWC4UQLannCaK80dzXag20nXHeGyhQpTvr/8kvap3EO4zNpCjjKeMzfUL0wUjIM2M wlRhW/yXf/sHOtVWy4JXSjuDme1WCYRSRMqsMjdbN8b3X8HUUW3u1V+c6UgqVg+4dwjp nXMsCIq/nViV95zf9r7spVGuOlk5sOPN+apLcz64LDHUcZCOG8wG9j+muuQnQkqSFq/A GFuzfiYlGxj4iFLszgty00PyuzzZE87j0YEf4ttt5WQs6hmkm8xEfdflgJIOQUE+Mw3L eGqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=oLXDyAqOkldZGnnoS+035I/VNaRHszIB1IzQTx7EudQ=; b=HR3VwZYnfD9zkxpJ9x3PvSZHIKytylwEVV7nmvT/tn2Rj7HniBa7DLBQvoHGFUCy3n LtidGfqTU2dBEwwVytSIOWUmFZuY/4blbSFcYWVHmYvtXLViB6JDfsiaz0l9MWY5gsNl ITopSd2tguRq2zO4oxd/qw0e0hgTKl3tsnGxwTdugturqDF210EsmxZgvvYzLtZZTMyI GplMNAVUG5ux2N9L1V1MycgWLEwa7sGkALciAXCcQHVPM5OusIMcnT4wLnzlt6z1A5ol yx+Lx8DEHAJyrOThvsvWjGBSq6YdndWgyJkPQKXXNzyD529fjNGIo1v6RfTszXRFqqVj jVNw== X-Gm-Message-State: APjAAAWbxq0hjEgFqnp0zlXEMDYmpXwNSUiXbj5b+I0JwgwzLadczrr/ 64Z0xGh+GOe+wr/tzTt6EPNqlVyyvCE= X-Google-Smtp-Source: APXvYqyUkFgBrn239DRN2AS04OJTk5YIOpC86s4kteK/rCzbYS8dimJtzbSby0BXoGfqlkR3gPvXug== X-Received: by 2002:a2e:9f52:: with SMTP id v18mr21441649ljk.30.1579738875843; Wed, 22 Jan 2020 16:21:15 -0800 (PST) Original-Received: from [192.168.1.142] ([178.252.127.239]) by smtp.googlemail.com with ESMTPSA id i19sm105175lfj.17.2020.01.22.16.21.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 22 Jan 2020 16:21:14 -0800 (PST) In-Reply-To: <44e78be7-be8b-3756-805b-e1455516ef2c@gmx.at> Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::234 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:244529 Archived-At: On 22.01.2020 20:35, martin rudalics wrote: > Till then please do the following.  With emacs -Q put this modified > version of tumashu's code into *scratch* > > <...> > Please do this for the GTK and Lucid build.  And, replace the body of > 'resize-test' with your invisible, resize, visible trick and post the > history for that case as well. Here you go. GNOME Shell, Lucid Emacs: Frame size history of # adjust-frame-size-1 (720 360 720 720) (height 1) adjust-frame-size-2 (720 360 720 720) (nil nil) x-set-window-size-3 (720 360 720 720) (754 722 0) x-net-wm-state nil (nil nil) EmacsFrameResize (720 360 720 720) (754 722 0 0 2) EmacsFrameResize (720 360 720 720) (754 722 0 0 2) adjust-frame-size-1 (720 360 720 720) (change-frame-size 5) adjust-frame-size-3 (720 360 720 720) (754 362 754 722) EmacsFrameResize (720 720 720 720) (754 722 0 0 2) EmacsFrameResize (720 720 720 720) (754 722 0 0 2) adjust-frame-size-1 (720 720 720 720) (change-frame-size 5) GNOME Shell, GTK Emacs: Frame size history of # adjust-frame-size-1 (720 360 720 720) (height 1) adjust-frame-size-2 (720 360 720 720) (nil nil) xg-frame-set-char-size-3 (720 360 720 720) (384 360) GNOME Shell, GTK Emacs with modified resize-test: Frame size history of # adjust-frame-size-1 (720 360 720 720) (height 1) adjust-frame-size-2 (720 360 720 720) (nil nil) xg-frame-set-char-size-3 (720 360 720 720) (384 360) adjust-frame-size-1 (720 360 720 720) (xg-frame-set-char-size 5) adjust-frame-size-3 (720 360 720 720) (768 360 768 720) xg-frame-resized (720 720 720 720) nil