unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Po Lu <luangruo@yahoo.com>
Cc: 56833@debbugs.gnu.org, control@debbugs.gnu.org,
	"Olivier Crête" <olivier.crete@ocrete.ca>
Subject: bug#56833: 29.0.50; suspend-frame causes emacs to stop responding
Date: Sat, 27 Aug 2022 17:32:13 +0200	[thread overview]
Message-ID: <87bks57ldu.fsf@gnus.org> (raw)
In-Reply-To: <878robmmy1.fsf@yahoo.com> (Po Lu's message of "Sat, 30 Jul 2022 09:03:18 +0800")

Po Lu <luangruo@yahoo.com> writes:

>> I'm running with emacs pgtk under Wayland.
>>
>> I suspect this is similar to bug #24119. If I do C-z, calling suspend,
>> it hides the window, but if I try to "restore" it, the main emacs
>> window
>> doesn't update anymore, I can only access the menus and top bar.
>
> This is a duplicate of bug#55836; could you please try what I told the
> original reporter and ack?

This was the suggesion:

---

I think this is a GTK bug, where the developers neglected to maintain
the iconification state on Wayland after GNOME removed the minimize
button from window title bars.

Can you set a breakpoint here (in pgtkterm.c), and see if it is ever hit
when you deiconify Emacs?

  if (event->window_state.new_window_state
      & GDK_WINDOW_STATE_ICONIFIED)
    SET_FRAME_ICONIFIED (f, true);
  else
    {
-->   FRAME_X_OUTPUT (f)->has_been_visible = true;
      inev.ie.kind = DEICONIFY_EVENT;
      XSETFRAME (inev.ie.frame_or_window, f);
      SET_FRAME_ICONIFIED (f, false);
    }


---

Olivier, would it be possible for you to try this?





      reply	other threads:[~2022-08-27 15:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-29 18:01 bug#56833: 29.0.50; suspend-frame causes emacs to stop responding Olivier Crête
2022-07-30  1:03 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-08-27 15:32   ` Lars Ingebrigtsen [this message]

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=87bks57ldu.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=56833@debbugs.gnu.org \
    --cc=control@debbugs.gnu.org \
    --cc=luangruo@yahoo.com \
    --cc=olivier.crete@ocrete.ca \
    /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).