From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#24107: 25.1; menu-bar-size and tool-bar-size are reported inconsistently on w32 Date: Sat, 30 Jul 2016 10:22:14 +0200 Message-ID: <579C63B6.9080308@gmx.at> References: <8360roqq9q.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1469867009 21113 80.91.229.3 (30 Jul 2016 08:23:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 30 Jul 2016 08:23:29 +0000 (UTC) To: Eli Zaretskii , 24107@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jul 30 10:23:18 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bTPYD-0005Va-GS for geb-bug-gnu-emacs@m.gmane.org; Sat, 30 Jul 2016 10:23:17 +0200 Original-Received: from localhost ([::1]:34747 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bTPY7-0005X9-CP for geb-bug-gnu-emacs@m.gmane.org; Sat, 30 Jul 2016 04:23:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58074) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bTPY1-0005Wz-MJ for bug-gnu-emacs@gnu.org; Sat, 30 Jul 2016 04:23:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bTPXy-0007In-FY for bug-gnu-emacs@gnu.org; Sat, 30 Jul 2016 04:23:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:53828) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bTPXy-0007Ij-Bk for bug-gnu-emacs@gnu.org; Sat, 30 Jul 2016 04:23:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bTPXy-0003rh-7P for bug-gnu-emacs@gnu.org; Sat, 30 Jul 2016 04:23: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, 30 Jul 2016 08:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24107 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24107-submit@debbugs.gnu.org id=B24107.146986695314809 (code B ref 24107); Sat, 30 Jul 2016 08:23:02 +0000 Original-Received: (at 24107) by debbugs.gnu.org; 30 Jul 2016 08:22:33 +0000 Original-Received: from localhost ([127.0.0.1]:51125 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bTPXV-0003qn-LC for submit@debbugs.gnu.org; Sat, 30 Jul 2016 04:22:33 -0400 Original-Received: from mout.gmx.net ([212.227.17.20]:60650) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bTPXT-0003qZ-8Y for 24107@debbugs.gnu.org; Sat, 30 Jul 2016 04:22:31 -0400 Original-Received: from [192.168.1.100] ([212.95.7.13]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0M2tKM-1bBKek2J2E-00si8C; Sat, 30 Jul 2016 10:22:24 +0200 In-Reply-To: <8360roqq9q.fsf@gnu.org> X-Provags-ID: V03:K0:lCd2NzcgdvPePWUIbQB+IezmYGUbCYsFhK+yU7KYgADPX/fbX7N TAxcRA2MQH5pAAMCNLD3NEea9VXq0hT/eduVR1I8K/QRs4+JlqxTbscYJra6lBsM4XaMx7D KMaSl+z3dmXtLKt0iQgG4DxkkbiK8kvV0K12KE0fm3yEOOxO/fe84cHU6+DtPlh6Hi2ATsG EFzWYCk7aJtBlrJAbLPhQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:/pp+l1GWY4Y=:fzIw53RHwNhUYANl5bZNnA kMenchKdBW/3BBp7aegkCTBffQO5Q/obNtzlght8qrbQp2t1WXnSLnLYhnMOAP5I+9N7gs7fU d1dXeRrLQJsMHeRgfWWPCbAWGeLy1zuJyKmwTk2htptQf65X6oYf22f07pAr/rBrqEMmgWKOV b9RurUkUxUrfloMAM6xVO0nkGyx0dCFd//wX3SY5oGKrXXD/XGGhMwfW4iR2Z2haRYvVFG1pY u84P/NruAK7tdrVktBEkL6C9nPnVWkxiaLQrVmJ28a8yeIQS7QD7Rfd9itjb6SLL3N8B6eN/4 rwyrfaYM8LjMdfh1NN1N5NkpTyWTZg3JtrVXvbUpOZNIDygOO0lbopcug7nRghR3pWYzJBhtj tvPKzOehZMqC38sWj3++KTuxwpXndTwgnKYUsP44wk/LUr1oeZBCrcvd8lK/VZxwHAdxiqnut z7ngWyWrtm9HSF7lAj/4FPXZrgLFl7DsFzUI7dHYJa7NAQBHCUQC06+HCCceCc2dX73cpu3W4 BloM1xIH18rMIblYSgLRyA8nLgxljXRV9kCzBVGoMsTYj8kPlaAm30CmlzxF0X4agoGiLe8Al 2FhLQE/qM8fxVG5dKKiaC2KxbbXhW8Qf87F8CgxRPokeh6EOCI88RkrUb3W4ypcSf2TFCSJyn S7DAmh+PhgZl3QtHcj14ciN3tLskLUzIzGK6KrCc2xGq7RYAKfu3WK95Zxn1WKLzlLy6Bcx7y tciC/43qlA0t4pzi8oTNaq2+i7dlGjdKFHvRUKT571Ck8qkyo6hNrPUeiIwT8AOf8+oDy551 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:121705 Archived-At: > emacs -Q > M-: (frame-geometry) RET > > When I do this on MS-Windows, I get > > ... (menu-bar-size 672 . 19) ... (tool-bar-size 680 . 36) ... > > which looks incorrect, because the width of both is the same. I think > the width of the menu bar is the correct one. The reason I think that > is that when I disable the scroll bars, the width reported for the > menu bar is exactly the window-body-width plus the 16 pixels used up > by the fringes. It's the best I came up with so far. I can't use the width of the menu bar: Try doing (set-frame-parameter nil 'internal-border-width 36) and you'll see what I mean. BTW the Lucid and Motif builds _do_ report the same width for menu and tool bar which is wrong with a non-zero internal border width. martin