From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#62707: 30.0.50; [PATCH] Non toolkit scroll bar handle Date: Sat, 08 Apr 2023 08:13:16 +0800 Message-ID: <87jzynnsdf.fsf@yahoo.com> References: <87h6tsfavd.fsf@ledu-giraud.fr> <83cz4gp3ps.fsf@gnu.org> <87pm8gdt3q.fsf@ledu-giraud.fr> <83a5zkoua9.fsf@gnu.org> <87a5zjdf55.fsf@ledu-giraud.fr> Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36916"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , 62707@debbugs.gnu.org To: Manuel Giraud Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Apr 08 02:14:24 2023 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 1pkwDn-0009SB-TC for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 08 Apr 2023 02:14:23 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pkwDU-0004DP-KQ; Fri, 07 Apr 2023 20:14:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pkwDS-0004D1-UE for bug-gnu-emacs@gnu.org; Fri, 07 Apr 2023 20:14:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pkwDS-0005z7-HM for bug-gnu-emacs@gnu.org; Fri, 07 Apr 2023 20:14:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pkwDS-0004bL-C4 for bug-gnu-emacs@gnu.org; Fri, 07 Apr 2023 20:14:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 08 Apr 2023 00:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62707 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 62707-submit@debbugs.gnu.org id=B62707.168091281417644 (code B ref 62707); Sat, 08 Apr 2023 00:14:02 +0000 Original-Received: (at 62707) by debbugs.gnu.org; 8 Apr 2023 00:13:34 +0000 Original-Received: from localhost ([127.0.0.1]:57452 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pkwCz-0004aW-L1 for submit@debbugs.gnu.org; Fri, 07 Apr 2023 20:13:33 -0400 Original-Received: from sonic312-25.consmr.mail.ne1.yahoo.com ([66.163.191.206]:37082) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pkwCx-0004aH-A8 for 62707@debbugs.gnu.org; Fri, 07 Apr 2023 20:13:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1680912805; bh=vAzjwkLJDdutJg2cHjhV/wPpf/RTDo43B79trNlJCek=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=kZuApHiYrukhUHnAxb4qnP4kbYvP8tIy85FsAUe+9qzlp3b6N+i6KF4j2sEMbivYDUNh4W2rxBggw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r6O8KMr4bureN9z9d.WhU0OxnOLJJuIQLcsBKk.PxSEtYeLiVTdu2cQ1tuqr33qAeb 7bQUstx7R8Hv88Erj5KMSTWMrCwCfGI5XeZ9ebI0QjrJl24wP.mL3zFOKWzlDJA1c6yb._ZhBdsS T.XsHt.NMMadDLRiaODK3LUTaiSTZluQq4AmlIpopeebmPbxrepfXmZNLFLZFC0YxYVkicqtYG85 aViumKfOl1IPNzeeO5bFKMMEX09WDJkl48FJ9xPjsan39BAG9f.75Pc1.L_UUF3W5Q_AnoNNnE3r ZsYsGgVLv1BbgdLIG9mIFYgPM9DMn27vqXl3i8KgW5U1T__ogpaZc52n9u60T688TwlKVTOuuvzM hnKC9cItJ_ebqg4lWCVtY8ClHLDFL0Oz97_KjJTSy.chweFVn_rS1XDT0C9NNBkTlcSParfhsf0P iZrry_iBPkYWCT8ao0SPn2Q4HqXV7EXUnz_UKrYH8A5oHzeSLbDe2OsVWKNEMrOZtrXQaCeEj6ki eLkOqGdxvVlw7U2ApMRyzoT460g5L3ygh7b6VLBSad X-Sonic-MF: X-Sonic-ID: 6e095f59-1701-4682-bf72-e0f0e7fe0775 Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic312.consmr.mail.ne1.yahoo.com with HTTP; Sat, 8 Apr 2023 00:13:25 +0000 Original-Received: by hermes--production-sg3-6d6fb994f6-f9862 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 1d04e8e7d95b3080de6bbd5230f5de93; Sat, 08 Apr 2023 00:13:21 +0000 (UTC) In-Reply-To: <87a5zjdf55.fsf@ledu-giraud.fr> (Manuel Giraud's message of "Fri, 07 Apr 2023 14:56:54 +0200") X-Mailer: WebService/1.1.21365 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:259450 Archived-At: Manuel Giraud writes: > I have tested with gtk3, athena and no toolkit. FWIW, gtk3 seems to be > "line based". I have attached a text file that makes it easy to see the > behaviour. That's because GTK and Motif go berserk when you try to change the scroll-bar thumb, so Jan Djarv has a hack named `scroll-bar-adjust-thumb-portion' which is used on those toolkits. Turn that off, and you'll see that the GTK and Motif scroll bars are supposed to work the same way as the others.