From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Jan D." Newsgroups: gmane.emacs.bugs Subject: bug#1867: Resizing window causes text flickering when using antialiased font on X Date: Thu, 06 Oct 2011 08:05:24 +0200 Message-ID: <4E8D4524.3090902@swipnet.se> References: <87ljtgzvgg.fsf@unicorn.lan> <4E8C00C8.9010208@swipnet.se> <8739f73xva.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1317881165 32687 80.91.229.12 (6 Oct 2011 06:06:05 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 6 Oct 2011 06:06:05 +0000 (UTC) Cc: lbsmtp@gmail.com, 1867@debbugs.gnu.org To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 06 08:06:01 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 1RBh5l-0004rM-21 for geb-bug-gnu-emacs@m.gmane.org; Thu, 06 Oct 2011 08:06:01 +0200 Original-Received: from localhost ([::1]:53029 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBh5k-0003N0-8b for geb-bug-gnu-emacs@m.gmane.org; Thu, 06 Oct 2011 02:06:00 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:57457) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBh5g-0003Mu-QH for bug-gnu-emacs@gnu.org; Thu, 06 Oct 2011 02:05:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RBh5f-0006IP-NA for bug-gnu-emacs@gnu.org; Thu, 06 Oct 2011 02:05:56 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59103) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBh5f-0006IL-KO for bug-gnu-emacs@gnu.org; Thu, 06 Oct 2011 02:05:55 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RBh5m-0008O9-4s for bug-gnu-emacs@gnu.org; Thu, 06 Oct 2011 02:06:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Jan D." Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 06 Oct 2011 06:06: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.131788114332219 (code B ref 1867); Thu, 06 Oct 2011 06:06:02 +0000 Original-Received: (at 1867) by debbugs.gnu.org; 6 Oct 2011 06:05:43 +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 1RBh5S-0008Nc-Nj for submit@debbugs.gnu.org; Thu, 06 Oct 2011 02:05:42 -0400 Original-Received: from smtprelay-b22.telenor.se ([195.54.99.213]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RBh5Q-0008NJ-F9 for 1867@debbugs.gnu.org; Thu, 06 Oct 2011 02:05:41 -0400 Original-Received: from iph1.telenor.se (iph1.telenor.se [195.54.127.132]) by smtprelay-b22.telenor.se (Postfix) with ESMTP id BA49AEB11B for <1867@debbugs.gnu.org>; Thu, 6 Oct 2011 08:05:27 +0200 (CEST) X-SENDER-IP: [85.225.45.201] X-LISTENER: [smtp.bredband.net] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AkNQAIFEjU5V4S3JPGdsb2JhbABEiTmebRkBAQEBNzKBUwEBBAE4HiIBEAsOExYPCQMCAQIBGwwKFAYNAQUCAQEXh2ICtiqHKQSZFYwf X-IronPort-AV: E=Sophos;i="4.68,495,1312149600"; d="scan'208";a="490915398" Original-Received: from c-c92de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.201]) by iph1.telenor.se with ESMTP; 06 Oct 2011 08:05:27 +0200 Original-Received: from [10.225.16.4] (unknown [193.45.43.33]) by coolsville.localdomain (Postfix) with ESMTPSA id 504F47FA058; Thu, 6 Oct 2011 08:05:26 +0200 (CEST) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 In-Reply-To: <8739f73xva.fsf@stupidchicken.com> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 06 Oct 2011 02:06: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:52255 Archived-At: Chong Yidong skrev 2011-10-05 23:57: > Eli Zaretskii writes: > >> 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. > > Resizing a window redraws all windows on the same frame, even those > unaffected by the resizing. But according to Eli, the redraw optimizations in Emacs display engine should not actually redraw anything in unchanged windows. According to the desciption window 3 is totally unchanged, but flickers anyway. But this was on 23.0.60. Many bugs has been fixed since. > > The right way to fix flickering in Emacs is to implement double > buffering, which is not a trivial project. If we are aiming for a general solution across all ports this is true. A pure X solution might be easier if we use the double buffer extension. Jan D.