From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Vivek Dasmohapatra Newsgroups: gmane.emacs.bugs Subject: bug#22000: Patch addressing the menu-bar frame-resize interaction Date: Fri, 12 Oct 2018 13:47:59 +0100 (BST) Message-ID: References: <87k2p8h1vn.fsf@isaac.fritz.box> <5B4D9F5F.20506@gmx.at> <5B4EE5AF.5000304@gmx.at> <5B504994.3090202@gmx.at> <5B5199F7.7000303@gmx.at> <5B51D6C4.9030006@gmx.at> <5B52E425.8010608@gmx.at> <5B543148.1010004@gmx.at> <5B557ACA.4020106@gmx.at> <5BBF93CF.4060301@gmx.at> <5BC05EEB.9010609@gmx.at> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Trace: blaine.gmane.org 1539348506 28752 195.159.176.226 (12 Oct 2018 12:48:26 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 12 Oct 2018 12:48:26 +0000 (UTC) User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) Cc: 22000@debbugs.gnu.org, David Engster To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 12 14:48:22 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 1gAwrc-0007Lf-OH for geb-bug-gnu-emacs@m.gmane.org; Fri, 12 Oct 2018 14:48:20 +0200 Original-Received: from localhost ([::1]:40409 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gAwtj-0005jf-4k for geb-bug-gnu-emacs@m.gmane.org; Fri, 12 Oct 2018 08:50:31 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53207) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gAwsM-0004yA-PF for bug-gnu-emacs@gnu.org; Fri, 12 Oct 2018 08:49:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gAwsI-0007ia-Nz for bug-gnu-emacs@gnu.org; Fri, 12 Oct 2018 08:49:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:41740) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gAwsI-0007ho-Jk for bug-gnu-emacs@gnu.org; Fri, 12 Oct 2018 08:49:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gAwsI-00087E-CB for bug-gnu-emacs@gnu.org; Fri, 12 Oct 2018 08:49:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Vivek Dasmohapatra Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 12 Oct 2018 12:49: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.153934848431130 (code B ref 22000); Fri, 12 Oct 2018 12:49:02 +0000 Original-Received: (at 22000) by debbugs.gnu.org; 12 Oct 2018 12:48:04 +0000 Original-Received: from localhost ([127.0.0.1]:45998 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gAwrL-000861-Py for submit@debbugs.gnu.org; Fri, 12 Oct 2018 08:48:03 -0400 Original-Received: from ceres.etla.org ([85.119.82.193]:56401) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gAwrK-00085c-8r for 22000@debbugs.gnu.org; Fri, 12 Oct 2018 08:48:02 -0400 Original-Received: from yaffle.pepperfish.net ([88.99.213.221] helo=[10.112.101.20]) by ceres.etla.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1gAwrI-0004eM-GA; Fri, 12 Oct 2018 13:48:00 +0100 X-X-Sender: vivek@platypus.pepperfish.net In-Reply-To: <5BC05EEB.9010609@gmx.at> X-Spam_score: -2.9 X-Spam_score_int: -28 X-Spam_bar: -- X-Spam_report: Spam detection software, running on the system "ceres.etla.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > The patchset still doesn't apply to master since master has evolved > differently. I get: Where exactly (commit id) are you applying the patch? [cut] [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.0 AWL AWL: Adjusted score from AWL reputation of From: address 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:151171 Archived-At: > The patchset still doesn't apply to master since master has evolved > differently. I get: Where exactly (commit id) are you applying the patch? [cut] > GtkScrolledWindow *sw; > > has been removed from the former and the latter is now GtkScrolledWindow is introduced by the patch series - I'm confused: Which patch series did you try and where? > Here patches 0001 and 0002 fix the resize problem but I get a too large > menu bar which makes GTK builds pretty unusable. Didn't we agree that > you make the fix optional? That is, one option value (say 'truncate') I can make truncation the default behaviour (in fact it is), the problem is the presence of the scrolledwindow which is necessary for the fix introduces extra padding. I'm not sure there's a way to fix that (well, I guess there is but it's a little tricky as it means the scrolledwindow has to appear and disappear entirely from the widget hierarchy). I might be able to fix it with a style change, if I can defeat the gtk3 docs and figure out if/how to set a style property on a widget. > for users who want the resize problem get fixed and who are willing to > pay for that with a higher menu bar. And one option value (say > 'resize') for users who can live with the resizing problem but care more > about the height of the menu bar. > Patches 0003, 0004 and 0005 make the menu bar invisible at start (with > emacs -Q) and don't allow to bring it back via M-x: menu-bar-mode. I > can get it back with my customized Emacs, though. Any ideas (this is > GTK version 3.4.2)? That's pretty old... even on oldstable I have 3.14. I can try and find a system with that version of GTK, wondering if it's a GTK bug.