From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Rahguzar via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#70038: 29.3.50; Shift up/down in buffer with images on M-x other-window with some fonts Date: Thu, 28 Mar 2024 08:52:21 +0100 Message-ID: <871q7u4wfz.fsf@zohomail.eu> References: <87ttkrl8w1.fsf@gmail.com> <86zfuihp7t.fsf@gnu.org> Reply-To: Rahguzar Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17454"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.10.5; emacs 29.3 Cc: Ramon Diaz-Uriarte , 70038@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Mar 28 09:02:25 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 1rpkiP-0004HJ-HO for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 28 Mar 2024 09:02:25 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rpki3-0000jW-SH; Thu, 28 Mar 2024 04:02:03 -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 1rpki1-0000jI-OS for bug-gnu-emacs@gnu.org; Thu, 28 Mar 2024 04:02:01 -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 1rpki1-0006kz-CY for bug-gnu-emacs@gnu.org; Thu, 28 Mar 2024 04:02:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rpki1-0004oR-Sp for bug-gnu-emacs@gnu.org; Thu, 28 Mar 2024 04:02:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Rahguzar Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 28 Mar 2024 08:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70038 X-GNU-PR-Package: emacs Original-Received: via spool by 70038-submit@debbugs.gnu.org id=B70038.171161289018334 (code B ref 70038); Thu, 28 Mar 2024 08:02:01 +0000 Original-Received: (at 70038) by debbugs.gnu.org; 28 Mar 2024 08:01:30 +0000 Original-Received: from localhost ([127.0.0.1]:38960 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rpkhS-0004lW-GI for submit@debbugs.gnu.org; Thu, 28 Mar 2024 04:01:30 -0400 Original-Received: from sender-pp-o91.zoho.eu ([136.143.169.91]:37284) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rpkhN-0004ko-6r for 70038@debbugs.gnu.org; Thu, 28 Mar 2024 04:01:25 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1711612868; cv=none; d=zohomail.eu; s=zohoarc; b=Gr2tooXwwOxQjM19IISXvXdwO4SmYlUIIxmPEfvh/pGYYlDyOlj2n/2v0CI5E6NMf/tAT8xuWhyCk2G9hx+8gPTrX4N2mgA2autkbba2tDAAVD4mNlH5SusRnX/n39pu9xKe5ZghG4sDS/HFheYqdAXZIDI4MyjytIrLI0RSXLo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.eu; s=zohoarc; t=1711612868; h=Content-Type:Cc:Cc:Date:Date:From:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:Subject:To:To:Message-Id:Reply-To; bh=Lxgu0ToT52HhDf00fvQgRywBdK7wfameCoRs5c+3v6U=; b=Sv4R3n0WIqqNi8JXOxtaqxdfxBkw0oKAEy1eBV5FHAuqlN20gTyqB5wuveLo+Nb3wa9iJyZsanchRTk7/Zc//JNj1R1hSFOy+AgE7V7ckEnudqz8WHiNvvNxot/UA90zp1O28PO283EUK66YYqoHa220Mi9IoFaycTEj1Jka9+k= ARC-Authentication-Results: i=1; mx.zohomail.eu; dkim=pass header.i=zohomail.eu; spf=pass smtp.mailfrom=rahguzar@zohomail.eu; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1711612868; s=zoho; d=zohomail.eu; i=rahguzar@zohomail.eu; h=References:From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:In-reply-to:Message-ID:MIME-Version:Content-Type:Message-Id:Reply-To; bh=Lxgu0ToT52HhDf00fvQgRywBdK7wfameCoRs5c+3v6U=; b=nrAISHhQFpuOy2qG17W3bCgc2SSLMah6g4uedNowSaJbKHKmGqesprxRQOJ9Uo0A SWhzRivqXrpOxPR4kboX28kkl+6ktv1qqYt3902S7ZT0rfy+Ra3LkYt/kcdyjpbFC16 PIK+rgxOINzr0tJEOMesRiLKFkLEgr4iRpsJ+WpU= Original-Received: from localhost (46.252.3.44 [46.252.3.44]) by mx.zoho.eu with SMTPS id 1711612865783354.9641799655474; Thu, 28 Mar 2024 09:01:05 +0100 (CET) In-reply-to: <86zfuihp7t.fsf@gnu.org> X-ZohoMailClient: External 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:282188 Archived-At: Hi Eli, Eli Zaretskii writes: > Crystal ball says that this happens because when a frame loses focus, > we redraw the cursor as a hollow rectangle, and (for boring technical > reasons, which I can explain if someone wants to know) that hollow > cursor can have a different height than the block cursor we draw on a > selected frame. You can verify this guess of mine if you customize > cursor-type to one of the non-default values -- the problem should go > away for any cursor-type but the default one. > > If my guess is correct, fixing this is not easy (but patches are > welcome, of course), and at the time I decided to leave this rare case > be. The original problem where we encountered this the cursor wasn't shown at all. So I think this might be different. I have been unable to reproduce it on my machine (it might be because pgtk build doesn't have this problem) but from what I can tell the problem is that when the window is not selected the vscroll gets reset to 0 and trying to set it again seems to have no effect. In the minimal reproducer there is a pre-redisplay-function that always sets vscroll for the window to 200. When the window is deselected, the function runs and Ramon checked by inserting a message that the vscroll gets reported to be non-zero however the window gets drawn as if the vscroll was 0. On selecting the window again, it gets redrawn with the expected value of rescroll and this causes the jumps. Rahguzar