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#28605: 26.0.60; Part of leftmost character hidden Date: Tue, 24 Oct 2017 11:17:32 +0200 Message-ID: <59EF052C.7090907@gmx.at> References: <59DF2220.4030705@gmx.at> <87d15sn257.fsf@gmail.com> <59E07FC9.9050907@gmx.at> <87376n4bfb.fsf@gmail.com> <59E0B5BB.6070302@gmx.at> <87bmlb5hif.fsf@gmail.com> <59E1CC8C.9030005@gmx.at> <87mv4urtsp.fsf@gmail.com> <59E1D6FD.5060203@gmx.at> <878tgbs4ke.fsf@gmail.com> <59E5C5E0.3070103@gmx.at> <87tvyycbih.fsf@gmail.com> <59E600F3.6020905@gmx.at> <87zi8njoi8.fsf@gmail.com> <59E9ABE4.5060903@gmx.at> <87r2tyey32.fsf@gmail.com> <59EAFF8C.9080509@gmx.at> <87inf6faiv.fsf@gmail.com> <59EDD85E.10104@gmx.at> <87efpuf4h0.fsf@gmail.com> 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 1508836696 16466 195.159.176.226 (24 Oct 2017 09:18:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 24 Oct 2017 09:18:16 +0000 (UTC) Cc: 28605@debbugs.gnu.org To: Robert Pluim Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 24 11:18:12 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 1e6vLd-0003SS-Oa for geb-bug-gnu-emacs@m.gmane.org; Tue, 24 Oct 2017 11:18:10 +0200 Original-Received: from localhost ([::1]:42793 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e6vLl-0006zv-7R for geb-bug-gnu-emacs@m.gmane.org; Tue, 24 Oct 2017 05:18:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57404) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e6vLc-0006zo-Gq for bug-gnu-emacs@gnu.org; Tue, 24 Oct 2017 05:18:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e6vLW-0005Ls-4h for bug-gnu-emacs@gnu.org; Tue, 24 Oct 2017 05:18:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:49695) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e6vLW-0005KS-1I for bug-gnu-emacs@gnu.org; Tue, 24 Oct 2017 05:18:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e6vLV-00038O-PR for bug-gnu-emacs@gnu.org; Tue, 24 Oct 2017 05:18:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 24 Oct 2017 09:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28605 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 28605-submit@debbugs.gnu.org id=B28605.150883666912021 (code B ref 28605); Tue, 24 Oct 2017 09:18:01 +0000 Original-Received: (at 28605) by debbugs.gnu.org; 24 Oct 2017 09:17:49 +0000 Original-Received: from localhost ([127.0.0.1]:58376 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e6vLJ-00037p-D7 for submit@debbugs.gnu.org; Tue, 24 Oct 2017 05:17:49 -0400 Original-Received: from mout.gmx.net ([212.227.17.20]:65072) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e6vLH-00037Y-Ty for 28605@debbugs.gnu.org; Tue, 24 Oct 2017 05:17:48 -0400 Original-Received: from [192.168.1.100] ([46.125.250.55]) by mail.gmx.com (mrgmx101 [212.227.17.168]) with ESMTPSA (Nemesis) id 0LraSn-1d3zuT0hob-013O28; Tue, 24 Oct 2017 11:17:40 +0200 In-Reply-To: <87efpuf4h0.fsf@gmail.com> X-Provags-ID: V03:K0:UuFIrVu7/IXqe81WuZpw5t+SydSBnyRkovJrIANLdcffxOQw5Nw GVP8qX0JYpgmnWjvhKmRdTA5nPgDxq78fGIcrYtjHTilHXk607KVt7gHF5xfglolE1tJgyX pPtRhjdVskt8vtm1Yp9ZCjV+AxT8gzf8oQc/cSq4jIgXUtLMsboZYVLbxHqSLa4zhzlaZN3 rrEX9IdqvKF3AxLmg8WZg== X-UI-Out-Filterresults: notjunk:1;V01:K0:q5h7vr5DvwA=:vvU2CHZaA5CPx5+hIUPRKR L2RjzXEuitRS0HtOvOND3yRPkaGQLnwU9ESXhIrHIy9OnDrT90cJAgT/XOmpazLwv25BbxBDU K515jcEIwDZPYPwE1Skc5TcCd9NUmDyFjJ9orFUmLrNonhePFk8fyeWy7d0S86k8aKa0sMupm HV+nGvPbaFkpe6/EP9RIl9yRo1DmVhDPScC/SBi/6HJrc1IDpXV4IpECe0/yJAetc+A1rimXh RGx5yDMPjCVJD1BgS9nZ63H6NDkMLVMk/8ynfofkw36NKbxT7TUf7xWAqioNBAZXHHPLLO5Le LcDoYSXgbIcIlZeBBAsc2OUvfOjQiPAS7knLGlPA9y5t1WAxwcnNgxZ8CDwKlZpEGr73QZEnD zvdHGmDhKa3TWcKX/68xzJ6YbPNqk8QZJNsuiUk2jjA89FtKelAqw/S+BEd8nPHTAIa8SQylX h4/3vx0YKAjLmmBlGpNiGbBn0Vue1GW6C0/DDNudj957rzWarI6SljsdG8tbMl9ildPrF8LI1 FdS539s65f1mn2tO+EpgV3MLeG+r1uqhexDOCMgOaU4s4CTx4YMtU230hkzYvDYJtIUK50J3l uOPk8SvJdJ6iAxosMCikUcIVe45s+wm2M7qBo7Ly4np8ucti0upiED/vckNKZzThnQ7WeXeEx 0LvVpA8UFLBf7H6Lq5DqqqZY040OliwarJjl4eFPkoPRmUDqooHeC+9mcyRWOVm/svCt9Zj9W ExrIW8/tItJ47sWsNBJ/DogulVyprKY9StjZitKT2AjypnRuw7q0bpP95e3aRdyPC0vYXt/G 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:138917 Archived-At: >>> (tool-bar-mode 0) >>> (scroll-bar-mode 0) >>> (tooltip-mode 0) >>> (menu-bar-mode 0) >>> >>> (set-frame-parameter nil 'width (+ (frame-parameter nil 'width) 5)) >>> (set-frame-parameter nil 'width (- (frame-parameter nil 'width) 5)) >>> >>> => frame cycles back to same size >>> > > I forgot to mention: the next line is executed in the same emacs > session as the previous ones Does it matter? >>> (menu-bar-mode 1) >>> >>> (set-frame-parameter nil 'width (+ (frame-parameter nil 'width) 5)) >>> (set-frame-parameter nil 'width (- (frame-parameter nil 'width) 5)) >>> >>> => frame height shrinks >> >> Sounds "great". To check further: If with >> >> (menu-bar-mode 0) >> >> you toggle scroll bar or tool bar off and on, does the frame also cycle >> back to the same size? > > Of course not, that would make this issue too easy to fix ;-) Too bad. >>From emacs -Q: > > (menu-bar-mode 0) > (scroll-bar-mode 0) > (scroll-bar-mode 1) > > The width goes back to the original, but the height shrinks > > However things work correctly from emacs -Q with: > > (menu-bar-mode 0) > (tool-bar-mode 0) > (scroll-bar-mode 0) > (scroll-bar-mode 1) > > so looks like both the menu-bar and the tool-bar need to be disabled > for things to work as expected. The gtk_distribute_natural_allocation error here always triggers when I make an (unscaled) frame so narrow that the menu bar doesn't fit any more. I can't trigger it via the tool bar though when the menu bar is turned off. Can you trigger it via the tool bar alone? Alas, I have no idea idea whether and how to switch off that natural allocation distribution voodoo. And obviously we don't know whether eliminating these warnings would help us with the frame shrinking phenomena. In any case, eliminating these warnings should be the first goal now. martin