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


View this message in rfc822 format

From: 夜坂雅 <shadowrz <at> disroot.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>, Po Lu <luangruo <at> yahoo.com>
Cc: whainte <at> outlook.com, 55836 <at> debbugs.gnu.org
Subject: bug#55836: 29.0.50; (iconify-frame) freezes buffer view under Wayland.
Date: Thu, 01 Sep 2022 19:26:52 +0800
I have tried to reproduce this but failed.

> Po Lu <luangruo <at> yahoo.com> writes:
>
>>> This breakpoint actually hits whenever the emacs frame gets focus, and
>>> makes debugging quite annoying.

Yes.

>>> Here's the strange thing: when a breakpoint is set there, the issue is
>>> not present; when the breakpoint
>>> is deleted and the procedure repeated, the issue reappears.

I tried:
1. In GDB, setup the breakpoint.
2. When the emacs got focus, switch to GDB prompt and run `continue'.
3. Switch back to the Emacs window, it should now stuck. Hit C-z, then
switch to GDB prompt and run `continue'.
4. Emacs should iconify itself. Deiconify it. It'll hit breakpoint
again. switch to GDB prompt and run `continue'.
5. Select Help in the menu bar. It'll hit breakpoint. switch to GDB
prompt and run `continue'.
6. The menu should pop up. run the Emacs tutorial.
7. Scroll in the Emacs window.

The Emacs tutorial can be scrolled.
However when I disable the breakpoint, When I deiconified the Emacs
window, it doesn't update even I tried to launch Emacs tutorial.

>> I didn't understand what you said, but I guess you should make the
>> breakpoint conditional on "FRAME_ICONIFIED_P (f)".

I tried, but GDB failed to setup this condition with:
No symbol "FRAME_ICONIFIED_P" in current context.




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

Previous Next


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