From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#1867: Resizing window causes text flickering when using antialiased font on X Date: Wed, 05 Oct 2011 06:41:44 -0400 Message-ID: References: <87ljtgzvgg.fsf@unicorn.lan> <4E8C00C8.9010208@swipnet.se> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1317811334 11423 80.91.229.12 (5 Oct 2011 10:42:14 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 5 Oct 2011 10:42:14 +0000 (UTC) Cc: 1867@debbugs.gnu.org, lbsmtp@gmail.com To: "Jan D." Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 05 12:42:10 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RBOvO-0007vd-84 for geb-bug-gnu-emacs@m.gmane.org; Wed, 05 Oct 2011 12:42:06 +0200 Original-Received: from localhost ([::1]:38652 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBOvN-0005Sx-P3 for geb-bug-gnu-emacs@m.gmane.org; Wed, 05 Oct 2011 06:42:05 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:36367) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBOvL-0005Sj-Ds for bug-gnu-emacs@gnu.org; Wed, 05 Oct 2011 06:42:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RBOvK-0006Kg-4B for bug-gnu-emacs@gnu.org; Wed, 05 Oct 2011 06:42:03 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54807) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBOvJ-0006Ka-NW for bug-gnu-emacs@gnu.org; Wed, 05 Oct 2011 06:42:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RBOvK-0007ZE-Iz for bug-gnu-emacs@gnu.org; Wed, 05 Oct 2011 06:42:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 05 Oct 2011 10:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 1867 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 1867-submit@debbugs.gnu.org id=B1867.131781131529076 (code B ref 1867); Wed, 05 Oct 2011 10:42:02 +0000 Original-Received: (at 1867) by debbugs.gnu.org; 5 Oct 2011 10:41:55 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RBOvC-0007Yu-Ad for submit@debbugs.gnu.org; Wed, 05 Oct 2011 06:41:54 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RBOv6-0007Yg-1U for 1867@debbugs.gnu.org; Wed, 05 Oct 2011 06:41:48 -0400 Original-Received: from eliz by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RBOv2-0007gI-TQ; Wed, 05 Oct 2011 06:41:44 -0400 In-reply-to: <4E8C00C8.9010208@swipnet.se> (jan.h.d@swipnet.se) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 05 Oct 2011 06:42:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 140.186.70.43 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.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:52209 Archived-At: > Date: Wed, 05 Oct 2011 09:01:28 +0200 > From: "Jan D." > Cc: Bo Lin , 1867@debbugs.gnu.org > > FWIW, I can't see any text flicker in the scenario above. However, the > hollow cursor in the non-selected windows do flicker which indicates > that there is some redrawing going on. The way redisplay is written, _any_ change to dimensions of _any_ window sets a flag that will cause a thorough redisplay of all the windows on all the visible frames. However, I'd expect that redisplay of any window not affected by the resizing be limited to redrawing the cursor. So even when antialiased fonts are used, I wouldn't expect any flickering, because Emacs should notice that the window didn't change at all. Unless, that is, redrawing the cursor on X involves redrawing parts of the window text. Does it?