GNU bug report logs - #56833
29.0.50; suspend-frame causes emacs to stop responding

Previous Next

Package: emacs;

Reported by: Olivier CrĂȘte <olivier.crete <at> ocrete.ca>

Date: Fri, 29 Jul 2022 18:27:02 UTC

Severity: normal

Tags: patch

Merged with 55836, 58424

Found in version 29.0.50

Done: Po Lu <luangruo <at> yahoo.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Po Lu <luangruo <at> yahoo.com>
Cc: 56833 <at> debbugs.gnu.org, control <at> debbugs.gnu.org, Olivier CrĂȘte <olivier.crete <at> ocrete.ca>
Subject: bug#56833: 29.0.50; suspend-frame causes emacs to stop responding
Date: Sat, 27 Aug 2022 17:32:13 +0200
Po Lu <luangruo <at> 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?




This bug report was last modified 2 years and 194 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.