From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.bugs Subject: bug#22000: Patch addressing the menu-bar frame-resize interaction Date: Fri, 19 Oct 2018 09:41:07 +0200 Message-ID: <87ftx24c4s.fsf@gmail.com> References: <87k2p8h1vn.fsf@isaac.fritz.box> <5B543148.1010004@gmx.at> <5B557ACA.4020106@gmx.at> <5BBF93CF.4060301@gmx.at> <5BC05EEB.9010609@gmx.at> <5BC0E405.90805@gmx.at> <5BC1AAE2.7070808@gmx.at> <5BC4DB0E.3050501@gmx.at> <5BC6E4F2.2030607@gmx.at> <83pnw7qsxu.fsf@gnu.org> <87h8hjxrk2.fsf@gmail.com> <5BC8B7A4.8020405@gmx.at> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1539934844 23422 195.159.176.226 (19 Oct 2018 07:40:44 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 19 Oct 2018 07:40:44 +0000 (UTC) Cc: 22000@debbugs.gnu.org, vivek@etla.org, deng@randomsample.de To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 19 09:40:40 2018 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 1gDPOg-0005yd-3J for geb-bug-gnu-emacs@m.gmane.org; Fri, 19 Oct 2018 09:40:38 +0200 Original-Received: from localhost ([::1]:47586 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gDPQm-0006ML-Ox for geb-bug-gnu-emacs@m.gmane.org; Fri, 19 Oct 2018 03:42:48 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35453) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gDPQO-00062J-Ch for bug-gnu-emacs@gnu.org; Fri, 19 Oct 2018 03:42:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gDPQ8-00014P-MD for bug-gnu-emacs@gnu.org; Fri, 19 Oct 2018 03:42:13 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:53825) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gDPQ2-0000z7-4p for bug-gnu-emacs@gnu.org; Fri, 19 Oct 2018 03:42:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gDPQ2-0007YO-0m for bug-gnu-emacs@gnu.org; Fri, 19 Oct 2018 03:42:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Robert Pluim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 19 Oct 2018 07:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22000 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 22000-submit@debbugs.gnu.org id=B22000.153993487928987 (code B ref 22000); Fri, 19 Oct 2018 07:42:01 +0000 Original-Received: (at 22000) by debbugs.gnu.org; 19 Oct 2018 07:41:19 +0000 Original-Received: from localhost ([127.0.0.1]:58083 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gDPPL-0007XS-3R for submit@debbugs.gnu.org; Fri, 19 Oct 2018 03:41:19 -0400 Original-Received: from mail-wm1-f51.google.com ([209.85.128.51]:35520) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gDPPI-0007X2-1D for 22000@debbugs.gnu.org; Fri, 19 Oct 2018 03:41:16 -0400 Original-Received: by mail-wm1-f51.google.com with SMTP id o17-v6so1962639wmh.0 for <22000@debbugs.gnu.org>; Fri, 19 Oct 2018 00:41:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:mail-copies-to:gmane-reply-to-list :date:in-reply-to:message-id:mime-version:content-transfer-encoding; bh=MinLutbLh6wPficN9RaCBeA84fwp2etBnw6FYqmoPCQ=; b=qgreuIFxKBw9ti7Wf4ANuizTi1N6wOmDIhlXklrOO7ybiV8i+zLVjyZm3R1Aw32CHr OOvC+Mv6wfW19jvzcSyfmf5wlrHdnGg58vPjOKhMNcQV3ft0QOXl0uTQOqdMYaVfI7C1 yfW5nCdxWs4/jnry7isfD8MG2JZVgxSJErJ+DwG2JIGdcn+otqNhrZ76qbei/D1qTfiM y+8AdLv3rqj0oLli8tya1N8I5rUrrS0HMpyRVo7nWUuq9PiqnylaXtOnmpVF/eUaQp6E tp2Ni99s/3T332doEvYPINw9/kS7HXZkfvESBBTsx8gBIY73h8+N3HoM29hXKUcqiAho xzNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:mime-version :content-transfer-encoding; bh=MinLutbLh6wPficN9RaCBeA84fwp2etBnw6FYqmoPCQ=; b=uRYjHmSzkW4/JIc0tOEbB30yUUW27azE/nsssZ8Jhzv9rZrMyInX2+R3oYLytLDEcr FQar1vlPIDaM50nRenHrZ7wFFZ4ZUBt1u5U5dlp8cxNyWPozTmjLSy65ueM3scXswYjO yybztjKGw14a88GNd0nTMEyTOQkE+m5qpqz4/wPjtvQxMOQBATvCBElkqWDhOmliLXs6 Bvi81aYTCOUA50SEJa4kNodeqyP4eNsdL1kaUPlllLFcyi35uN39islBVqz8I38q4lWr seMIiRycjkQ3sNEpoqWiW54xqpUndpx3GcCCZl9ghXrsbxY0/RnM4jInNQZ5g5Sh1AgI xCnQ== X-Gm-Message-State: ABuFfoibGKZabC1XuBiGgMOJTiWVL7QdZvY3bXQ2J3KAoNjK1iP3I1yw 5c6H9AYoOnw4bVRPZrhViKc= X-Google-Smtp-Source: ACcGV630qfOw/i2mjnwj/piOO/1z1ThtV0x+oEN83n8Pg8xBbaDdcDe8O8dehBIUpKfy6aIfWrUaGg== X-Received: by 2002:a1c:87ca:: with SMTP id j193-v6mr3340328wmd.99.1539934870072; Fri, 19 Oct 2018 00:41:10 -0700 (PDT) Original-Received: from rpluim-ubuntu (vav06-1-78-207-202-134.fbx.proxad.net. [78.207.202.134]) by smtp.gmail.com with ESMTPSA id w4-v6sm23520924wra.83.2018.10.19.00.41.08 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 19 Oct 2018 00:41:09 -0700 (PDT) Mail-Copies-To: never Gmane-Reply-To-List: yes In-Reply-To: <5BC8B7A4.8020405@gmx.at> (martin rudalics's message of "Thu, 18 Oct 2018 18:41:08 +0200") 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:151424 Archived-At: martin rudalics writes: >> I=CA=BCve tried the patch now, > > Thank you. Please try also customizing the option from the menu bar > and please also try its main feature: Make the frame sufficently > narrow, type M-x dired RET RET, and test whether the menu bar gets > truncated instead of resizing the frame. > Something very strange is going on: menu-bar-scrollbar-mode is nil by default, so why am I seeing a scrollbar at all? Even stranger: with KDE I see the scrollbar, but running the same emacs binary under GNOME I don=CA=BCt (and the menubar is truncated when the frame is too narrow, so the functionality is fine). >> and am seeing some minor display glitches >> from emacs -Q. The space allocated for the menu bar seems slightly too >> small, resulting in a dotted line underneath it, see screenshot. This >> is with gtk 3.22.30. > > From that screenshot it's also evident that descenders are truncated, > in particular the "p" in Options, Help ... Yes. I=CA=BCm thinking there should be no scrollbar at all. I=CA=BCm seeing a *vertical* scroll bar. So probably this is just a slight miscalculation of the menubar height (but then why is it different under KDE than GNOME?). Would it make sense to start playing with gtkutil.c:MENUBAR_STYLESHEET ? Robert