From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#56833: 29.0.50; suspend-frame causes emacs to stop responding Date: Sat, 27 Aug 2022 17:32:13 +0200 Message-ID: <87bks57ldu.fsf@gnus.org> References: <4a148fb91caa6a3fed26caeef862ed82773b9420.camel@ocrete.ca> <878robmmy1.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1911"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 56833@debbugs.gnu.org, control@debbugs.gnu.org, Olivier =?UTF-8?Q?Cr=C3=AAte?= To: Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Aug 27 17:33:13 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oRxo9-0000K2-MA for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 27 Aug 2022 17:33:13 +0200 Original-Received: from localhost ([::1]:47096 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oRxo8-00043a-Py for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 27 Aug 2022 11:33:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34774) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oRxny-00043K-JV for bug-gnu-emacs@gnu.org; Sat, 27 Aug 2022 11:33:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38836) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oRxny-0005be-BB for bug-gnu-emacs@gnu.org; Sat, 27 Aug 2022 11:33:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oRxny-0000uh-0B for bug-gnu-emacs@gnu.org; Sat, 27 Aug 2022 11:33:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 Aug 2022 15:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56833 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 56833-submit@debbugs.gnu.org id=B56833.16616143483468 (code B ref 56833); Sat, 27 Aug 2022 15:33:01 +0000 Original-Received: (at 56833) by debbugs.gnu.org; 27 Aug 2022 15:32:28 +0000 Original-Received: from localhost ([127.0.0.1]:56818 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oRxnP-0000tm-G2 for submit@debbugs.gnu.org; Sat, 27 Aug 2022 11:32:28 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:56024) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oRxnL-0000tJ-3G; Sat, 27 Aug 2022 11:32:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=e9u0pL4Sec81ZppWk8VBF/wfH7Y4LCfp3I3wbDJdrcA=; b=oYZovZR9E2Nt6G7TbomgraeTtJ TjUjVwtzJT91eOIYyKkfRxFQ5hg9Bw32nonl+DE8ntd61M+xgXSrY9tVhiXTArdzKU6Dz+YwsW09j SHovuZ6mqY06O7Y4vGG+wRcFYf4uesDiSbBKYubpgU2T8DjGlGI6NpGts4+YC65i/Idk=; Original-Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oRxnC-0003qe-4z; Sat, 27 Aug 2022 17:32:16 +0200 In-Reply-To: <878robmmy1.fsf@yahoo.com> (Po Lu's message of "Sat, 30 Jul 2022 09:03:18 +0800") X-Now-Playing: Marianne Faithfull's _A Child's Adventure_: "She's Got A Problem" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:240941 Archived-At: Po Lu 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?