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: Sun, 12 Mar 2023 23:55:59 +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="9602"; 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 Sun Mar 12 22:57:16 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 1pbTgq-0002F6-Il for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 12 Mar 2023 22:57:16 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pbTgd-0006uQ-PV; Sun, 12 Mar 2023 17:57: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 1pbTgc-0006uH-Jc for bug-gnu-emacs@gnu.org; Sun, 12 Mar 2023 17:57:02 -0400 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 1pbTgc-00060C-BF for bug-gnu-emacs@gnu.org; Sun, 12 Mar 2023 17:57:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pbTgc-0003LS-1s for bug-gnu-emacs@gnu.org; Sun, 12 Mar 2023 17:57:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 12 Mar 2023 21:57:02 +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.167865816912796 (code B ref 61667); Sun, 12 Mar 2023 21:57:02 +0000 Original-Received: (at 61667) by debbugs.gnu.org; 12 Mar 2023 21:56:09 +0000 Original-Received: from localhost ([127.0.0.1]:33182 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pbTfl-0003KK-2i for submit@debbugs.gnu.org; Sun, 12 Mar 2023 17:56:09 -0400 Original-Received: from mail-wm1-f43.google.com ([209.85.128.43]:56219) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pbTfj-0003K6-Gy for 61667@debbugs.gnu.org; Sun, 12 Mar 2023 17:56:08 -0400 Original-Received: by mail-wm1-f43.google.com with SMTP id p16so6693681wmq.5 for <61667@debbugs.gnu.org>; Sun, 12 Mar 2023 14:56:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678658162; h=content-transfer-encoding:in-reply-to:references:cc:to:from :content-language:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=heQJhRwGio1jsk86ZJ9fuiyw3nUbcFZCuK4gq4vzdPQ=; b=S6IeF3RQa22mKGVhpES4fIswBrIoQHjLs7x5/jCTEd7I09mmkVqeD0xr18tZBWcvR8 x2DfNY/8kRaRqBznMjeDHisT/lhwELEzZgZap/gCZndZrNkds5s8QaGU/23+l1Uh4Qb/ mzSW/IO82xtdc3tLacjczbx9jP9vUIDbjgebZIwi43+gtsHquxdxJOy5xqSWGTEdLL8m G+3leafui8Fkwsw2peuGi6LW6RuRbFEA6usjcRy9gF2S+yG+mg7H7sa6Sw3nQHGFztr4 2ZwdELFle0Uc0bBL2GbSFZjQ4RrrIWOTeVXWwEb8LWYwUwr01b4ZuM+Xi83L8ORLtgiS Zx9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678658162; h=content-transfer-encoding:in-reply-to:references:cc:to:from :content-language:subject:user-agent:mime-version:date:message-id :sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=heQJhRwGio1jsk86ZJ9fuiyw3nUbcFZCuK4gq4vzdPQ=; b=iytkOJgYnZNww2xUibUzwHuPIGDAfKNg6d/puNqTFlFBE7QpL6J4lp+oFjeaf+LzW5 FM+bRDVRIP3vkUJKbv1wf8yuvTXWXHHZxlN0sNuP+B6gcx806s9WLraB4FNtaIDYeS4z o6WPQ/PkO56287BkA3Jgc1xvgMHzn2JQc74d6NZETMcEv/oa2OYXljt1I6AklNEgVInL H1fwx/bIX/AXHwivl32ugN9S6oJ3DIMelpg6z3bQHo5+u7/RMWYQPNSVxVqnotHjEnB0 LknrVTFhfG9ABHlQzCAD8E9/nY73iMi870R2q+YlPrllxOFtYAqHvoR7sWkRxONNG6uU D/xQ== X-Gm-Message-State: AO0yUKWO2sCbHysU+mR0pPM2Tfikjm+E538bDCeL2g8GaKMzfdLHSK9x K1D6UzV+dNatv64AX4HMc2o= X-Google-Smtp-Source: AK7set9mq0jtxn/CN0JE7tsQ5BroSCHESfSzw7VXj0RXKYocY4Lj39cVY7McNGtBO1zrXDYHgJIF/w== X-Received: by 2002:a05:600c:3590:b0:3eb:37ce:4c3e with SMTP id p16-20020a05600c359000b003eb37ce4c3emr8734171wmq.16.1678658161665; Sun, 12 Mar 2023 14:56:01 -0700 (PDT) Original-Received: from [192.168.0.2] ([85.132.229.92]) by smtp.googlemail.com with ESMTPSA id p16-20020a1c5450000000b003ed1f69c967sm5357359wmi.9.2023.03.12.14.56.00 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 12 Mar 2023 14:56:01 -0700 (PDT) Content-Language: en-US In-Reply-To: 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:257883 Archived-At: On 04/03/2023 14:45, Dmitry Gutov wrote: > 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. If anybody has ideas how to avoid scrollbars being briefly drawn at the wrong position with 2x display and disabled xdbe, that could be an improvement as well. If not for me, then for the next GNOME user advised to disable double buffering.