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: Sun, 21 Oct 2018 16:44:03 +0100 (BST) Message-ID: References: <87k2p8h1vn.fsf@isaac.fritz.box> <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> <87o9bq3trg.fsf@rub.de> <87k1md52mn.fsf@rub.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Trace: blaine.gmane.org 1540137976 24887 195.159.176.226 (21 Oct 2018 16:06:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 21 Oct 2018 16:06:16 +0000 (UTC) User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) Cc: Robert Pluim , 22000@debbugs.gnu.org To: Stephen Berman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Oct 21 18:06:12 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 1gEGF0-0006Kz-34 for geb-bug-gnu-emacs@m.gmane.org; Sun, 21 Oct 2018 18:06:10 +0200 Original-Received: from localhost ([::1]:59528 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gEGH6-0005fU-NX for geb-bug-gnu-emacs@m.gmane.org; Sun, 21 Oct 2018 12:08:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48552) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gEFuc-0001eV-E1 for bug-gnu-emacs@gnu.org; Sun, 21 Oct 2018 11:45:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gEFuZ-0007YE-4w for bug-gnu-emacs@gnu.org; Sun, 21 Oct 2018 11:45:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:58488) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gEFuY-0007Xs-TL for bug-gnu-emacs@gnu.org; Sun, 21 Oct 2018 11:45:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gEFuY-0007Yw-Mf for bug-gnu-emacs@gnu.org; Sun, 21 Oct 2018 11:45: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: Sun, 21 Oct 2018 15: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.154013665729003 (code B ref 22000); Sun, 21 Oct 2018 15:45:02 +0000 Original-Received: (at 22000) by debbugs.gnu.org; 21 Oct 2018 15:44:17 +0000 Original-Received: from localhost ([127.0.0.1]:34513 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gEFto-0007Xi-CL for submit@debbugs.gnu.org; Sun, 21 Oct 2018 11:44:16 -0400 Original-Received: from ceres.etla.org ([85.119.82.193]:46727) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gEFtm-0007Xa-UD for 22000@debbugs.gnu.org; Sun, 21 Oct 2018 11:44:15 -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 1gEFtl-0004PJ-F7; Sun, 21 Oct 2018 16:44:13 +0100 X-X-Sender: vivek@platypus.pepperfish.net In-Reply-To: <87k1md52mn.fsf@rub.de> 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: > Here's a screenshot showing the the menu and tool bars in Emacs without > your patches (left), with patches and menu-bar-scrollbar set to > `automatic' (middle) and set to nil (right): This first height variation is not a glitch - when a scrollbar is present ('always) or could be present ('automatic) I have to let GTK reserve some space for the scrollbar or the focus gets lost after certain mouse interactions, at least until the user forces it back with a particular widget interaction (which is very confusing as you suddenly stop being able to type in an 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:151486 Archived-At: > Here's a screenshot showing the the menu and tool bars in Emacs without > your patches (left), with patches and menu-bar-scrollbar set to > `automatic' (middle) and set to nil (right): This first height variation is not a glitch - when a scrollbar is present ('always) or could be present ('automatic) I have to let GTK reserve some space for the scrollbar or the focus gets lost after certain mouse interactions, at least until the user forces it back with a particular widget interaction (which is very confusing as you suddenly stop being able to type in any buffers or use the keyboard to drive that instance of emacs). When there's no scrollbar (nil) the extra space can be compressed away with some CSS trickery (in theory the UI focus model is still broken, but since there's no scrollbar to interact with the user can't start the bad interaction sequence).