unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Lars Magne Ingebrigtsen <larsi@gnus.org>
Cc: 10304@debbugs.gnu.org, schwab@linux-m68k.org
Subject: bug#10304: 24.0.92: display bug
Date: Tue, 08 Jan 2013 07:43:50 +0200	[thread overview]
Message-ID: <83ehhw8c15.fsf@gnu.org> (raw)
In-Reply-To: <m3vcb845tl.fsf@stories.gnus.org>

> From: Lars Magne Ingebrigtsen <larsi@gnus.org>
> Cc: Andreas Schwab <schwab@linux-m68k.org>,  10304@debbugs.gnu.org
> Date: Tue, 08 Jan 2013 06:11:34 +0100
> 
> Here's what the window looks like first, when everything is OK:
> 
> -----------------------------
> | bla bla bla               |
> | bla bla bla               |
> |                           |
> | --------                  |
> | |** ***|                  |
> | |*image|                  |
> | |** ***|                  |
> | |** ***|                  |
> | --------                  |
> |                           |
> | bla bla                   |
> | bla bla                   |
> -----------------------------
> 
> Then I scroll.
> 
> -----------------------------
> | foo                       |
> | zot                       |
> | more foo                  |
> | this is the end of the    |
> | buffer                    |
> |                           |
> | |** ***|                  |
> | |** ***|                  |
> | --------                  |
> |                           |
> | bla bla                   |
> | bla bla                   |
> -----------------------------
> 
> And the buffer ends where it says.  :-)
> 
> So I get the bottom half of the image, and then whatever was after the
> image.
> 
> So it's like it decides that it doesn't have to blank the window after
> end-of-buffer if end-of-buffer happens in the middle of the image that
> was displayed there.  If you understand what I mean.  :-)

I think I do understand.  My suspicion is that we somehow fail to
realize that the screen estate formerly occupied by the image, and
everything that follows it, needs to be cleared in its entirety.  On
the display engine level, the image takes just one "line" (called
"glyph row"), and perhaps we somehow don't realize that the height of
that "line" is large, and all of that needs to be cleared, not just
the number of text lines of "normal" height that will replace the
image on display.

Thanks for the details, they confirm my suspicions.  I now need to
find whodunit in the code...





  reply	other threads:[~2013-01-08  5:43 UTC|newest]

Thread overview: 79+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-24 15:30 bug#14704: 24.3.50; cl-lib breaks built-in Emacs version Sebastian Wiesner
2013-06-24 15:48 ` Juanma Barranquero
2013-06-24 17:51   ` Sebastian Wiesner
2013-06-24 17:56     ` Juanma Barranquero
2013-06-24 18:26       ` Sebastian Wiesner
2013-06-24 18:38         ` Eli Zaretskii
2013-06-24 18:57           ` Sebastian Wiesner
2013-06-24 19:20             ` Eli Zaretskii
2013-06-24 20:02               ` Glenn Morris
2013-06-24 20:08                 ` Eli Zaretskii
2013-06-24 20:21                   ` Dmitry Gutov
2013-06-24 20:25                     ` Eli Zaretskii
2013-06-24 20:30                       ` Juanma Barranquero
2013-06-25 14:43                         ` Eli Zaretskii
2013-06-24 21:19                       ` Jambunathan K
2013-06-25  2:43                         ` Eli Zaretskii
2013-06-25  2:35                       ` Stefan Monnier
2013-06-25 14:39                         ` Eli Zaretskii
2013-06-25 15:50                           ` Stefan Monnier
2013-06-25  6:17                   ` Michael Albinus
2013-06-25 15:00                     ` Eli Zaretskii
2013-06-25 15:24                       ` Michael Albinus
2013-06-25 16:03                         ` bug#10304: " Eli Zaretskii
2013-06-25 18:27                           ` bug#10304: display bug (was: bug#14704: 24.3.50; cl-lib breaks built-in Emacs version) Michael Albinus
2013-06-25 18:58                             ` Eli Zaretskii
2013-06-25 19:13                               ` bug#10304: display bug Michael Albinus
2011-12-15 13:51                                 ` bug#10304: 24.0.92: display but Yagnesh Raghava Yakkala
2011-12-15 13:58                                   ` Yagnesh Raghava Yakkala
2012-01-07  1:20                                   ` Lars Magne Ingebrigtsen
2012-01-07  8:48                                     ` Eli Zaretskii
2012-01-26  0:09                                       ` Lars Ingebrigtsen
2013-01-02  2:36                                       ` bug#10304: 24.0.92: display bug Lars Magne Ingebrigtsen
2013-01-02 18:23                                         ` Eli Zaretskii
2013-01-02 18:42                                           ` Lars Magne Ingebrigtsen
2013-01-02 21:42                                             ` Andreas Schwab
2013-01-05  8:38                                         ` Lars Magne Ingebrigtsen
2013-01-05  8:51                                           ` Eli Zaretskii
2013-01-05  9:16                                             ` Lars Magne Ingebrigtsen
2013-01-05  9:17                                             ` Lars Magne Ingebrigtsen
2013-01-05  9:49                                               ` Eli Zaretskii
2013-01-05 10:11                                                 ` Lars Magne Ingebrigtsen
2013-01-05 11:29                                           ` Eli Zaretskii
2013-01-05 11:38                                             ` Lars Magne Ingebrigtsen
2013-01-05 13:43                                               ` Eli Zaretskii
2013-01-05 17:36                                               ` Eli Zaretskii
2013-01-08  5:11                                                 ` Lars Magne Ingebrigtsen
2013-01-08  5:43                                                   ` Eli Zaretskii [this message]
2013-01-08 11:19                                                     ` Michael Albinus
2013-01-08 21:21                                                       ` Eli Zaretskii
2013-01-08 21:29                                                         ` Michael Albinus
2013-01-08 21:39                                                           ` Eli Zaretskii
2013-01-13 18:08                                                     ` Eli Zaretskii
2013-01-16 15:06                                                       ` Michael Albinus
2014-11-14 15:45                                                     ` Lars Magne Ingebrigtsen
2014-11-14 15:56                                                       ` Eli Zaretskii
2014-11-14 15:57                                                         ` Lars Magne Ingebrigtsen
2014-11-15 15:35                                                           ` Lars Magne Ingebrigtsen
2014-11-15 15:41                                                           ` Lars Magne Ingebrigtsen
2014-11-29 15:42                                                             ` Eli Zaretskii
     [not found]                                                               ` <m3oarmyoiz.fsf@stories.gnus.org>
2014-12-27 14:20                                                                 ` Eli Zaretskii
2015-01-15 23:50                                                                   ` Lars Magne Ingebrigtsen
2015-01-17 11:34                                                                     ` Eli Zaretskii
2015-05-07  4:31                                                                       ` Eli Zaretskii
2015-05-11 13:06                                                                         ` Lars Magne Ingebrigtsen
2015-05-11 15:18                                                                           ` Eli Zaretskii
2013-06-27 13:20                                   ` bug#10304: " Michael Albinus
2013-06-27 17:11                                     ` Eli Zaretskii
2013-06-27 18:25                                       ` Michael Albinus
2013-07-09 10:39                                       ` Michael Albinus
2013-07-09 17:16                                         ` Eli Zaretskii
2013-07-10 17:04                                         ` Eli Zaretskii
2013-07-10 18:03                                           ` Michael Albinus
2013-06-24 20:18         ` bug#14704: 24.3.50; cl-lib breaks built-in Emacs version Juanma Barranquero
2013-06-25  2:11         ` Stefan Monnier
2013-06-24 18:16     ` Eli Zaretskii
2013-06-24 18:40       ` Sebastian Wiesner
2013-06-24 17:39 ` Glenn Morris
2013-06-24 17:52   ` Sebastian Wiesner
2013-06-25 16:27 ` Stefan Monnier

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=83ehhw8c15.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=10304@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    --cc=schwab@linux-m68k.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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).