From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Dale Sedivec Newsgroups: gmane.emacs.bugs Subject: bug#33864: Acknowledgement (27.0.50; Display corruption with "small" font size when something is in the fringe) Date: Thu, 27 Dec 2018 09:45:57 -0600 Message-ID: References: <20181227115925.GA3226@breton.holly.idiocy.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="000000000000d2d4c8057e02d9a3" X-Trace: blaine.gmane.org 1545925534 6958 195.159.176.226 (27 Dec 2018 15:45:34 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 27 Dec 2018 15:45:34 +0000 (UTC) Cc: 33864@debbugs.gnu.org To: Alan Third Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Dec 27 16:45:30 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 1gcXqj-0001hd-Fe for geb-bug-gnu-emacs@m.gmane.org; Thu, 27 Dec 2018 16:45:29 +0100 Original-Received: from localhost ([127.0.0.1]:53745 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gcXsq-0006U6-6e for geb-bug-gnu-emacs@m.gmane.org; Thu, 27 Dec 2018 10:47:40 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:38974) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gcXsJ-00065W-S5 for bug-gnu-emacs@gnu.org; Thu, 27 Dec 2018 10:47:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gcXsG-00081G-Mz for bug-gnu-emacs@gnu.org; Thu, 27 Dec 2018 10:47:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:35200) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gcXsG-00080Y-DC for bug-gnu-emacs@gnu.org; Thu, 27 Dec 2018 10:47:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gcXsE-0003eC-FN for bug-gnu-emacs@gnu.org; Thu, 27 Dec 2018 10:47:04 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dale Sedivec Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 27 Dec 2018 15:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33864 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 33864-submit@debbugs.gnu.org id=B33864.154592560113987 (code B ref 33864); Thu, 27 Dec 2018 15:47:02 +0000 Original-Received: (at 33864) by debbugs.gnu.org; 27 Dec 2018 15:46:41 +0000 Original-Received: from localhost ([127.0.0.1]:39462 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gcXrs-0003dX-LA for submit@debbugs.gnu.org; Thu, 27 Dec 2018 10:46:40 -0500 Original-Received: from mail-qt1-f178.google.com ([209.85.160.178]:43019) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gcXrr-0003dA-1A for 33864@debbugs.gnu.org; Thu, 27 Dec 2018 10:46:39 -0500 Original-Received: by mail-qt1-f178.google.com with SMTP id i7so20459611qtj.10 for <33864@debbugs.gnu.org>; Thu, 27 Dec 2018 07:46:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codefu-org.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=LMhXg0OKq7gGMXndsi9bD3DKS54iEblMJOrA7QhkM9s=; b=JfaBptFUjfSm9W5/rKAR0RwrGze/KmJvl/C98pCOs763a7AnRmEuskFXGMysDHCtop YtXU0iokwXsRg64orZt1uW2lus4i5KvlrYTZ96X9jARRS/VsBE8KGyMlTFJyUoOHKR0D rD8CybnZSQWVCYlCfzN6ybdtIIXRBwIYfTgArFxN4ivFw6nIfup6VIoKpYaB5pSlbn1L oN7+jkp3CrnlBabM3lM7REQPeilDC/N2tNwTvFcHIeyZlgrH4cZNvUq1BpxwLiM9DDF/ scE0NWM+w//kizAifBbNgnFimc6WKEZWiRHg3m30SIxMrJg2mZ9QlUMwcf2TVJzUAJY2 mqFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=LMhXg0OKq7gGMXndsi9bD3DKS54iEblMJOrA7QhkM9s=; b=iedXHfigiwELvSLM+jlFd0yDwLPJUS2j5ozOeHp2grlvQaWsYSPnXbiDw1AGSjsxfC Ok5ChzNO2l6sZ4dWvUhai0T0sOCnYM/zJInyNqYm62GQACkDQ5tx9aOUVcAfWu8JeAgE h3cn3GzwlaJWet12ViwPrdi2h1Qi6LPfT/P9pDCsUUYTJSxZxLRIbnJwR5EkIrBYVGWQ sXJDv/dWQeuhqeJCpXrQJLyDicgiGx56EqPhaCzLXMcqCQeKzvjtPRZcFx4WSth+x7Ot dp5Lwlu80vr5vbw2ue7hljVfZZr1EcDhB0uFvCBQQCVWr+mDxkjemX2zVrugbtBDUYD/ mlsg== X-Gm-Message-State: AA+aEWb8geHwTyBbDK/2vQ6UMs5InI2XaoHTONIWazl8etHp9g3/hSTZ QfmJbsMB04nncS8IrygzpXMY2Q8HJA0iHYNoV9dj5SlCAa6kSA== X-Google-Smtp-Source: AFSGD/VGmozvPH2JOf6RStxubi42ppeasnC6uZLoUpU2PLuHS7KY6Hw4odl/uzD3lrrQN9TPjQm+2tcAZ40Nq3sba0Q= X-Received: by 2002:aed:3f22:: with SMTP id p31mr22816133qtf.185.1545925593029; Thu, 27 Dec 2018 07:46:33 -0800 (PST) In-Reply-To: <20181227115925.GA3226@breton.holly.idiocy.org> 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:153906 Archived-At: --000000000000d2d4c8057e02d9a3 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, Dec 27, 2018 at 5:59 AM Alan Third wrote: > On Wed, Dec 26, 2018 at 10:34:32PM -0600, Dale Sedivec wrote: > > I did a "git bisect" on master and I think I traced this to: > > > > commit b58e8b82ededfb314e385d97df1efed2ce84f4db > > Merge: febdedfa8d 094fcf62d2 > > Author: Glenn Morris > > Date: Wed Nov 28 07:51:11 2018 -0800 > > > > Merge from origin/emacs-26 > > > > 094fcf6 Fix more drawing bugs in NS port (bug#32932) > > Ironically I=E2=80=99d expect that commit to fix any issue like this, not > cause it. The previous code would cause the entire line to be redrawn > if there was a fringe bitmap, but the new code should cause just the > bitmap itself to be redrawn. > > Although I suppose it might not be the fringe bitmap code that=E2=80=99s > causing this. > > > Strange that I haven't been seeing this in the emacs-26 branch, I will > > try and build that again tomorrow to make sure I'm using an Emacs 26 > > build with the above commit. > > I can=E2=80=99t replicate the issue on either master or emacs-26. You would probably know better than I would, but the only possible relevant differences I can think of are: * I'm using a smaller font size * I'm using a Retina (i.e. scaled) display * I'm using macOS 10.13.6 I tried emacs-26 (9578c2aa2) this morning and I was able to recreate this problem, though it presents a bit differently than it did on master: on emacs-26 branch, most any line with a fringe bitmap would have some portion of the line (I *think* always a prefix of the line) turning grey-on-grey, as in my original screen shot, but the grey-on-grey would not change as I scrolled or moved around on the line. The corruption was immediately visible when scrolling to the next error, and it didn't change. > Can you replicate this on any line that has a =E2=80=98large=E2=80=99 fri= nge bitmap, > or is it only certain ones? On emacs-26, I reproduced this on *most* lines with fringe bitmaps while moving around flymake.el with flymake-mode turned on. I found one line that didn't exhibit this problem while on the emacs-26 branch, which was a line with a flymake warning that was something starting like " (if ..." as one of the first statements inside a defun. (Sorry but I didn't note the line number, and I've rebuilt on master since then.) On master, every line with a fringe bitmap seems to exhibit this problem. I am attaching the Elisp script I used to reproduce this problem while bisecting, loaded like: nextstep/Emacs.app/Contents/MacOS/Emacs -Q --load repro.el On a bad build, I would see this corruption as soon as I moved the cursor left/right after running the above script. Also, here is how I ran configure: ./configure --with-ns \ --with-modules --with-rsvg --with-imagemagick \ --with-xml2 --with-gnutls --without-x Please let me know if I can provide any more information. Dale --000000000000d2d4c8057e02d9a3 Content-Type: application/octet-stream; name="repro.el" Content-Disposition: attachment; filename="repro.el" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_jq6s1o6k0 KHNldC1mYWNlLWF0dHJpYnV0ZSAnZGVmYXVsdCAoc2VsZWN0ZWQtZnJhbWUpIDpmb250ICJNZW5s byA1IikKKGZpbmQtbGlicmFyeSAiZmx5bWFrZSIpCihmbHltYWtlLW1vZGUgMSkKKGZseW1ha2Ut Z290by1uZXh0LWVycm9yKQo= --000000000000d2d4c8057e02d9a3--