From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#22000: Patch addressing the menu-bar frame-resize interaction Date: Fri, 20 Jul 2018 14:34:12 +0200 Message-ID: <5B51D6C4.9030006@gmx.at> References: <87k2p8h1vn.fsf@isaac.fritz.box> <5B4C4911.8040900@gmx.at> <5B4D9F5F.20506@gmx.at> <5B4EE5AF.5000304@gmx.at> <5B504994.3090202@gmx.at> <5B5199F7.7000303@gmx.at> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1532089988 6812 195.159.176.226 (20 Jul 2018 12:33:08 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 20 Jul 2018 12:33:08 +0000 (UTC) Cc: 22000@debbugs.gnu.org, David Engster To: Vivek Dasmohapatra Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jul 20 14:33:04 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 1fgUak-0001cu-TL for geb-bug-gnu-emacs@m.gmane.org; Fri, 20 Jul 2018 14:33:03 +0200 Original-Received: from localhost ([::1]:47968 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fgUcr-0006hT-VK for geb-bug-gnu-emacs@m.gmane.org; Fri, 20 Jul 2018 08:35:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50437) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fgUcl-0006gv-Gq for bug-gnu-emacs@gnu.org; Fri, 20 Jul 2018 08:35:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fgUcg-0004FQ-K2 for bug-gnu-emacs@gnu.org; Fri, 20 Jul 2018 08:35:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:43912) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fgUcg-0004F0-Et for bug-gnu-emacs@gnu.org; Fri, 20 Jul 2018 08:35:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fgUcg-0000U5-8a for bug-gnu-emacs@gnu.org; Fri, 20 Jul 2018 08:35:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 20 Jul 2018 12:35: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.15320900801828 (code B ref 22000); Fri, 20 Jul 2018 12:35:02 +0000 Original-Received: (at 22000) by debbugs.gnu.org; 20 Jul 2018 12:34:40 +0000 Original-Received: from localhost ([127.0.0.1]:48930 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fgUcK-0000TP-72 for submit@debbugs.gnu.org; Fri, 20 Jul 2018 08:34:40 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]:33489) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fgUcI-0000T8-Ov for 22000@debbugs.gnu.org; Fri, 20 Jul 2018 08:34:39 -0400 Original-Received: from [192.168.1.101] ([213.162.73.201]) by mail.gmx.com (mrgmx103 [212.227.17.168]) with ESMTPSA (Nemesis) id 0LjquD-1gHUG92Goz-00bsgR; Fri, 20 Jul 2018 14:34:24 +0200 In-Reply-To: X-Provags-ID: V03:K1:rTSFGfkuO3QZXWKRmD9gOdVK+Li4mDJ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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:148725 Archived-At: >> Why doesn't this process kick in after I shrink the frame width >> manually such that the menu bar is cropped? Something in the course > > It does for me. If I try to shrink the frame manually it either > pops back immediately or after a brief pause (occasionally > a long pause, but it usually "wakes up" when I interact with the UI). I see. Making the default emacs -Q frame narrow enough so the Help menu entry is not showing, maximizing and demaximizing that frame shows the Help menu again. > Oh, sure - I wasn't clear - I tried adding a gtk fixed and it behaves > for our purposes the same way as an hbox - it honours resize requests, > despite its name. The fixed appears to refer to layout (positioning) > only, not size. Then I'm at my wits' end. Please devise a new option like, for example, 'gtk-menu-bar-no-auto-resize' and condition execution of your code on the value of that variable. And please explain the trade-offs in the doc-string of that option and that the option may be removed in the future. Otherwise, people might claim that they do like the auto-resizing in the unlikely case that we do find a better solution. And we eventually have to document this in the manuals. Thanks again for all the work, martin