From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#61667: 29.0.60; Failure to redisplay Date: Sat, 4 Mar 2023 14:45:00 +0200 Message-ID: References: <04d7cb31-684c-07c0-ee7b-503514fc1a85@yandex.ru> <8716b41c97839d6a8b87@heytings.org> <7fee18a7-3307-b6de-1428-ae17d51c85af@yandex.ru> <9ac9271f1ee55a9b8bbf@heytings.org> <87a60y13ou.fsf@yahoo.com> <674e150e-fcbe-7d67-962e-214cfaec2ca0@yandex.ru> <875ybl1dii.fsf@yahoo.com> <2b249c97-db63-34e1-80c2-0c898005e31f@yandex.ru> <87zg8xyt0m.fsf@yahoo.com> <25c817d9-f969-8c24-6ed4-9b35fd6f27ad@yandex.ru> <87sfeozn8f.fsf@yahoo.com> <87o7pczlsq.fsf@yahoo.com> <43d50d6a-1eb0-cd42-0479-3f9d4d74904a@yandex.ru> <87ilfkyorf.fsf@yahoo.com> <8f4df0d7-eb1a-379a-db03-314f2c93743b@yandex.ru> <87a60vztad.fsf@yahoo.com> <83ttz3eig2.fsf@gnu.org> <721a1bb0-c1c6-70a1-02a8-408445e19fde@yandex.ru> <87lekdwfjj.fsf@yahoo.com> <314421f7-3964-572e-8e3a-e31b510fd097@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15744"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Cc: 61667@debbugs.gnu.org, Eli Zaretskii , gregory@heytings.org To: Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Mar 04 13:46:11 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 1pYRH9-0003uT-8f for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 04 Mar 2023 13:46:11 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pYRH2-0003MN-2N; Sat, 04 Mar 2023 07:46:04 -0500 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 1pYRH0-0003Lj-2r for bug-gnu-emacs@gnu.org; Sat, 04 Mar 2023 07:46:02 -0500 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 1pYRGz-0003mv-Ps for bug-gnu-emacs@gnu.org; Sat, 04 Mar 2023 07:46:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pYRGz-0004lm-MM for bug-gnu-emacs@gnu.org; Sat, 04 Mar 2023 07:46:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 04 Mar 2023 12:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61667 X-GNU-PR-Package: emacs Original-Received: via spool by 61667-submit@debbugs.gnu.org id=B61667.167793391118228 (code B ref 61667); Sat, 04 Mar 2023 12:46:01 +0000 Original-Received: (at 61667) by debbugs.gnu.org; 4 Mar 2023 12:45:11 +0000 Original-Received: from localhost ([127.0.0.1]:35394 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pYRGB-0004jw-G8 for submit@debbugs.gnu.org; Sat, 04 Mar 2023 07:45:11 -0500 Original-Received: from mail-wr1-f48.google.com ([209.85.221.48]:36565) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pYRG9-0004jd-Mk for 61667@debbugs.gnu.org; Sat, 04 Mar 2023 07:45:10 -0500 Original-Received: by mail-wr1-f48.google.com with SMTP id l25so4667093wrb.3 for <61667@debbugs.gnu.org>; Sat, 04 Mar 2023 04:45:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1677933903; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:from:subject:user-agent:mime-version:date:message-id:sender :from:to:cc:subject:date:message-id:reply-to; bh=UXrLfLHDL3/hhpFj71eeJygk/LMTOAsOs/GfKMt1pBM=; b=AJcKYkBqXzTuB8sTiz5FmlrEHK2OcIbR8jnK4MxOFcPWnV8EmxHmPuFRcXodnsDbnA pbr9l7e0/1KyLWW1QvXihFgQvbOt6hRwZ5d2l5HhF3AFbaotjYKeD2SeIrmV9otjNLQ0 adUxXuE4hq1Rg4gK1F8vXgXXkLzW9YC9r4etFXtOGMPoHuy09LeSFVsFc7guc4Rp2W+J vsww0IeMDHs2UjSo3PY7d5lYuvqm/m9Ax2bfEmR8UGdHkOrJSLDrJdT9mu3HZkoGKlT3 OaefPUYsbhYCt9yAUQh+Eul+h86mXKhqMXBizS6AKbnbFvtAhxrb0TnG63HLmVJLiBKW MU5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677933903; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:from:subject:user-agent:mime-version:date:message-id:sender :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=UXrLfLHDL3/hhpFj71eeJygk/LMTOAsOs/GfKMt1pBM=; b=HsnB2VNwUxl1uvxgDj9kav7/ZC9F4oyUZ58j0Y2q/Uv6r5Xmy6WAKMLch3fzzqa4Gh 3G/647OB9qamZXKSByVW2iN8mk9EEklEp5HnvP7/vdZZuOxgYAMUPstHcQ2kHuYC01Sn cwI4jyoXSKF8dY6FyLynIn8nLtQcuz35re4fKZpzBVuoIszaPaGv91o1eUHCHbTn9EdZ 8I2rJKlgpfvITugcTax5x4fZzvlvK9PYgthhdLmgsug7/o3VUippsi4+R7PW7+Iiw3AI VcT1Zutpb0WhqThE9iySbHOVCGEoENYRo4tgA4DoQJf9xzSmEESlCrCeFxJj8TUb4lov j15w== X-Gm-Message-State: AO0yUKXYZ/rrdGcvBIEtibdy6D+H0+ZIZ/L9+OMAHMhJ1VBeUhgHwdwo jc5K33qaPFVLio4aqcTHsJw= X-Google-Smtp-Source: AK7set+V9o7OjvVYj3cR4Qy3OPQ7f/do/q9HFr6TzE3O3UztmQbewoVTeaC2OMkGqXKtDHcM1ZA/Xg== X-Received: by 2002:a5d:6505:0:b0:2c6:e682:e55b with SMTP id x5-20020a5d6505000000b002c6e682e55bmr3056943wru.48.1677933903381; Sat, 04 Mar 2023 04:45:03 -0800 (PST) Original-Received: from [192.168.0.2] ([46.251.119.176]) by smtp.googlemail.com with ESMTPSA id j2-20020a5d6042000000b002c70d269b4esm4727749wrt.91.2023.03.04.04.45.02 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 04 Mar 2023 04:45:02 -0800 (PST) Content-Language: en-US In-Reply-To: <314421f7-3964-572e-8e3a-e31b510fd097@yandex.ru> 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:257277 Archived-At: On 04/03/2023 02:22, Dmitry Gutov wrote: > On 04/03/2023 02:01, Po Lu wrote: >>> But there is a persistent glitch: when the window configuration >>> changes, 1 or 2 vertical bars often flash: >>> >>> https://a.uguu.se/iYTlOftH.mp4  (with emacs -Q) >>> >>> https://a.uguu.se/YdDWpMid.mp4  (with my config but with tool-bar and >>> scroll-bar modes enabled) >>> >>> scroll-bar-mode on seems to be required to reproduce this. >> This is expected: moving the scroll bar causes exposures, which can >> cause flickering.  That's the problem double buffering is supposed to >> fix. > > Isn't it odd, though, that in both cases the glitch is positioned around > 1/2 of the scroll-bar's horizontal coordinate (relative to the left edge > of the frame)? When there is one scroll-bar, there is one glitch; when > there are two scroll-bars, there are two glitches. > > My guess is that might be related to the display scale (2x). And indeed: when I change the display scaling to 1x (no scaling), the "flashes" occur exactly above the scrollbars. Which looks significantly less jarring. This seems like something we should be able to fix, if we're going to recommend disabling double-buffering as a fix for this and other problems.