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 15:44:20 +0200 Message-ID: <87ftx2xd8r.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> <87ftx2jo1a.fsf@gmail.com> 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 1539957266 24865 195.159.176.226 (19 Oct 2018 13:54:26 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 19 Oct 2018 13:54:26 +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 15:54:21 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 1gDVEL-0006Lg-JH for geb-bug-gnu-emacs@m.gmane.org; Fri, 19 Oct 2018 15:54:21 +0200 Original-Received: from localhost ([::1]:50717 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gDVGS-0002ct-3R for geb-bug-gnu-emacs@m.gmane.org; Fri, 19 Oct 2018 09:56:32 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40023) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gDV5P-0001SO-HA for bug-gnu-emacs@gnu.org; Fri, 19 Oct 2018 09:45:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gDV5K-0001wA-FR for bug-gnu-emacs@gnu.org; Fri, 19 Oct 2018 09:45:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:54012) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gDV5K-0001vz-BX for bug-gnu-emacs@gnu.org; Fri, 19 Oct 2018 09:45:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gDV5K-0001ZR-9g for bug-gnu-emacs@gnu.org; Fri, 19 Oct 2018 09:45: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 13:45: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.15399566725969 (code B ref 22000); Fri, 19 Oct 2018 13:45:02 +0000 Original-Received: (at 22000) by debbugs.gnu.org; 19 Oct 2018 13:44:32 +0000 Original-Received: from localhost ([127.0.0.1]:58270 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gDV4p-0001YD-UN for submit@debbugs.gnu.org; Fri, 19 Oct 2018 09:44:32 -0400 Original-Received: from mail-wm1-f42.google.com ([209.85.128.42]:55136) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gDV4o-0001Xz-9z for 22000@debbugs.gnu.org; Fri, 19 Oct 2018 09:44:30 -0400 Original-Received: by mail-wm1-f42.google.com with SMTP id r63-v6so3697426wma.4 for <22000@debbugs.gnu.org>; Fri, 19 Oct 2018 06:44:30 -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=5c5GrmKG0llCD0n1K9zDSje6xwxhAPQg+UvzZGc8YXI=; b=RMRT8/CWqIytgRaSpS9FAijFnPLmNeT8sKqC8/T2mpVm+FnuFhzZfnoMfcejEb4b4T 3eB50QjrpB7ZMXLSOjxiJ9A5MtTSktSnwDgQIhAkUeqlifEiqdthmooIeOtaQ4ANfSf2 WACq0hH2XUEe86pYsR6GqxAfGb5L48JklXIjHsmqH4m11oidcvqVTfSebubSJOGJiBte u5e29QIXnMBK5Bgm8PtW0bLNA/s10PveBU4clNTwGDDyxKhZH0h0Orrp/yQQufg8EZ3z qM7GWwd9iHWQboM18lPwe/yOM5UaTdg3q9hsjyEfybxYNDwPsd5YFKtckLx9Ywz9iyy1 q2qA== 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=5c5GrmKG0llCD0n1K9zDSje6xwxhAPQg+UvzZGc8YXI=; b=VKo/oWhUJHhQsKdW8Ht47FRGV/tOu/dilbsYTCF+tsqzpbt4PFQ/Hyait1rfOHIt+z gb5h/akbMk/DrdWdm1RwcaHTqPWX7tQl+lLOlkI3erZiEUz6/sJPtvHAQ6Q7I2YRTvfi v3MrYTXbG7yYNAnunBworTjYR+X4EassxWRUbWlFmfVLlQaeRFgZ4ZkbKTAOS5atPB9A 5ziYfgbaWHZtcio5YRP9Yj5S+WR6+rGc95ze5yZNjJaQ4VJP0z0klsGz5s5YeSAnzvRV l4w24GC5Ehv+RsU7kmLnJUjBm8Plv+lrUG3zhOrC4uDIwZL0vrs9w2e8+KoXARZ3Mc3m E/vQ== X-Gm-Message-State: ABuFfojIoAUYJiRh4e61WKjn+Z2pf4VPeCOwRs8VmBD0F00Ruq6rfBnf QZfmABFs67Fy4chlFRBCeSg= X-Google-Smtp-Source: ACcGV61g9m4mJ6TtcrM/gYd03lsv4AMN5ltVu44KFRD7LMN0tLxWjuVDQx9ps4E+dZ7VjizfIqxX+Q== X-Received: by 2002:a1c:2984:: with SMTP id p126-v6mr5268857wmp.5.1539956664112; Fri, 19 Oct 2018 06:44:24 -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 b5-v6sm21965579wrr.94.2018.10.19.06.44.22 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 19 Oct 2018 06:44:22 -0700 (PDT) Mail-Copies-To: never Gmane-Reply-To-List: yes In-Reply-To: <87ftx2jo1a.fsf@gmail.com> (Robert Pluim's message of "Fri, 19 Oct 2018 11:14:57 +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:151439 Archived-At: Robert Pluim writes: >>> I=CA=BCm seeing a *vertical* scroll bar. So probably this is just a sli= ght >>> 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. Further testing under KDE shows three things: 1. I get a vertical scrollbar on the right for the echo area/minibuffer line but not the menubar using emacs -Q on unmodified emacs-26, so that was not introduced by this patch 2. In unmodified emacs-26, the line separating the menu bar from the tool bar is solid, not dotted 3. I can get rid of the menu bar truncation issue by setting margin-bottom to 10px (but I still have the vertical scrollbar). Robert