From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alan Third Newsgroups: gmane.emacs.bugs Subject: bug#32932: 27.0.50; render bugs on macOS Mojave Date: Wed, 24 Oct 2018 11:42:42 +0100 Message-ID: <20181024104242.GA40431@breton.holly.idiocy.org> References: <20181014182012.GD87313@breton.holly.idiocy.org> <7BCD942D-621D-4C91-AA8E-6C38908C03EE@d12frosted.io> <20181019184828.GA2041@breton.holly.idiocy.org> <20181020200444.GA2501@breton.holly.idiocy.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1540377671 18529 195.159.176.226 (24 Oct 2018 10:41:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 24 Oct 2018 10:41:11 +0000 (UTC) User-Agent: Mutt/1.10.1 (2018-07-13) Cc: Boris Buliga , 32932@debbugs.gnu.org To: Aaron Jensen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 24 12:41:07 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gFGb4-0004j3-NM for geb-bug-gnu-emacs@m.gmane.org; Wed, 24 Oct 2018 12:41:06 +0200 Original-Received: from localhost ([::1]:47441 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gFGdB-0001UW-8x for geb-bug-gnu-emacs@m.gmane.org; Wed, 24 Oct 2018 06:43:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59764) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gFGd1-0001UB-61 for bug-gnu-emacs@gnu.org; Wed, 24 Oct 2018 06:43:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gFGcw-0006hb-Ex for bug-gnu-emacs@gnu.org; Wed, 24 Oct 2018 06:43:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:34841) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gFGcw-0006hT-9v for bug-gnu-emacs@gnu.org; Wed, 24 Oct 2018 06:43:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gFGcw-0003OK-5v for bug-gnu-emacs@gnu.org; Wed, 24 Oct 2018 06:43:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 24 Oct 2018 10:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32932 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 32932-submit@debbugs.gnu.org id=B32932.154037777413022 (code B ref 32932); Wed, 24 Oct 2018 10:43:02 +0000 Original-Received: (at 32932) by debbugs.gnu.org; 24 Oct 2018 10:42:54 +0000 Original-Received: from localhost ([127.0.0.1]:39099 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gFGco-0003Ny-62 for submit@debbugs.gnu.org; Wed, 24 Oct 2018 06:42:54 -0400 Original-Received: from mail-wr1-f45.google.com ([209.85.221.45]:42473) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gFGcm-0003Nk-4E for 32932@debbugs.gnu.org; Wed, 24 Oct 2018 06:42:52 -0400 Original-Received: by mail-wr1-f45.google.com with SMTP id y15-v6so636706wru.9 for <32932@debbugs.gnu.org>; Wed, 24 Oct 2018 03:42:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=TbDHTTWQFSNrr2bn0q+PPRd4Vpy7LbjkqkcDRSlAAs0=; b=HeHXS/JrSDMU+KD2017wynrhnM0NqD0FJE8ik0Sk321u2bbUeN5fPizNJFEyfhGYic +YjaLwcp6ZoUh47QSjJHtwiY/vwxEhgwDnuy4nxEeOmRV8kViwGgdLBAm+C2WG3lEjmv /5ZDobN3bVW77IreXJp2qEe0RzQKqrnYLv83nzzz04ItNMVTvvcvNB1L2v7/sGFkoXL0 n/QKNE6p5G+H9H/gALGh1PW49gU+RqW6hWUCoK8MRNCkn7qai6rGbCiLYcjQGYuFhvmp lTPEM69OlcRKBPA5InoSR0uEVUAE18ZnurAL01eTCGyuUD/hW5DZBFSu7xQhh7vn9tWC VtVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=TbDHTTWQFSNrr2bn0q+PPRd4Vpy7LbjkqkcDRSlAAs0=; b=HejmRZ+sa0ilzHosfB5Oan9sffNQo0GXII7++elUjY0G+hs4b5CpEQ9mxdPxy5+Tom uwx43kVKb8Dv2mgesV8JuMaVtAKda03MRTCphS1Ei4bvgr//hOC5jQKILBRq1RQNPp/b W3lDH+aLtgcpm06IVkeWqj08lsEUT71dHmuktu2pI01Ghi7dV5oz3aybv31I0dsLIqCO p4JDR8SsdZ8DRqsWpYE24Bo2TTZUBDvh0ALb+bt/W1Iog9pn0FVjL62kfnM9r0uPf+da y6BHQHNagtVXhHRghoWylu9uOaKBxMQlo154GCVXJ1wy3xLQWXv+IEVWAhQnUZhQTwR+ QcaQ== X-Gm-Message-State: AGRZ1gKRYoAlgZ1g7AeAbs7NSl2c3KLXThRIWdD932IVOISLlxXDmj3I OCJK9/v/j50SkeHUQYURShk= X-Google-Smtp-Source: AJdET5d16edbJBTFfB0pkEvTJXC7Kp8BB1tsBgMJgrYm/1ADAUTtRzgoxhXnH2O+SGJrgQZ+roqXTA== X-Received: by 2002:adf:b519:: with SMTP id a25-v6mr2142226wrd.273.1540377766070; Wed, 24 Oct 2018 03:42:46 -0700 (PDT) Original-Received: from breton.holly.idiocy.org (ip6-2001-08b0-03f8-8129-a9a7-73e3-89ce-d96b.holly.idiocy.org. [2001:8b0:3f8:8129:a9a7:73e3:89ce:d96b]) by smtp.gmail.com with ESMTPSA id c184-v6sm4718910wma.15.2018.10.24.03.42.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 24 Oct 2018 03:42:44 -0700 (PDT) Content-Disposition: inline In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:151544 Archived-At: On Mon, Oct 22, 2018 at 07:15:03PM -0700, Aaron Jensen wrote: > On October 20, 2018 at 1:04:47 PM, Alan Third > (alan@idiocy.org(mailto:alan@idiocy.org)) wrote: > > > Can you try removing > > > > ns_clear_frame_area (emacsframe, x, y, width, height); > > > > from drawRect: in nsterm.m? It may result in the background not being > > redrawn correctly in some places, but I *think* it’s redundant, and > > it’s possible for it to clear a section of screen and then > > expose_frame to decide not to redraw anything. > > > > This shouldn’t happen as the only reason I know for expose_frame to > > not redraw is if there’s a redisplay coming up, in which case > > redisplay should mark the whole frame as needing redrawn anyway. But > > perhaps there’s some situation where it doesn’t draw and there’s no > > immediate redisplay. > > So far so good. I don’t believe I’ve seen aberrant paints/clears. I’ll > keep using it for another week or so and report back. I’ve pushed a slight variant of this change to emacs-26. I’ve witnessed a very rare flicker of the modeline and the line containing the cursor in other windows while scrolling, but I can’t replicate it consistently. I opened a large file (xdisp.c), set the frame up like so: M-f10 C-x 3 C-x 2, and scrolled the top left window up and down as fast as possible. Thanks for your help with this. -- Alan Third