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#70038: 29.3.50; Shift up/down in buffer with images on M-x other-window with some fonts Date: Thu, 28 Mar 2024 10:36:49 +0200 Message-ID: <86le62hhwe.fsf@gnu.org> References: <87ttkrl8w1.fsf@gmail.com> <86zfuihp7t.fsf@gnu.org> <871q7u4wfz.fsf@zohomail.eu> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5272"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 70038@debbugs.gnu.org To: Rahguzar Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Mar 28 09:38:34 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 1rplHO-00015E-La for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 28 Mar 2024 09:38:34 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rplH1-0006nc-6Z; Thu, 28 Mar 2024 04:38:11 -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 1rplGu-0006n2-5k for bug-gnu-emacs@gnu.org; Thu, 28 Mar 2024 04:38:04 -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 1rplGs-0004wx-Nd for bug-gnu-emacs@gnu.org; Thu, 28 Mar 2024 04:38:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rplGt-0007hx-8V for bug-gnu-emacs@gnu.org; Thu, 28 Mar 2024 04:38:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 28 Mar 2024 08:38:03 +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.171161503129398 (code B ref 70038); Thu, 28 Mar 2024 08:38:03 +0000 Original-Received: (at 70038) by debbugs.gnu.org; 28 Mar 2024 08:37:11 +0000 Original-Received: from localhost ([127.0.0.1]:38994 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rplFz-0007dm-Oe for submit@debbugs.gnu.org; Thu, 28 Mar 2024 04:37:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38170) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rplFt-0007cS-1U for 70038@debbugs.gnu.org; Thu, 28 Mar 2024 04:37:05 -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 1rplFl-0004l6-Ik; Thu, 28 Mar 2024 04:36:53 -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=KRaA4VGQtR91asY/EUUEMiYAJCFRQtOSgy9jEftwTH8=; b=Z3icRdDPD8Ab Lr8jCuUPhfsb6ZtDRuO7Itc1qqWQgkf1NhxJLXMLzgrnYz+wNpTO7VrHmu19JCfSI8m/EbAPXt7Gh P4ky+rK0uK0IDMOZmCGW2c7IHd4UbIVVvk2xrCbm8DVmTOCpEOxvpvNzK1DLmOajF4xN5PX5ppzDL UyvRCDBdx/wi7sir5xbgkBm5K/0NPKHMRDGKVk6OIqRjBr2SfY3thBVuqcFnx08rnHAVM24FL76ag SlaNN86+HfdmeBZUTvERaPz+z0oXM60//wd7I6jmxy/vBGkSgf6WQfbDyTULUDdz89NgvwTJk7c2Y PBfySWQjPwU4dgDH6KAVew==; In-Reply-To: <871q7u4wfz.fsf@zohomail.eu> (message from Rahguzar on Thu, 28 Mar 2024 08:52:21 +0100) 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:282190 Archived-At: > From: Rahguzar > Cc: Ramon Diaz-Uriarte , 70038@debbugs.gnu.org > Date: Thu, 28 Mar 2024 08:52:21 +0100 > > 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. In that case, I don't understand what the font has to do with this: if redisplay resets the window's vscroll, it should always do that, no? Also, I don't have the fonts you used, so I cannot try the recipe as is. I tried a few monospaced fonts I do have, and couldn't reproduce. A recipe that doesn't depend on rare fonts would be appreciated. Bonus points for providing a recipe that doesn't depend on fonts at all. Thanks.