From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#34569: 26.1.90; Zero wide scroll bars Date: Sat, 23 Feb 2019 18:49:55 +0200 Message-ID: <83lg26phzg.fsf@gnu.org> References: <5C6BC77F.6020104@gmx.at> <83sgweq1d6.fsf@gnu.org> <5C715252.1060104@gmx.at> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="186539"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 34569@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 23 17:51:15 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gxaWA-000mPr-V9 for geb-bug-gnu-emacs@m.gmane.org; Sat, 23 Feb 2019 17:51:15 +0100 Original-Received: from localhost ([127.0.0.1]:40288 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gxaW9-00085C-V4 for geb-bug-gnu-emacs@m.gmane.org; Sat, 23 Feb 2019 11:51:13 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:54347) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gxaW0-00084w-Dg for bug-gnu-emacs@gnu.org; Sat, 23 Feb 2019 11:51:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gxaVz-0006ml-Oa for bug-gnu-emacs@gnu.org; Sat, 23 Feb 2019 11:51:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36018) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gxaVy-0006jB-8s for bug-gnu-emacs@gnu.org; Sat, 23 Feb 2019 11:51:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gxaVy-0001SU-3b for bug-gnu-emacs@gnu.org; Sat, 23 Feb 2019 11:51:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 23 Feb 2019 16:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34569 X-GNU-PR-Package: emacs Original-Received: via spool by 34569-submit@debbugs.gnu.org id=B34569.15509406105529 (code B ref 34569); Sat, 23 Feb 2019 16:51:02 +0000 Original-Received: (at 34569) by debbugs.gnu.org; 23 Feb 2019 16:50:10 +0000 Original-Received: from localhost ([127.0.0.1]:49562 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gxaV8-0001R7-Eb for submit@debbugs.gnu.org; Sat, 23 Feb 2019 11:50:10 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:39771) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gxaV6-0001Qn-Oq for 34569@debbugs.gnu.org; Sat, 23 Feb 2019 11:50:09 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:51982) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gxaUv-0005KW-M3; Sat, 23 Feb 2019 11:49:59 -0500 Original-Received: from [176.228.60.248] (port=1352 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gxaUr-0002fP-Te; Sat, 23 Feb 2019 11:49:55 -0500 In-reply-to: <5C715252.1060104@gmx.at> (message from martin rudalics on Sat, 23 Feb 2019 15:01:54 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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: 209.51.188.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:155696 Archived-At: > Date: Sat, 23 Feb 2019 15:01:54 +0100 > From: martin rudalics > CC: 34569@debbugs.gnu.org > > > If turning off scroll-bar-mode does work, then how about disabling the > > direct setting of 'scroll-bar-width', either silently or noisily? > > Setting 'scroll-bar-width' is fragile. With GTK builds you can set > it, Emacs will respect it and GTK will either overdraw or leave a gap > because you can't change the GTK scroll bar from within Emacs. Note > the dual use of this parameter: 'scroll-bar-width' is (1) passed on to > the toolkit to draw scroll bars of the desired width and (2) used by > Emacs to clear various areas of the window and calculate the width of > the text area. > > But yes: One way to fix the aborts should be to disallow setting the > 'scroll-bar-width' frame parameter to zero. Then I think we should do that. > This hints at another way of fixing the aborts: Handle zero wide > scroll bars just as if scroll bars were disabled/turned off. Yes. > > If we disallow setting this parameter directly, or at least setting it > > to zero, this problem will also go away, right? > > Why would we disallow setting this parameter directly? On Windows it > works perfectly. On Lucid and Motif all widths but zero work well. I said "or at least setting it to zero".