all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Nicolas Avrutin <nicolasavru@gmail.com>
To: martin rudalics <rudalics@gmx.at>
Cc: 18196@debbugs.gnu.org
Subject: bug#18196: 24.4.50; crash when setting face background in terminal frame
Date: Wed, 06 Aug 2014 13:59:43 -0400	[thread overview]
Message-ID: <87egwt4hs9.fsf@gateway.local.navru.net> (raw)
In-Reply-To: <53E1F869.9060402@gmx.at>

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

Doesn't seem like my email went though because my screenshots were too
large. Let's try this again.

On Wed, Aug 06 2014, martin rudalics <rudalics@gmx.at> wrote:
> Might be.  I attached a new patch.  If you still see the problem please
> tell me the size of the terminal and maybe add a screenshot.  Can you
> type into the text window or the minibuffer when it happens?

The second issue is still there with the last patch. Interestingly
enough, I can only reproduce this with emacsclient, not emacs itself. I
don't see a difference with this issue between your second patch and
your third patch.

Steps to reproduce:
1. emacs -Q
2. M-: server-start
3. emacsclient -nw

The dimensions of the terminal with the emacsclient are 134 cols and 38
lines (according to tput cols and tput lines). The dimensions of the
terminal window (including scroll bar and 1px window border on all
sides) should be 960x540 (1/4 of a 1920x1080 screen). I don't know the
exact width of the scroll bar, so I can't easily give you the dimensions
of the "interior" of the terminal. I can also reproduce the issue with a
terminal smaller than this.

Screenshots:
1.png: emacs window on the left, terminal from which emacs was opened on
the top right, terminal with emacsclient -nw opened in the bottom right.
Notice that neither the next from the *scratch* buffer nor the menu bar
are visible.

2.png: I type "foo bar" in the emacsclient. The text appears in
emacsclient and the emacs window because they are both in the *scratch*
buffer. Notice how in the emacsclient, the buffer is marked as modified
on the line below the displayed modeline. The modeline is actually on
the bottom line, not on the second line from the bottom. The second line
is a static artifact.

3.png: I press M-: and type something in the minibuffer. It overwrites
the actual modeline on the bottom line, of which the modified buffer
marker was the only thing visible. Entering the minibuffer caused an
entry in the menubar to change. The new entry (Minibuf Help) is now visible.

4.png: I press C-g to exit the minibuffer then RET to advance to the
next line and then down arrow. The line number in the modeline (line 6)
is displayed on the last line, the same line as the echo area. The
menubar is updated.

5.png: I press C-SPC and up arrow to select the next on the first few
lines. The next becomes visible now.

6.png: I press C-g to cancel the selection. The text remains visible.

7.png: I press F10 to open the menu and then F10 again to close it. The
parts of the menubar that were redrawn when I did that (File part of
Edit) are visible now. I press C-x C-f and open a new file. Most of the
modeline is redrawn on the bottom line. The original location of the
modeline on the second to last has not been redrawn since openening the
emacsclient.

At any point, if I full-screen the terminal with the emacsclient, the
entire emacsclient gets redrawn and the display bugs disappear. If I
then restore the terminal to the smaller size, it continues to function
properly.

Thanks

[-- Attachment #2: 1.png --]
[-- Type: image/png, Size: 16144 bytes --]

[-- Attachment #3: 2.png --]
[-- Type: image/png, Size: 16557 bytes --]

[-- Attachment #4: 3.png --]
[-- Type: image/png, Size: 17054 bytes --]

[-- Attachment #5: 4.png --]
[-- Type: image/png, Size: 17102 bytes --]

[-- Attachment #6: 5.png --]
[-- Type: image/png, Size: 18909 bytes --]

[-- Attachment #7: 6.png --]
[-- Type: image/png, Size: 19041 bytes --]

[-- Attachment #8: 7.png --]
[-- Type: image/png, Size: 17061 bytes --]

[-- Attachment #9: Type: text/plain, Size: 21 bytes --]


-- 
Nicolas Avrutin

  parent reply	other threads:[~2014-08-06 17:59 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-05  8:12 bug#18196: 24.4.50; crash when setting face background in terminal frame Nicolas Avrutin
2014-08-05  8:51 ` martin rudalics
2014-08-05  9:55   ` martin rudalics
2014-08-05 16:34     ` Nicolas Avrutin
2014-08-05 17:47       ` martin rudalics
2014-08-05 19:06         ` Nicolas Avrutin
2014-08-05 21:18           ` Nicolas Avrutin
2014-08-06  9:42             ` martin rudalics
2014-08-06 15:40               ` Nicolas Avrutin
2014-08-06 17:59               ` Nicolas Avrutin [this message]
2014-08-07 15:08                 ` martin rudalics
2014-08-07 15:36                   ` Eli Zaretskii
2014-08-07 18:12                   ` Nicolas Avrutin
2014-08-08  8:43                     ` martin rudalics
2014-08-08  9:19                       ` Eli Zaretskii
2014-08-08 10:10                         ` martin rudalics
2014-08-08 14:38                           ` Mat Smiglarski
2014-08-10  9:18                             ` martin rudalics
2014-08-12  4:00                               ` tsugutomo.enami
2014-08-12  9:53                                 ` martin rudalics
2014-08-12 22:07                                   ` tsugutomo.enami
2014-08-13  6:21                                     ` martin rudalics
2014-08-12 21:27                               ` Mat Smiglarski
2014-08-13  6:21                                 ` martin rudalics
2014-08-10  9:17                     ` martin rudalics
2014-08-10 23:43                       ` Nicolas Avrutin

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=87egwt4hs9.fsf@gateway.local.navru.net \
    --to=nicolasavru@gmail.com \
    --cc=18196@debbugs.gnu.org \
    --cc=rudalics@gmx.at \
    /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.