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

From: Po Lu <luangruo <at> yahoo.com>
To: 夜坂雅 <shadowrz <at> disroot.org>
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: Sun, 04 Sep 2022 20:50:26 +0800
夜坂雅 <shadowrz <at> disroot.org> writes:

>> Another thing I found interesting: I also used M-x server-start so
>> emacsclient can control this Emacs. Without your patch,
>> When I iconify Emacs via emacsclient by running:
>>
>> $ emacsclient -e '(iconify-or-deiconify-frame)'
>>
>> I can't deiconify it using the same command. But I can deiconify it
>> using the taskbar (I use Latte Dock's taskbar), and the bug doesn't
>> happen.

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.  What happens if you comment out
every call to `SET_FRAME_ICONIFIED' in pgtkterm.c?




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.