From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Simen =?iso-8859-1?q?Heggest=F8yl?= Newsgroups: gmane.emacs.devel Subject: Re: Default mouse wheel scrolling is jumpy Date: Sat, 30 May 2015 21:05:12 +0200 Message-ID: <1433012712.4063.0@smtp.gmail.com> References: <1431982998.3001.0@smtp.gmail.com> <555A91B0.9080405@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=-ew48mpU9ob0HZX05nCnk" X-Trace: ger.gmane.org 1433013091 30465 80.91.229.3 (30 May 2015 19:11:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 30 May 2015 19:11:31 +0000 (UTC) Cc: Stefan Monnier , emacs-devel@gnu.org To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat May 30 21:11:30 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YymAG-0005F0-Jq for ged-emacs-devel@m.gmane.org; Sat, 30 May 2015 21:11:24 +0200 Original-Received: from localhost ([::1]:40263 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YymAF-0003tN-O1 for ged-emacs-devel@m.gmane.org; Sat, 30 May 2015 15:11:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33372) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YymA1-0003tH-GF for emacs-devel@gnu.org; Sat, 30 May 2015 15:11:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yym9w-0002qY-H5 for emacs-devel@gnu.org; Sat, 30 May 2015 15:11:09 -0400 Original-Received: from mail-la0-x22b.google.com ([2a00:1450:4010:c03::22b]:34067) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yym4N-0001LZ-0r for emacs-devel@gnu.org; Sat, 30 May 2015 15:05:19 -0400 Original-Received: by laat2 with SMTP id t2so76315655laa.1 for ; Sat, 30 May 2015 12:05:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:subject:to:cc:message-id:in-reply-to:references :mime-version:content-type; bh=46C0hpzzQ5aCZeCx5lU6qDHXAQLmhi5uARKxAhMUq5s=; b=HeG0B2egQo4Nd0TcOBvWHIcWMhu78930su3yXM3mJjb3OZYuDEFZ0AD9wcjJV32Pv/ om89trsOlwrI9Yb+Ou9/XmnSzdr7FDECPBq0tnr24A/bzau+lbnb/6dBICzVcpIxCNHk oqzc7qxwBijf1fQSJmYZS6apE+jJqKNjYOFavGJDSGux3SqykAxSqCePD++jje4ARlJA 3QBf0ojSbKvVNUF1DrQir4qpqGxl8ikqSgqlBZJJfSQuIJVqDglfs3sapveQNJ6v2flr BKo7CVSfYkk0ANK3WB896AxF8u3VxY/5bbturhQ3RTL1eu0Z1sz5wkHQ4wm72Rh3PG25 0NzA== X-Received: by 10.152.197.2 with SMTP id iq2mr13824414lac.103.1433012715701; Sat, 30 May 2015 12:05:15 -0700 (PDT) Original-Received: from [192.168.1.114] (cm-84.215.209.45.getinternet.no. [84.215.209.45]) by mx.google.com with ESMTPSA id k15sm2561639laa.28.2015.05.30.12.05.13 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 30 May 2015 12:05:14 -0700 (PDT) In-Reply-To: <555A91B0.9080405@yandex.ru> X-Mailer: geary/0.10.0 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c03::22b X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:186957 Archived-At: --=-ew48mpU9ob0HZX05nCnk Content-Type: text/plain; charset=utf-8; format=flowed On Tue, May 19, 2015 at 3:28 AM, Dmitry Gutov wrote: > On 05/19/2015 04:16 AM, Stefan Monnier wrote: > >> I see Firefox uses more like a setting of 2 rather than 5 nowadays, >> so >> maybe we should revisit those defaults indeed. Part of the reason is >> that devices have changed. > > IME, Firefox scrolls by 3 lines rather than 2. I guess that depends on which font sizes you usually encounter. IME, it's often close to 2 lines. How about changing the default to 2 lines and see how it works out, then? >> With the (old) wheel-mouse I'm using >> a setting of 5 works rather well, but the rare few times I've used >> a touchpad with a scroll area, I've indeed found the behavior to be >> difficult to use. > > Touchpads are tricky to get right, and the scroll amount (that the > user expects) also differs by the OS. > > Maybe we should have a different setting for them, if distinguishing > is possible. That also sounds good, if it is possible to do so. Another thought also struck me, but I know very little about such things, so I'm going to ask: how hard would it be to (optionally) piggy-back the window system's native scrolling mechanisms? -- Simen --=-ew48mpU9ob0HZX05nCnk Content-Type: text/html; charset=utf-8 On Tue, May 19, 2015 at 3:28 AM, Dmitry Gutov <dgutov@yandex.ru> wrote:
On 05/19/2015 04:16 AM, Stefan Monnier wrote:
I see Firefox uses more like a setting of 2 rather than 5 nowadays, so maybe we should revisit those defaults indeed. Part of the reason is that devices have changed.
IME, Firefox scrolls by 3 lines rather than 2.

I guess that depends on which font sizes you usually encounter. IME,
it's often close to 2 lines.

How about changing the default to 2 lines and see how it works out,
then?

With the (old) wheel-mouse I'm using a setting of 5 works rather well, but the rare few times I've used a touchpad with a scroll area, I've indeed found the behavior to be difficult to use.
Touchpads are tricky to get right, and the scroll amount (that the user expects) also differs by the OS. Maybe we should have a different setting for them, if distinguishing is possible.

That also sounds good, if it is possible to do so.

Another thought also struck me, but I know very little about such
things, so I'm going to ask: how hard would it be to (optionally)
piggy-back the window system's native scrolling mechanisms?

-- Simen
--=-ew48mpU9ob0HZX05nCnk--