From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#51343: 27.2; Xaw3d scrollbar thumb doesn't update while dragged Date: Sun, 19 Dec 2021 12:07:27 -0500 Message-ID: References: <878ryk9owv.fsf.ref@yahoo.com> <878ryk9owv.fsf@yahoo.com> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35067"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 51343@debbugs.gnu.org To: Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Dec 19 18:22:30 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1myztE-0008vA-8B for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 19 Dec 2021 18:22:28 +0100 Original-Received: from localhost ([::1]:39596 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1myztD-0003ES-6O for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 19 Dec 2021 12:22:27 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:35282) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1myzfG-00011V-6h for bug-gnu-emacs@gnu.org; Sun, 19 Dec 2021 12:08:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36372) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1myzfF-0005l2-NT for bug-gnu-emacs@gnu.org; Sun, 19 Dec 2021 12:08:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1myzfF-0004dS-Ii for bug-gnu-emacs@gnu.org; Sun, 19 Dec 2021 12:08:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 19 Dec 2021 17:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51343 X-GNU-PR-Package: emacs Original-Received: via spool by 51343-submit@debbugs.gnu.org id=B51343.163993366317791 (code B ref 51343); Sun, 19 Dec 2021 17:08:01 +0000 Original-Received: (at 51343) by debbugs.gnu.org; 19 Dec 2021 17:07:43 +0000 Original-Received: from localhost ([127.0.0.1]:47918 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1myzew-0004cs-NE for submit@debbugs.gnu.org; Sun, 19 Dec 2021 12:07:42 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:47472) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1myzet-0004ce-SP for 51343@debbugs.gnu.org; Sun, 19 Dec 2021 12:07:40 -0500 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id D5FB2100189; Sun, 19 Dec 2021 12:07:33 -0500 (EST) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 39A061000C4; Sun, 19 Dec 2021 12:07:32 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1639933652; bh=Ivb7eQufvrceW6FFloLk089n/j/cgmi1hHBGN2MKEoU=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=Q0L+FXjIf1JXPL87Ei7uPVoHBOY4tJU01BOxyGHi2d/i3dev/kaiR6iXnX/WURX17 gjEdSxP8Ur6FoKOn9IB65IUQUhifkCDIHXNQ6mVmE4qUxSoe4K/sDu+6amzTZLKW/5 MyuEqkVIZfgYWJbKFLS2rpggYRswyA/dvxD63JyaeqKRZN/3B0IMOtJA2yxTkW8ZvN KmeCFbLTo6O/5YuSdv4xMyOYx2eZK5OmZYeZtILv/l1xIh4oE6ZfJpVqihAhIiBJFs 015mGgqVpG7sjlD3gTIXGb2lrfRBf/FJhmX5SJ0Tn4XjRjTH1Qmg0LbCsnJw2/ju79 MCHbV2aq7hEVg== Original-Received: from pastel (unknown [216.154.30.173]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 09A471207C1; Sun, 19 Dec 2021 12:07:31 -0500 (EST) In-Reply-To: <878ryk9owv.fsf@yahoo.com> (Po Lu's message of "Sat, 23 Oct 2021 15:32:48 +0800") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:222721 Archived-At: Po Lu [2021-10-23 15:32:48] wrote: > Previously, in an Emacs built with Xaw3d scroll bars, the thumb > proportion would update as the scrollbar was dragged. Now it doesn't > update until the scrollbar is released, and something that makes the > scrollbar position change happens. To give you some context: Many years ago, I spent a fair bit of time trying to get scrollbars working "right". It's a major pain in the ass, because most toolkits don't support our requirements: once the bottom of the thumb hits the bottom of its course it stops there, but the corresponding top part of the thumb may correspond to a window-start which leads to a screen where point-max is not visible (in response to which we'd reduce the size of the thumb, but that happens too late (either because the toolkit has already decided not to tell us that the user's mouse was trying to go further, or because the toolkit doesn't support updating the thumb size while dragging it). There was a simple patch to Xaw3d which made it behave more like Xaw (by making the Xaw3d more like Xaw's) and made the whole thing work perfectly for us, but it was never accepted upstream because it went against their philosophy of what "the metaphor should be". Stefan