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 #79 received at 55836 <at> debbugs.gnu.org (full text, mbox):

From: Po Lu <luangruo <at> yahoo.com>
To: Tino Calancha <tino.calancha <at> gmail.com>
Cc: 55836 <at> debbugs.gnu.org
Subject: Re: bug#55836: 29.0.50; (iconify-frame) freezes buffer view under
 Wayland.
Date: Wed, 09 Nov 2022 20:28:57 +0800
Tino Calancha <tino.calancha <at> gmail.com> writes:

> Both seems to fix the issue in my Wayland session.

Thanks.

I decided to take another look at this today.  What GDK does is a hack
that works for some people: after a window is iconified, it sends a
configure event containing the iconified state to the program.  Upon the
next xdg_toplevel.configure event, it assumes the window has been
deiconified.

That is wrong!  In many situations, it is valid for the compositor to
send yet another toplevel configure event.  For example, the pager
component of the compositor may want the program to resize its toplevel
before it displays a preview of said toplevel to the user.

It is also valid for the compositor to deiconify a frame without
focusing it, or changing any state at all (which would entail sending a
configure event.)

However, with something similar the second change, it seems to work for
at least half of our users, which is better than having iconification
work for nobody at all.  So would you be so kind as to check if the bug
is now fixed on master?

(It may take some time for me to push: savannah seems to be having
problems ATM.)




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.