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 11:14:57 +0200 Message-ID: <87ftx2jo1a.fsf@gmail.com> References: <87k2p8h1vn.fsf@isaac.fritz.box> <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> <87ftx24c4s.fsf@gmail.com> <5BC99700.1050309@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 1539940463 4317 195.159.176.226 (19 Oct 2018 09:14:23 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 19 Oct 2018 09:14:23 +0000 (UTC) Cc: 22000@debbugs.gnu.org, vivek@etla.org, Stephen Berman To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 19 11:14:19 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 1gDQrI-0000yA-VH for geb-bug-gnu-emacs@m.gmane.org; Fri, 19 Oct 2018 11:14:17 +0200 Original-Received: from localhost ([::1]:48029 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gDQtP-000615-BK for geb-bug-gnu-emacs@m.gmane.org; Fri, 19 Oct 2018 05:16:27 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56421) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gDQtA-00060m-V3 for bug-gnu-emacs@gnu.org; Fri, 19 Oct 2018 05:16:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gDQt1-0001ZU-2E for bug-gnu-emacs@gnu.org; Fri, 19 Oct 2018 05:16:09 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:53890) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gDQt0-0001YQ-Ks for bug-gnu-emacs@gnu.org; Fri, 19 Oct 2018 05:16:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gDQt0-0001Wj-Bk for bug-gnu-emacs@gnu.org; Fri, 19 Oct 2018 05:16: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 09:16:02 +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.15399405085794 (code B ref 22000); Fri, 19 Oct 2018 09:16:02 +0000 Original-Received: (at 22000) by debbugs.gnu.org; 19 Oct 2018 09:15:08 +0000 Original-Received: from localhost ([127.0.0.1]:58148 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gDQs8-0001VO-3P for submit@debbugs.gnu.org; Fri, 19 Oct 2018 05:15:08 -0400 Original-Received: from mail-wm1-f49.google.com ([209.85.128.49]:53788) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gDQs7-0001Ui-5L for 22000@debbugs.gnu.org; Fri, 19 Oct 2018 05:15:07 -0400 Original-Received: by mail-wm1-f49.google.com with SMTP id y11-v6so2897709wma.3 for <22000@debbugs.gnu.org>; Fri, 19 Oct 2018 02:15:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:mail-copies-to :gmane-reply-to-list:date:message-id:mime-version :content-transfer-encoding; bh=EGdgspl7rYazonBmvcj1R4bvbz341iLTcQQq9Oy7bgw=; b=mmGXO9lwKvgeogjdQ6WGGKvKsDS87O5UakvncbeCn+jDPrbfF5bBY9sgb/x/vODQM8 VCAMIWLTMcqpLWh5iXqrAYnd8yb3hB9EViS9Jve07w/cOuEV/ywuJDSZdNtCqzqdowOf Nse3piLbG2ydlHYEV7LGk0ckNh2b/Kr1h8H2qjCRJxKxVMKFuetrR6y8ESj2to+Klsb6 +yBUUxy20iaX2c5K/C8jA52nvJcRuSG+rTRbtMD+Lp0WPJB50qNPYwFdoaF5q+6oSLL6 ukVdjIX0pyynpON2WzaLG2qA4t3F/ZeLlEqjfSl5FWOhd4zxegPiFQe1OUpM/q9fF064 YGJw== 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:in-reply-to:references :mail-copies-to:gmane-reply-to-list:date:message-id:mime-version :content-transfer-encoding; bh=EGdgspl7rYazonBmvcj1R4bvbz341iLTcQQq9Oy7bgw=; b=cBsShmIFfonoOJukUZMP82bSabN9a/YEIaBSSvYICeVH1RRfVCzT+g4p9U9V0a6skA LUQ+vYv99iToVqvSZ/FxZcWuOEa74fn/XvlLHYcQ0RQ8wlxfp1NugfYxJg8TFOp+0DbO k4SIoMN9ctLIqn40F5lsEGKtdrxPTFtTCr/NIySPCN0hAlKVCylCc8rNh2Aw27nHyWg3 sGKNHlvHu+gMSJXkyd4jL7TjWeeKt63dvtIYDef4LFLb9mvjTQxTBf54tqyEX7vJJhRO SQOr17sA3m/YNyHp39YLlLD882A8eT5ZD3edo+IH1i88At07nRxUgB5bRGbI1+UbvVNd x3Qw== X-Gm-Message-State: ABuFfoh0afDFOMYjuqK21155kq7n3sqUB3lnJ0r5UbUOGn17LJ5IpFrp ciasMZ2lJfYXN6TxJUA/Bw0= X-Google-Smtp-Source: ACcGV631ZZANFwlyZkfEtdPRlk4gyQrg4jVSAGPFDdu/VPiDyce72dQQ9UBe47XMuMWF0AX3cAPg6Q== X-Received: by 2002:a1c:41c5:: with SMTP id o188-v6mr4260413wma.34.1539940500697; Fri, 19 Oct 2018 02:15:00 -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 l70-v6sm6208135wma.0.2018.10.19.02.14.58 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 19 Oct 2018 02:14:59 -0700 (PDT) In-Reply-To: <5BC99700.1050309@gmx.at> (martin rudalics's message of "Fri, 19 Oct 2018 10:34:08 +0200") Mail-Copies-To: never Gmane-Reply-To-List: yes 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:151433 Archived-At: martin rudalics writes: >> Something very strange is going on: menu-bar-scrollbar-mode is nil by >> default, so why am I seeing a scrollbar at all? > > Can you please describe the steps you performed? Is this with -Q or > in a session where you turned the menu bar on later? emacs -Q. But I was confused about the scrollbar :-) >> 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). > > Is there no way to turn the scroll bar off under KDE? Can you turn > the scroll bar on under GNOME? Under GNOME, I see truncation when the frame is too narrow. If I set menu-bar-scrollbar-mode to 'always', I get a horizontal scrollbar when the frame is too narrow. (I haven't retried KDE yet). So it=CA=BCs all working fine, except for the visual glitch under KDE. >> 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 slig= ht >> 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 ? > > I think so. But I'd like to see at least one or two other persons > with sufficiently new GTKs kick in (Stephen, pretty please) so we get > a more complete picture of which problems may occur. ".mbtrunc * { border-width: 1px; margin-top: -2px; margin-bottom: -2px; = }\n" \ I=CA=BCm thinking maybe that margin-bottom should be 0px or something? I=CA= =BCll see if I can try that later. Robert