From: YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
To: martin rudalics <rudalics@gmx.at>
Cc: 19721@debbugs.gnu.org
Subject: bug#19721: 25.0.50; Mode-line not redrawn with expose events
Date: Mon, 02 Feb 2015 12:24:13 +0900 [thread overview]
Message-ID: <wla90xxag2.wl%mituharu@math.s.chiba-u.ac.jp> (raw)
In-Reply-To: <54CDE912.7070209@gmx.at> <83pp9tiqm6.fsf@gnu.org>
>>>>> On Sun, 01 Feb 2015 09:51:30 +0100, martin rudalics <rudalics@gmx.at> said:
>> If I apply both changes, mode-lines are redrawn when exposed, but some
>> of them are not updated with C-x o.
> What happens when you do something trivial like
> --- a/src/window.c
> +++ b/src/window.c
> @@ -524,6 +524,8 @@ select_window (Lisp_Object window, Lisp_Object norecord, int inhibit_point_swap)
> record_buffer (w->contents);
> }
> + w->update_mode_line = 1;
> +
> return window;
> }
The result was similar to Eli's second patch. With your patch alone,
the original problem remains. With Eli's first patch, some of
mode-lines are not update with C-x o.
>>>>> On Sun, 01 Feb 2015 17:44:01 +0200, Eli Zaretskii <eliz@gnu.org> said:
> So I'm not sure this is the right solution. The situation described
> in this report is quite unique, in that the face used for the active
> mode line causes the window glyph matrices to be resized each time a
> window becomes non-selected one. It is because of this resizing that
> the mode-line row of the current matrix becomes disabled.
I've experienced similar mode-line erasure without customization of
the mode-line face on the Mac port a few times (probably after
pixel-based mouse-wheel smooth scrolling over an inactive window).
But I couldn't find a way to reproducible it reliably. The face
customization example was originally given by a user of the Mac port
as a part of a bug report I received.
YAMAMOTO Mitsuharu
mituharu@math.s.chiba-u.ac.jp
next prev parent reply other threads:[~2015-02-02 3:24 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-29 10:51 bug#19721: 25.0.50; Mode-line not redrawn with expose events YAMAMOTO Mitsuharu
2015-01-31 10:31 ` YAMAMOTO Mitsuharu
2015-01-31 11:09 ` Eli Zaretskii
2015-01-31 10:53 ` Eli Zaretskii
2015-01-31 11:37 ` YAMAMOTO Mitsuharu
2015-01-31 11:44 ` Eli Zaretskii
2015-02-01 5:40 ` YAMAMOTO Mitsuharu
2015-02-01 8:51 ` martin rudalics
2015-02-01 15:44 ` Eli Zaretskii
2015-02-01 16:30 ` martin rudalics
2015-02-01 17:27 ` Eli Zaretskii
2015-02-01 18:09 ` martin rudalics
2015-02-01 18:37 ` Eli Zaretskii
2015-02-02 3:24 ` YAMAMOTO Mitsuharu [this message]
2015-02-01 15:33 ` Eli Zaretskii
2015-02-02 3:27 ` YAMAMOTO Mitsuharu
2015-02-02 16:16 ` Eli Zaretskii
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=wla90xxag2.wl%mituharu@math.s.chiba-u.ac.jp \
--to=mituharu@math.s.chiba-u.ac.jp \
--cc=19721@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.