From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Charalampos Mitrodimas Newsgroups: gmane.emacs.bugs Subject: bug#70856: 30.0.50; Hang when scrolling the echo-line with pixel-scroll-precision-mode Date: Thu, 09 May 2024 23:53:18 +0000 Message-ID: <87wmo2v8y9.fsf@posteo.net> References: <87fruqr3vk.fsf@stebalien.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7622"; mail-complaints-to="usenet@ciao.gmane.io" Cc: steven@stebalien.com To: 70856@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri May 10 01:54:16 2024 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 1s5DaZ-0001oV-Oy for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 10 May 2024 01:54:15 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s5DaP-0003Qf-FV; Thu, 09 May 2024 19:54:05 -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 1s5DaN-0003QR-JL for bug-gnu-emacs@gnu.org; Thu, 09 May 2024 19:54:03 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s5DaN-0003cH-Br for bug-gnu-emacs@gnu.org; Thu, 09 May 2024 19:54:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s5DaL-0003SJ-Mq for bug-gnu-emacs@gnu.org; Thu, 09 May 2024 19:54:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Charalampos Mitrodimas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 09 May 2024 23:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70856 X-GNU-PR-Package: emacs X-Debbugs-Original-To: Steven Allen via "Bug reports for GNU Emacs, the Swiss army knife of text editors" X-Debbugs-Original-Cc: 70856@debbugs.gnu.org, Steven Allen Original-Received: via spool by 70856-submit@debbugs.gnu.org id=B70856.171529880613277 (code B ref 70856); Thu, 09 May 2024 23:54:01 +0000 Original-Received: (at 70856) by debbugs.gnu.org; 9 May 2024 23:53:26 +0000 Original-Received: from localhost ([127.0.0.1]:41409 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s5DZm-0003S5-2r for submit@debbugs.gnu.org; Thu, 09 May 2024 19:53:26 -0400 Original-Received: from mout02.posteo.de ([185.67.36.66]:48799) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s5DZj-0003Rz-OV for 70856@debbugs.gnu.org; Thu, 09 May 2024 19:53:24 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id BBCED240103 for <70856@debbugs.gnu.org>; Fri, 10 May 2024 01:53:19 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1715298799; bh=UGiQtAccBhV4YY4ilyosAgZWJcBWdTn4IHujxZF4VaI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=S/4juc4ruGXnQfGxQ/HDOU2ZcByms0GvRdiquCEDw5OwKKEAzHN0IdMejY6DsE52Y 1caS+pzhFFZbNLemJftWz9jkHsFKnHw8Y/V/k70HHunXhFIxJhuqk+b4tzEzSDtwgc z6A4+6TacSrgM3Kw4uuRUJy9LyXwvzIWVhCfthVv0WlBNrl+NOz5SWbRqYkhIG4rBb A7g8KRgJk7gcj601nvLlentchEIYdze6MH4P/L5HosUgUwuofyGkiPYGjzQTi7vbtx fozwvrA++RlTaBiWoG6nyRAw2vN3Yh3kGbDqYO0BpTJvGuMbQAzTyZzx2ybWVA8bk/ ooTEWBDvLUAeQ== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Vb83L5Nphz9rxB; Fri, 10 May 2024 01:53:18 +0200 (CEST) In-Reply-To: <87fruqr3vk.fsf@stebalien.com> (Steven Allen via's message of "Thu, 09 May 2024 15:56:31 -0700") 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:284784 Archived-At: Steven Allen via "Bug reports for GNU Emacs, the Swiss army knife of text editors" writes: > Scrolling (mouse-wheel) in the echo line when > `pixel-scroll-precision-mode` is enabled hangs until `C-g` is pressed. > To reproduce: > > 1. Run `emacs -Q`. > 2. Enter `M-x pixel-scroll-precision-mode RET` > 3. Move the mouse cursor to the echo area (minibuffer should be hidden). > 4. Scroll with the mouse wheel. I'm using a trackpad with libinput > (xinput2) but I don't think that'll make a difference? Hi Steven, I was also able to reproduce it. > > This appears to be happening because the window is one-line high so > there's obviously nothing to scroll. I'm wondering if we should just check for one-line heights in the pixel-scroll-precision function, like this: (when (> (window-total-height window) 1) Thoughts? -- C. Mitrodimas