all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dale Sedivec <dale@codefu.org>
To: Alan Third <alan@idiocy.org>
Cc: 33864@debbugs.gnu.org
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	[thread overview]
Message-ID: <CAEj9N4LmH2MV8qvX0BMPL=9hbGKxivC9PHH_kvHp41CQjJUJcw@mail.gmail.com> (raw)
In-Reply-To: <20181227115925.GA3226@breton.holly.idiocy.org>

[-- Attachment #1: Type: text/plain, Size: 2962 bytes --]

On Thu, Dec 27, 2018 at 5:59 AM Alan Third <alan@idiocy.org> 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 <rgm@gnu.org>
> > 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’d 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’s
> 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’t 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 ‘large’ fringe 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

[-- Attachment #2: repro.el --]
[-- Type: application/octet-stream, Size: 131 bytes --]

(set-face-attribute 'default (selected-frame) :font "Menlo 5")
(find-library "flymake")
(flymake-mode 1)
(flymake-goto-next-error)

  reply	other threads:[~2018-12-27 15:45 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-25  6:01 bug#33864: 27.0.50; Display corruption with "small" font size when something is in the fringe Dale Sedivec
2018-12-25 13:33 ` Eli Zaretskii
2018-12-25 18:30   ` Dale Sedivec
2018-12-25 18:39     ` Eli Zaretskii
2018-12-25 19:06       ` Dale Sedivec
2018-12-25 19:16         ` Eli Zaretskii
2018-12-30 12:25           ` Robert Pluim
2018-12-30 15:26             ` Eli Zaretskii
     [not found] ` <handler.33864.B.154571777811440.ack@debbugs.gnu.org>
2018-12-27  4:34   ` bug#33864: Acknowledgement (27.0.50; Display corruption with "small" font size when something is in the fringe) Dale Sedivec
2018-12-27 11:59     ` Alan Third
2018-12-27 15:45       ` Dale Sedivec [this message]
2018-12-27 16:30         ` Alan Third
2018-12-27 17:07           ` Dale Sedivec
2018-12-28 21:43             ` Alan Third

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAEj9N4LmH2MV8qvX0BMPL=9hbGKxivC9PHH_kvHp41CQjJUJcw@mail.gmail.com' \
    --to=dale@codefu.org \
    --cc=33864@debbugs.gnu.org \
    --cc=alan@idiocy.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.