unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Masaru Nomiya <nomiya@galaxy.dti.ne.jp>
To: 49959@debbugs.gnu.org
Subject: bug#49959: 28.0.50; Emacs got quasi freeze
Date: Tue, 24 Aug 2021 10:19:36 +0900	[thread overview]
Message-ID: <87o89nmyfr.wl-nomiya@galaxy.dti.ne.jp> (raw)
In-Reply-To: <ed3f250a-e125-a1de-45d9-2dc938214743@gmx.at>

Hello,

In the Message; 

  Subject    : bug#49959: 28.0.50; Emacs got quasi freeze
  Message-ID : <ed3f250a-e125-a1de-45d9-2dc938214743@gmx.at>
  Date & Time: Mon, 23 Aug 2021 10:35:02 +0200

[RM] == martin rudalics <rudalics@gmx.at> has written:

RM>  [1  <text/plain; utf-8 (7bit)>]
RM>  > The issue is around rendering. The phnomenon is;

RM>  Please always tell us right away what you are doing to produce the
RM>  faulty behavior.

I'm so sory,

Now, I understand the debugging method.

[...]
RM>  From what I understand till now, Enlightenment treats the Emacs window
RM>  as invisible when switching away from its desktop.  So what we have to
RM>  know is what Enlightenment sends to Emacs when the user returns to the
RM>  desktop with the Emacs window.  Is it a PropertyNotify, a MapNotify, a
RM>  VisibilityNotify, a FocusIn or some other event?

RM>  If it is a VisibilityNotify event, then maybe the attached patch will
RM>  help.

RM>  Thanks, martin
RM>  [2 VisibilityNotify.diff <text/x-patch (7bit)>]
RM>  diff --git a/src/xterm.c b/src/xterm.c
RM>  index 6c6a62adb2..6e562ce8e9 100644
RM>  --- a/src/xterm.c
RM>  +++ b/src/xterm.c
RM>  @@ -9354,7 +9354,11 @@ handle_one_xevent (struct x_display_info *dpyinfo,
RM>         f = x_top_window_to_frame (dpyinfo, event->xvisibility.window);
RM>         if (f && (event->xvisibility.state == VisibilityUnobscured
RM>   		|| event->xvisibility.state == VisibilityPartiallyObscured))
RM>  -	SET_FRAME_VISIBLE (f, 1);
RM>  +	{
RM>  +	  f->output_data.x->has_been_visible = true;
RM>  +	  SET_FRAME_GARBAGED (f);
RM>  +	  SET_FRAME_VISIBLE (f, 1);
RM>  +	}

RM>         goto OTHER;

Thanks.

I'll check with this pacth.

Regards.

---
┏━━┓彡 Masaru Nomiya             mail-to: nomiya @ galaxy.dti.ne.jp
┃\/彡
┗━━┛ "Three young men died for Rationalization.
           Yet, Margaret Bloody Thatcher LIVES!"
                                            'Brassed Off'





  reply	other threads:[~2021-08-24  1:19 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-09  9:12 bug#49959: 28.0.50; Emacs got quasi freeze 野宮 賢 / NOMIYA Masaru
2021-08-18  8:03 ` martin rudalics
2021-08-21  5:09   ` Masaru Nomiya
     [not found]     ` <20210821072303.ead4637113305e2e518936b8@rasterman.com>
2021-08-21  6:54       ` Masaru Nomiya
2021-08-22  8:23         ` martin rudalics
2021-08-22  9:49           ` martin rudalics
2021-08-22 16:54             ` martin rudalics
2021-08-22 23:11               ` Masaru Nomiya
2021-08-23  8:35                 ` martin rudalics
2021-08-24  1:19                   ` Masaru Nomiya [this message]
2021-08-24  3:45                     ` Masaru Nomiya
2021-08-24  9:41                       ` martin rudalics
2021-08-24 12:35                         ` Masaru Nomiya
2021-08-24 14:14                           ` martin rudalics
2021-08-25 11:01                             ` Masaru Nomiya
2021-08-25 14:16                               ` martin rudalics
2021-08-26  0:24                                 ` Masaru Nomiya
2021-08-26  7:52                                   ` martin rudalics
2021-08-29  2:05                                     ` Masaru Nomiya
2021-08-29  7:21                                       ` martin rudalics
     [not found]                                         ` <875yvo8ywt.wl-nomiya@galaxy.dti.ne.jp>
     [not found]                                           ` <89382a57-874e-81ed-d71f-8301db63ba48@gmx.at>
     [not found]                                             ` <87h7f5oq0p.wl-m.nomiya@gmail.com>
2021-08-31 16:51                                               ` bug#49959: Diff file (Was: Re: bug#49959: 28.0.50; Emacs got quasi freeze) martin rudalics
2021-09-01  0:21                                                 ` Masaru Nomiya
2021-09-01  9:17                                                   ` martin rudalics
2021-09-01 10:05                                                     ` Masaru Nomiya
2022-08-22 11:59                                                       ` bug#49959: 28.0.50; Emacs got quasi freeze Lars Ingebrigtsen
2022-09-19 19:19                                                         ` Lars Ingebrigtsen
2022-09-19 21:45                                                           ` 野宮 賢 / NOMIYA Masaru

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=87o89nmyfr.wl-nomiya@galaxy.dti.ne.jp \
    --to=nomiya@galaxy.dti.ne.jp \
    --cc=49959@debbugs.gnu.org \
    --cc=m.nomiya@gmail.com \
    /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).