GNU bug report logs - #55836
29.0.50; (iconify-frame) freezes buffer view under Wayland.

Previous Next

Package: emacs;

Reported by: "koaaa.outlook" <whainte <at> outlook.com>

Date: Tue, 7 Jun 2022 20:25:02 UTC

Severity: normal

Tags: patch

Merged with 56833, 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


Message #42 received at 55836 <at> debbugs.gnu.org (full text, mbox):

From: 夜坂雅 <shadowrz <at> disroot.org>
To: Po Lu <luangruo <at> yahoo.com>
Cc: whainte <at> outlook.com, Lars Ingebrigtsen <larsi <at> gnus.org>,
 55836 <at> debbugs.gnu.org
Subject: Re: bug#55836: 29.0.50; (iconify-frame) freezes buffer view under
 Wayland.
Date: Mon, 05 Sep 2022 17:57:26 +0800
Po Lu <luangruo <at> yahoo.com> writes:

> That's to be expected.  It turns out that programmatically deiconifying
> a window isn't supported by the Wayland protocol (see here:
> https://wayland.app/protocols/xdg-shell#xdg_toplevel is missing a
> function corresponding to "SetMinimized" to disable the minimized
> state), so GDK and Emacs don't support it either.

😅

>>> But when I apply your patch, running
>>>
>>> $ emacsclient -e '(iconify-or-deiconify-frame)'
>>>
>>> and deiconify it using taskbar, the bug happens.
>
> I'm not sure what you mean by that.

1. Apply your said patch and build Emacs.
2. Run emacs and M-x server-start.
3. Run emacsclient -e '(iconify-or-deiconify-frame)' to iconify it.
4. Deiconify it. This window won't refresh when I try to run Emacs
tutorial from the menu bar.

> What happens if you comment out every call to `SET_FRAME_ICONIFIED' in pgtkterm.c?

The bug can still happen, which means even commenting every call to
SET_FRAME_ICONIFIED, Emacs is still unable to update frame when
iconified using C-z.




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

Previous Next


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