From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 29 13:59:51 2016 Received: (at submit) by debbugs.gnu.org; 29 Jul 2016 17:59:51 +0000 Received: from localhost ([127.0.0.1]:50908 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bTC4d-0000fD-AZ for submit@debbugs.gnu.org; Fri, 29 Jul 2016 13:59:51 -0400 Received: from eggs.gnu.org ([208.118.235.92]:36379) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bTC4b-0000f1-Nv for submit@debbugs.gnu.org; Fri, 29 Jul 2016 13:59:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bTC4V-0005tU-K0 for submit@debbugs.gnu.org; Fri, 29 Jul 2016 13:59:44 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:53145) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bTC4V-0005tC-Gv for submit@debbugs.gnu.org; Fri, 29 Jul 2016 13:59:43 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55571) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bTC4T-0000J3-4G for bug-gnu-emacs@gnu.org; Fri, 29 Jul 2016 13:59:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bTC4O-0005sS-5I for bug-gnu-emacs@gnu.org; Fri, 29 Jul 2016 13:59:40 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:34722) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bTC4O-0005sK-1z for bug-gnu-emacs@gnu.org; Fri, 29 Jul 2016 13:59:36 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1862 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bTC4M-0008TP-99 for bug-gnu-emacs@gnu.org; Fri, 29 Jul 2016 13:59:34 -0400 Date: Fri, 29 Jul 2016 20:59:29 +0300 Message-Id: <8360roqq9q.fsf@gnu.org> From: Eli Zaretskii To: bug-gnu-emacs@gnu.org Subject: 25.1; menu-bar-size and tool-bar-size are reported inconsistently on w32 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.3 (------) 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. In GNU Emacs 25.1.2 (i686-pc-mingw32) of 2016-07-29 built on HOME-C4E4A596F7 Repository revision: b275cc76f0c5ab49e81445fcc3420c8772aefd42 Windowing system distributor 'Microsoft Corp.', version 5.1.2600 Configured using: 'configure --prefix=/d/usr --enable-checking=yes,glyphs --with-wide-int --with-modules 'CFLAGS=-O0 -gdwarf-4 -g3'' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS MODULES Important settings: value of $LANG: ENU locale-coding-system: cp1255 Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message dired format-spec rfc822 mml mml-sec password-cache epg epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns help-mode easymenu cl-loaddefs pcase cl-lib mail-prsvr mail-utils time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp disp-table w32-win w32-vars term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote w32notify w32 multi-tty make-network-process emacs) Memory information: ((conses 16 93479 7177) (symbols 56 20753 0) (miscs 48 46 128) (strings 16 17774 5347) (string-bytes 1 441649) (vectors 16 12447) (vector-slots 8 432686 5016) (floats 8 162 106) (intervals 40 266 121) (buffers 856 21)) From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 30 04:22:33 2016 Received: (at 24107) by debbugs.gnu.org; 30 Jul 2016 08:22:33 +0000 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 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 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 Message-ID: <579C63B6.9080308@gmx.at> Date: Sat, 30 Jul 2016 10:22:14 +0200 From: martin rudalics MIME-Version: 1.0 To: Eli Zaretskii , 24107@debbugs.gnu.org Subject: Re: bug#24107: 25.1; menu-bar-size and tool-bar-size are reported inconsistently on w32 References: <8360roqq9q.fsf@gnu.org> In-Reply-To: <8360roqq9q.fsf@gnu.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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+oDy5512 MMs29E4J2oY1AdGiMEo4IxeKgV84Q== X-Spam-Score: -0.1 (/) X-Debbugs-Envelope-To: 24107 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) > 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 From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 30 04:41:48 2016 Received: (at 24107) by debbugs.gnu.org; 30 Jul 2016 08:41:48 +0000 Received: from localhost ([127.0.0.1]:51162 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bTPq7-0004Le-Ou for submit@debbugs.gnu.org; Sat, 30 Jul 2016 04:41:47 -0400 Received: from eggs.gnu.org ([208.118.235.92]:41599) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bTPq6-0004LS-In for 24107@debbugs.gnu.org; Sat, 30 Jul 2016 04:41:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bTPpy-0001td-8t for 24107@debbugs.gnu.org; Sat, 30 Jul 2016 04:41:41 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_40,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42996) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bTPpy-0001tY-6Z; Sat, 30 Jul 2016 04:41:38 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2405 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bTPpw-00009b-Bp; Sat, 30 Jul 2016 04:41:36 -0400 Date: Sat, 30 Jul 2016 11:41:32 +0300 Message-Id: <83shurplfn.fsf@gnu.org> From: Eli Zaretskii To: martin rudalics In-reply-to: <579C63B6.9080308@gmx.at> (message from martin rudalics on Sat, 30 Jul 2016 10:22:14 +0200) Subject: Re: bug#24107: 25.1; menu-bar-size and tool-bar-size are reported inconsistently on w32 References: <8360roqq9q.fsf@gnu.org> <579C63B6.9080308@gmx.at> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: 24107 Cc: 24107@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.3 (------) > Date: Sat, 30 Jul 2016 10:22:14 +0200 > From: martin rudalics > > > 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. OK, but this means you can compute the width of the tool bar as you do for any other window, and then add to that the width of the fringes. Since on Windows the tool bar is just a special window which doesn't have fringes, this should be accurate, no? From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 30 05:39:37 2016 Received: (at 24107) by debbugs.gnu.org; 30 Jul 2016 09:39:37 +0000 Received: from localhost ([127.0.0.1]:51184 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bTQk4-0007KL-RA for submit@debbugs.gnu.org; Sat, 30 Jul 2016 05:39:37 -0400 Received: from mout.gmx.net ([212.227.17.20]:63883) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bTQk3-0007K6-6v for 24107@debbugs.gnu.org; Sat, 30 Jul 2016 05:39:35 -0400 Received: from [192.168.1.100] ([212.95.7.103]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0MBWIM-1bbdx8264c-00ATFg; Sat, 30 Jul 2016 11:39:28 +0200 Message-ID: <579C75CA.2050403@gmx.at> Date: Sat, 30 Jul 2016 11:39:22 +0200 From: martin rudalics MIME-Version: 1.0 To: Eli Zaretskii Subject: Re: bug#24107: 25.1; menu-bar-size and tool-bar-size are reported inconsistently on w32 References: <8360roqq9q.fsf@gnu.org> <579C63B6.9080308@gmx.at> <83shurplfn.fsf@gnu.org> In-Reply-To: <83shurplfn.fsf@gnu.org> Content-Type: multipart/mixed; boundary="------------040902030504040005040306" X-Provags-ID: V03:K0:r2lA+zgo6E0mFYZmqio+AMwjoeNE3eWarHiFymRxiT8xoIBlIQz tG/U/jfdzaDjTpBeLsawwFWRrGuH4c6pOKMWgZNd43jMlSk5M9xaLUNNrRRsgEuY1nC9qBt wWkmE7tUefFWcAqeiNCItrqzD3qWgfJYUK9siXkbFf9VnijJeQcCb3NCrW/CJQ03sU4akFC bsFckpnSZm4vK1uZkyFvw== X-UI-Out-Filterresults: notjunk:1;V01:K0:ag/69czcfnQ=:daM/WEf6ImiMcRNA3Rqiz/ SxNEiFRkh8f86yWNVy11O79iQ2XkuD9EOeKh9Vcvgrdqymgkmb0Y4L6PtMw1PlHYqhaZiFKJG ybIWdv/iu8nxReo/XGngIF3fPSBZJ9bIU1M1FmOOJql2agbvOQwG0ie05zeuDazlKC3XAvF1h 9cI3BxmOVw6cjEPYdp3isZyWY99S+DHUjYUfvt+lw9i+pm687MNlFa/+fD2L/scZBbiR5aXyQ CDGo7wgeYrAozyvdew8NptgMLsk0G6oL3seSE1SDzsvNUD2WVusfbBjiMhyKk2aKgaGHYPiPh GFohjUw5y1sZwEti9GQy4cWWbcWbQq+G6SrCCfMqM1aLkM40pHhaiQHjo9oUKMu79z+3hKXuB EI1941lz3EC/Bu819dOi5qxv9R8DwJASUu+sz6mHOcjoX3CkVZ3tvBmMf5ClsBrSO37eCdnGq sy5TzkmT/1rrfh4CJKi6i41LMc7DSnomXmjCp4SgcDnfEwksXes6SEhBEBbfCoxwRZmkqx3e5 VZLR6zCZFq38fSJtBgcwK2E72wzWI+CqOj9JNnsiBKrWk8Y7C4/azY/AY7/CuXWjm3KNQ9O5W smtjRbrYIb+iRy4oyXBKBf9+v6XKKd8cbeCUTwHfpPRZQ1NDQV+VDrE2qMHEkF4asU5j18UxB 3SUAoxK5yGzRaKoytKBwe6a2Kn5Ov2bzloWEJkiaGCExuV9VG054+1wdCFnwv8Fpb1HMEnnGf K4GSMLIX8iq14UGHxB+q4I+8qDcRjkUBX0YPnteB1liD2VZxDeGACKFYJjTqqYqTFYV1nVGgF Tt8MFow X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 24107 Cc: 24107@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) This is a multi-part message in MIME format. --------------040902030504040005040306 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit > OK, but this means you can compute the width of the tool bar as you do > for any other window, and then add to that the width of the fringes. > Since on Windows the tool bar is just a special window which doesn't > have fringes, this should be accurate, no? It's not related to fringes. I forgot to subtract the width of the external borders. Does the attached patch (mostly fixing indentation hell) give the correct result? martin --------------040902030504040005040306 Content-Type: text/plain; charset=windows-1252; name="w32fns.diff" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="w32fns.diff" ZGlmZiAtLWdpdCBhL3NyYy93MzJmbnMuYyBiL3NyYy93MzJmbnMuYwppbmRleCA1ODRlMzEx Li4yYjA3YmIyIDEwMDY0NAotLS0gYS9zcmMvdzMyZm5zLmMKKysrIGIvc3JjL3czMmZucy5j CkBAIC04NDY1LDI0ICs4NDY1LDI1IEBAIHdpdGggb2Zmc2V0IERZIGFkZGVkIChkZWZhdWx0 IGlzIC0xMCkuCiAJCUZjb25zIChRb3V0ZXJfc2l6ZSwKIAkJICAgICAgIEZjb25zIChtYWtl X251bWJlciAocmlnaHQgLSBsZWZ0KSwKIAkJCSAgICAgIG1ha2VfbnVtYmVyIChib3R0b20g LSB0b3ApKSksCi0JICAgRmNvbnMgKFFleHRlcm5hbF9ib3JkZXJfc2l6ZSwKKwkJRmNvbnMg KFFleHRlcm5hbF9ib3JkZXJfc2l6ZSwKIAkJICAgICAgIEZjb25zIChtYWtlX251bWJlciAo ZXh0ZXJuYWxfYm9yZGVyX3dpZHRoKSwKIAkJCSAgICAgIG1ha2VfbnVtYmVyIChleHRlcm5h bF9ib3JkZXJfaGVpZ2h0KSkpLAogCQlGY29ucyAoUXRpdGxlX2Jhcl9zaXplLAogCQkgICAg ICAgRmNvbnMgKG1ha2VfbnVtYmVyICh0aXRsZV9iYXJfd2lkdGgpLAogCQkJICAgICAgbWFr ZV9udW1iZXIgKHRpdGxlX2Jhcl9oZWlnaHQpKSksCi0JICAgRmNvbnMgKFFtZW51X2Jhcl9l eHRlcm5hbCwgUXQpLAotCSAgIEZjb25zIChRbWVudV9iYXJfc2l6ZSwKLQkJICBGY29ucyAo bWFrZV9udW1iZXIKLQkJCSAobWVudV9iYXIucmNCYXIucmlnaHQgLSBtZW51X2Jhci5yY0Jh ci5sZWZ0KSwKLQkJCSBtYWtlX251bWJlciAobWVudV9iYXJfaGVpZ2h0KSkpLAotCSAgIEZj b25zIChRdG9vbF9iYXJfZXh0ZXJuYWwsIFFuaWwpLAorCQlGY29ucyAoUW1lbnVfYmFyX2V4 dGVybmFsLCBRdCksCisJCUZjb25zIChRbWVudV9iYXJfc2l6ZSwKKwkJICAgICAgIEZjb25z IChtYWtlX251bWJlcgorCQkJICAgICAgKG1lbnVfYmFyLnJjQmFyLnJpZ2h0IC0gbWVudV9i YXIucmNCYXIubGVmdCksCisJCQkgICAgICBtYWtlX251bWJlciAobWVudV9iYXJfaGVpZ2h0 KSkpLAorCQlGY29ucyAoUXRvb2xfYmFyX2V4dGVybmFsLCBRbmlsKSwKIAkJRmNvbnMgKFF0 b29sX2Jhcl9wb3NpdGlvbiwgdG9vbF9iYXJfaGVpZ2h0ID8gUXRvcCA6IFFuaWwpLAotCSAg IEZjb25zIChRdG9vbF9iYXJfc2l6ZSwKKwkJRmNvbnMgKFF0b29sX2Jhcl9zaXplLAogCQkg ICAgICAgRmNvbnMgKG1ha2VfbnVtYmVyCiAJCQkgICAgICAodG9vbF9iYXJfaGVpZ2h0Ci0J CQkgICAgICAgPyByaWdodCAtIGxlZnQgLSAyICogaW50ZXJuYWxfYm9yZGVyX3dpZHRoCi0J CQkJICAgICAgOiAwKSwKKwkJCSAgICAgICA/IChyaWdodCAtIGxlZnQgLSAyICogZXh0ZXJu YWxfYm9yZGVyX3dpZHRoCisJCQkJICAtIDIgKiBpbnRlcm5hbF9ib3JkZXJfd2lkdGgpCisJ CQkgICAgICAgOiAwKSwKIAkJCSAgICAgIG1ha2VfbnVtYmVyICh0b29sX2Jhcl9oZWlnaHQp KSksCiAJCUZjb25zIChRaW50ZXJuYWxfYm9yZGVyX3dpZHRoLAogCQkgICAgICAgbWFrZV9u dW1iZXIgKGludGVybmFsX2JvcmRlcl93aWR0aCkpKTsKCg== --------------040902030504040005040306-- From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 30 06:36:54 2016 Received: (at 24107) by debbugs.gnu.org; 30 Jul 2016 10:36:54 +0000 Received: from localhost ([127.0.0.1]:51193 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bTRdW-0000GZ-6W for submit@debbugs.gnu.org; Sat, 30 Jul 2016 06:36:54 -0400 Received: from eggs.gnu.org ([208.118.235.92]:52957) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bTRdS-0000GM-Uw for 24107@debbugs.gnu.org; Sat, 30 Jul 2016 06:36:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bTRdK-0000Qw-JC for 24107@debbugs.gnu.org; Sat, 30 Jul 2016 06:36:45 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_05,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:43714) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bTRdK-0000Qg-GW; Sat, 30 Jul 2016 06:36:42 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2552 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bTRdI-0002s8-MR; Sat, 30 Jul 2016 06:36:41 -0400 Date: Sat, 30 Jul 2016 13:36:37 +0300 Message-Id: <83popvpg3u.fsf@gnu.org> From: Eli Zaretskii To: martin rudalics In-reply-to: <579C75CA.2050403@gmx.at> (message from martin rudalics on Sat, 30 Jul 2016 11:39:22 +0200) Subject: Re: bug#24107: 25.1; menu-bar-size and tool-bar-size are reported inconsistently on w32 References: <8360roqq9q.fsf@gnu.org> <579C63B6.9080308@gmx.at> <83shurplfn.fsf@gnu.org> <579C75CA.2050403@gmx.at> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: 24107 Cc: 24107@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.3 (------) > Date: Sat, 30 Jul 2016 11:39:22 +0200 > From: martin rudalics > CC: 24107@debbugs.gnu.org > > It's not related to fringes. I forgot to subtract the width of the > external borders. Does the attached patch (mostly fixing indentation > hell) give the correct result? Yes, thanks. From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 30 08:30:47 2016 Received: (at 24107-done) by debbugs.gnu.org; 30 Jul 2016 12:30:47 +0000 Received: from localhost ([127.0.0.1]:51240 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bTTPj-0004Zw-5D for submit@debbugs.gnu.org; Sat, 30 Jul 2016 08:30:47 -0400 Received: from mout.gmx.net ([212.227.15.18]:51927) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bTTPg-0004Zf-PM for 24107-done@debbugs.gnu.org; Sat, 30 Jul 2016 08:30:45 -0400 Received: from [192.168.1.100] ([212.95.7.103]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0Lj1Xa-1arNR53O9O-00dGTx; Sat, 30 Jul 2016 14:30:37 +0200 Message-ID: <579C9DE8.8030408@gmx.at> Date: Sat, 30 Jul 2016 14:30:32 +0200 From: martin rudalics MIME-Version: 1.0 To: Eli Zaretskii Subject: Re: bug#24107: 25.1; menu-bar-size and tool-bar-size are reported inconsistently on w32 References: <8360roqq9q.fsf@gnu.org> <579C63B6.9080308@gmx.at> <83shurplfn.fsf@gnu.org> <579C75CA.2050403@gmx.at> <83popvpg3u.fsf@gnu.org> In-Reply-To: <83popvpg3u.fsf@gnu.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:nNgT0UExCoNMTnPX7mMlmNzfsux0Qom3L7As+nBetIuRLsPo0IX m4C1FauCC8eCRlXsXsfpZtalaKLoI20AzOigZISpyfbNGALEA2l4xYbNGgtxtqUGdrc4mGL 2t6/hUJZZkUhWmpYtQeEg1PZtietc7IKbE4qq0lHEuTWHLHzreU4ah4WInPHDRKOnq+UTT6 AdlE/Hc0oz8dqhT70tuUw== X-UI-Out-Filterresults: notjunk:1;V01:K0:+1gaJ559ESM=:Offs/npCEnHcgriSY0LvfQ J0sp8B+KezGQqW0s+R7yOtIKy1hj9PrUlskqWlPobMsaUJWnSFTNrxZaAtBDS55+qigmYv6xA EtLpNC4y0l6PtRg88QwmlPRMYrMd4aMdV/b49OdJpX61hW9coQQOPCNA16jdWEhIHMuxkyz0R t7K009zzpu/jrJT0GDKsEtS16/Pg+C1AP9y5toTk8xodxrEsa5K++eb0SiuIptBd8KUZtAXNd dQztQuKaXj1rPMMAsgs5GuXwAnlmDlCnlv1Gekkb4Y8Dtytyn05A4so2C9Tig+zgb9KwA3AMk P02Bz1xg7O6EQf9I/ZDeXxP40VyENo9j5LY4BtbNub2DyMVVkHdTBn7kkPzF9586T7FDqZBLS A2mLrrz1e2q7HMWoTDwCxTwOI1iZpVE2riX2DPzJhJtDngJA1VNHb/F7LZnKFrsw+6xUSOB1n ImvyTpvmGsLrpWs/tewd9zqlg1MJJe7VYRr3M6VHkxn4LkoUsVslhbtZsPvMeivRf2yHpovp0 s5yFMzP43E6Uorymdim03GGFVkCCUSm3M+NTmifv+K/u4TeAlb3KNfdAZpqHHLpYGVNuabULL HQAfVlR2lpHL60dK2NT9D/CKVlnlNg/X2fVAeI5SuUQL/A05PRT8zQCMNi6lrE4nkLzbnKGec RVNRVFTN2T8qrlDkufqIXBh908aGiz9wKzub90XMUEVquAxBQHMeaZaeQTrhw0BwxR1e7n/Y+ Fr3rO0BLNyfVMSS5s94eQ2WUc+Bm/xMz6q4DXTQcVQo7tzqZJZUGlDZzpcrA0AwuZ+tQC/vQ7 RIoWhhghF8CVbpnXKwc2EdebgmfKw== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 24107-done Cc: 24107-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) > Yes, thanks. Installed on master. Bug closed. Thanks for spotting this blatant discrepancy, martin From unknown Fri Sep 05 15:55:31 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 28 Aug 2016 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator