From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#37609: Tool-bar-mode grows the frame's height Date: Fri, 04 Oct 2019 01:20:59 +0300 Organization: LINKOV.NET Message-ID: <87bluxihw0.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="12032"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) To: 37609@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 04 00:35:29 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iG9h2-0002uA-Fa for geb-bug-gnu-emacs@m.gmane.org; Fri, 04 Oct 2019 00:35:28 +0200 Original-Received: from localhost ([::1]:40590 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iG9h1-0003kG-63 for geb-bug-gnu-emacs@m.gmane.org; Thu, 03 Oct 2019 18:35:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55553) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iG9gg-0003iN-Dx for bug-gnu-emacs@gnu.org; Thu, 03 Oct 2019 18:35:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iG9gc-0001WZ-HC for bug-gnu-emacs@gnu.org; Thu, 03 Oct 2019 18:35:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60827) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iG9gb-0001Vf-WD for bug-gnu-emacs@gnu.org; Thu, 03 Oct 2019 18:35:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iG9gb-0003Lp-Rw for bug-gnu-emacs@gnu.org; Thu, 03 Oct 2019 18:35:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 03 Oct 2019 22:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 37609 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.157014204312797 (code B ref -1); Thu, 03 Oct 2019 22:35:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 3 Oct 2019 22:34:03 +0000 Original-Received: from localhost ([127.0.0.1]:41415 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iG9ff-0003KK-ET for submit@debbugs.gnu.org; Thu, 03 Oct 2019 18:34:03 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:33451) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iG9fe-0003KD-2J for submit@debbugs.gnu.org; Thu, 03 Oct 2019 18:34:02 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54806) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iG9fZ-0002pz-R9 for bug-gnu-emacs@gnu.org; Thu, 03 Oct 2019 18:33:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iG9fY-0000aR-9k for bug-gnu-emacs@gnu.org; Thu, 03 Oct 2019 18:33:57 -0400 Original-Received: from butterfly.birch.relay.mailchannels.net ([23.83.209.27]:24576) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iG9fW-0000Wh-0w for bug-gnu-emacs@gnu.org; Thu, 03 Oct 2019 18:33:56 -0400 X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 474365E12BF for ; Thu, 3 Oct 2019 22:33:49 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a97.g.dreamhost.com (100-96-8-33.trex.outbound.svc.cluster.local [100.96.8.33]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id DC5E65E127E for ; Thu, 3 Oct 2019 22:33:48 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from pdx1-sub0-mail-a97.g.dreamhost.com ([TEMPUNAVAIL]. [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.17.5); Thu, 03 Oct 2019 22:33:49 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Sponge-Well-Made: 7fc9a5365e8a03e6_1570142029099_146012165 X-MC-Loop-Signature: 1570142029099:1459652561 X-MC-Ingress-Time: 1570142029098 Original-Received: from pdx1-sub0-mail-a97.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a97.g.dreamhost.com (Postfix) with ESMTP id 6739A7F63C for ; Thu, 3 Oct 2019 15:33:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to :subject:date:message-id:mime-version:content-type; s= linkov.net; bh=sj6wygEnW7PuofJ7+hK7ayPlg1g=; b=DzQ2FLPhl/vr/vh4o HvGphXyLmP7tAFPnTLuwqaMO5DSbNZLl9PpLg/9gMAknrc+Et1ZIqdZrLELRgFqH UyzjlxRPzmY/bfGnsjnF5TXYp+s0o8ohr9OstcqljICsWoYzo2h3V8tRT7e3u2vq Ql1dIaD7iVbvsQj62MAF8zT73c= Original-Received: from mail.jurta.org (m91-129-99-99.cust.tele2.ee [91.129.99.99]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by pdx1-sub0-mail-a97.g.dreamhost.com (Postfix) with ESMTPSA id 33DE57F625 for ; Thu, 3 Oct 2019 15:33:46 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a97 X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: 0 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedufedrgeelgdduvdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvpdfftffgtefojffquffvnecuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufhofffkfgggtgesthdtredttdertdenucfhrhhomheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqeenucfkphepledurdduvdelrdelledrleelnecurfgrrhgrmhepmhhouggvpehsmhhtphdphhgvlhhopehmrghilhdrjhhurhhtrgdrohhrghdpihhnvghtpeeluddruddvledrleelrdelledprhgvthhurhhnqdhprghthheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqedpmhgrihhlfhhrohhmpehjuhhriheslhhinhhkohhvrdhnvghtpdhnrhgtphhtthhopegsuhhgqdhgnhhuqdgvmhgrtghssehgnhhurdhorhhgnecuvehluhhsthgvrhfuihiivgeptd X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] 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: 209.51.188.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:168290 Archived-At: This is a followup to emacs-devel thread with 100% reproducible test case. On master with any earlier revision before the tabs branch was merged, and compiled for a Motif or Lucid toolkit, i.e. any build without external tool-bar, i.e. not GTK builds, (also note that some confusion on emacs-devel with inconsistent results was caused by not using the required `make clean' in the lwlib directory after switching toolkits) running emacs -Q -f tool-bar-mode that disables tool-bar-mode before it's displayed for the first time, and evaluating (let ((initial (assq 'outer-size (frame-geometry)))) (tool-bar-mode 1) (tool-bar-mode 0) (list (assq 'outer-size (frame-geometry)) initial)) => ((outer-size 680 . 693) (outer-size 680 . 676)) indicates growing of the frame's height. Evaluating the same again produces the correct result: => ((outer-size 680 . 693) (outer-size 680 . 693)) OTOH, in a new session again with emacs -Q -f tool-bar-mode (progn (tool-bar-mode 1) (assq 'outer-size (frame-geometry))) => (outer-size 680 . 693) (progn (tool-bar-mode 0) (assq 'outer-size (frame-geometry))) => (outer-size 680 . 693) It's strange that the results are the same because visually the frame's height grows. Maybe this is specific to the window manager? My window manager is MATE. In GNU Emacs 27.0.50 (build 2, x86_64-pc-linux-gnu, Motif Version 2.3.8) of 2019-10-04 built on localhost Repository revision: d8e741548cd5221d51536a0cbeabde2e4d925054 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.11906000 System Description: Linux Mint 19 Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Tool-Bar mode disabled Configured using: 'configure --with-x-toolkit=motif --enable-checking=yes,glyphs --enable-check-lisp-object-type 'CFLAGS=-O0 -g3 -gdwarf-4'' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND DBUS GSETTINGS GLIB NOTIFY INOTIFY GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS MOTIF X11 XDBE XIM THREADS PDUMPER LCMS2 GMP Important settings: value of $LC_MONETARY: et_EE.UTF-8 value of $LC_NUMERIC: fi_FI.UTF-8 value of $LC_TIME: en_DK.utf8 value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix