From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#62707: 30.0.50; [PATCH] Non toolkit scroll bar handle Date: Fri, 07 Apr 2023 13:40:40 +0300 Message-ID: <837cuootzr.fsf@gnu.org> References: <87h6tsfavd.fsf@ledu-giraud.fr> <83cz4gp3ps.fsf@gnu.org> <87pm8gdt3q.fsf@ledu-giraud.fr> <87h6tsdpfw.fsf@ledu-giraud.fr> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37122"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 62707@debbugs.gnu.org To: Manuel Giraud Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Apr 07 12:41:12 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 1pkjWq-0009Vq-K2 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 07 Apr 2023 12:41:12 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pkjWi-0005oG-M9; Fri, 07 Apr 2023 06:41: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 1pkjWh-0005nF-19 for bug-gnu-emacs@gnu.org; Fri, 07 Apr 2023 06:41:03 -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 1pkjWg-00038c-PK for bug-gnu-emacs@gnu.org; Fri, 07 Apr 2023 06:41:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pkjWg-0008HA-Iv for bug-gnu-emacs@gnu.org; Fri, 07 Apr 2023 06:41:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 07 Apr 2023 10:41: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.168086405131785 (code B ref 62707); Fri, 07 Apr 2023 10:41:02 +0000 Original-Received: (at 62707) by debbugs.gnu.org; 7 Apr 2023 10:40:51 +0000 Original-Received: from localhost ([127.0.0.1]:55742 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pkjWU-0008Gb-Ly for submit@debbugs.gnu.org; Fri, 07 Apr 2023 06:40:50 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:43594) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pkjWS-0008GO-7F for 62707@debbugs.gnu.org; Fri, 07 Apr 2023 06:40:49 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pkjWL-00034Y-RI; Fri, 07 Apr 2023 06:40:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=c/jmojXKV7BRBNxDbilC71qIm1t0syyF9Fw6rYFF2ss=; b=EeGaAzxbyk39 1dhSXp/G7noVnAF+NQ40Z+SxgTy+bcEBrjqRQBrA51+uArTsyNkm7z0XHdi8YMRSuoE2gDfHOK7fH ZaiM0nTJo6w2Nd+36piOO1yQ7m/Fuv4vYSuic+Hx0O7aDyqd0v1QZpRHaffAV/La2vpNdYyfQeoQ8 z9qnSFcqUQHx05DDBQ4qOJl9SUlYdi+Pnrlbo9hx3hPQQbUvLwIpyKdLutDC7LaaadVkMqpMZ+fps JK5SjpdiNKtue+RsyGIRIBi4KQ0Rsz+/apr3165Cbun1Zk9cemJzX9f549tPLIJqiXgVa4x5CVmy/ i5OMOqQdlus04v+rpwo8Cg==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pkjVp-0002yV-Mu; Fri, 07 Apr 2023 06:40:31 -0400 In-Reply-To: <87h6tsdpfw.fsf@ledu-giraud.fr> (message from Manuel Giraud on Fri, 07 Apr 2023 11:14:27 +0200) 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:259377 Archived-At: > From: Manuel Giraud > Cc: 62707@debbugs.gnu.org > Date: Fri, 07 Apr 2023 11:14:27 +0200 > > Manuel Giraud writes: > > [...] > > >> Fix it in what way? what is wrong with what we have now? > > > > When I'm scrolling a file (with 'C-v'/'M-v' for example), the handle of > > the vertical scroll bar has its height that keeps changing even though > > the same amount of text is showed (there is no long line breaking > > involved). I think it is distracting and weird but I may be missing > > something. > > I think I kind of understand my issue here: the non-toolkit tool bar > handle is reflecting the number of *characters* actually displayed > (against all characters in the buffer). That is why depending on lines > "fullness" it can vary. Yes. AFAIK, all our implementations of scroll-bar behave like that, always did. > Maybe it a feature then. WDYT? If it's going to be a feature, it will have to affect all the scroll-bar implementations, not just the no-toolkit one.