From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?=E5=A4=9C=E5=9D=82=E9=9B=85?= via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#55836: 29.0.50; (iconify-frame) freezes buffer view under Wayland. Date: Thu, 01 Sep 2022 19:26:52 +0800 Message-ID: <877d2ne3nn.fsf@disroot.org> References: <87wndsro4z.fsf@yahoo.com> <87r13kxim1.fsf@yahoo.com> <87a690z0fu.fsf@gnus.org> Reply-To: =?UTF-8?Q?=E5=A4=9C=E5=9D=82=E9=9B=85?= Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10110"; mail-complaints-to="usenet@ciao.gmane.io" Cc: whainte@outlook.com, 55836@debbugs.gnu.org To: Lars Ingebrigtsen , Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Sep 01 17:35:56 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 1oTmEV-0002PI-V8 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 01 Sep 2022 17:35:55 +0200 Original-Received: from localhost ([::1]:54126 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oTmEV-0008K1-3N for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 01 Sep 2022 11:35:55 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36822) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oTmDf-0007WS-G3 for bug-gnu-emacs@gnu.org; Thu, 01 Sep 2022 11:35:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54141) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oTmDf-00012N-6b for bug-gnu-emacs@gnu.org; Thu, 01 Sep 2022 11:35:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oTmDf-0004wU-2m for bug-gnu-emacs@gnu.org; Thu, 01 Sep 2022 11:35:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?=E5=A4=9C=E5=9D=82=E9=9B=85?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 01 Sep 2022 15:35:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55836 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 55836-submit@debbugs.gnu.org id=B55836.166204648218927 (code B ref 55836); Thu, 01 Sep 2022 15:35:03 +0000 Original-Received: (at 55836) by debbugs.gnu.org; 1 Sep 2022 15:34:42 +0000 Original-Received: from localhost ([127.0.0.1]:43880 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oTmDJ-0004v8-5A for submit@debbugs.gnu.org; Thu, 01 Sep 2022 11:34:41 -0400 Original-Received: from knopi.disroot.org ([178.21.23.139]:39980) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oTiLg-00062J-Bp for 55836@debbugs.gnu.org; Thu, 01 Sep 2022 07:27:05 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 18A2E40039; Thu, 1 Sep 2022 13:27:03 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Original-Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uKW5-F1W12XX; Thu, 1 Sep 2022 13:27:02 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1662031622; bh=3PohJjxsOOJC6hjVnf6UJUzA9f7u5D9k4xEBAfiycBU=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=SluBhnkUWXV4KhvfwG5TEfOCKlyE5El5rmwLK3OZc62iFVO6E5vL832qSct4/ck+O E4T2Aq2emZ/0Hx5RnW/zqbo5lBo9fIr4biJ1R7w4rEezQ9lWJIb6gh238vo/8TmCti YaXJVbnq6CDWiEKybPEfZtdKN7wWRHOPec9PBwyeKm+fjlKMmodbF/zzJdxOAai9BH Dc6Lgl+uJlRjWSjXOWfT4X4QobgIoEWjqfpIfTE98Nij+lRJm9TkSUdGEy96VSeXZy QNS9fXfbVW2Ke5NK8GfLDsteDgBoUQaT4l4XwJufEdwiJLDXJG4Q7ZyelzJWTYQVWg lRZIzS0IjKjAA== In-Reply-To: <87a690z0fu.fsf@gnus.org> X-Mailman-Approved-At: Thu, 01 Sep 2022 11:34:39 -0400 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:241267 Archived-At: I have tried to reproduce this but failed. > Po Lu 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.