From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 01 14:46:22 2020 Received: (at submit) by debbugs.gnu.org; 1 Aug 2020 18:46:22 +0000 Received: from localhost ([127.0.0.1]:41063 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k1wWU-0000j7-5S for submit@debbugs.gnu.org; Sat, 01 Aug 2020 14:46:22 -0400 Received: from lists.gnu.org ([209.51.188.17]:48274) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k1wWS-0000j0-Iu for submit@debbugs.gnu.org; Sat, 01 Aug 2020 14:46:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43232) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k1wWS-0003Xj-9Q for bug-gnu-emacs@gnu.org; Sat, 01 Aug 2020 14:46:20 -0400 Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]:44386) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k1wWQ-0001NZ-CK for bug-gnu-emacs@gnu.org; Sat, 01 Aug 2020 14:46:19 -0400 Received: by mail-wr1-x42c.google.com with SMTP id b6so30688974wrs.11 for ; Sat, 01 Aug 2020 11:46:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=cVLZJCE/a/aNsVpATVsV40Enp7rfTADUzVILuV5usNw=; b=ug1ULWW0E/8Ju20/nSWaN0Sk5kefjswhOef3QtpgRQcFhwcAGrJQVGK3Zcn6ITrLrE wcyXzfffaq2bIPUYS1pi9evs5F2pEL8bDSDgNIp+9dSo2i8R50F8ZUPnwRX1f0HONYXr YUt6NJ46Rfmn1l6ZIzo/BTyvkDcW7YZ9WIfD3Xu/QEaGOpLLgAS/YinT5wQ8O+9BQUts 5MnEcvQ2U6/EChdTzS6Kvzj4kO7v5E/KUxISHJKV5WwiuFuAydzl/adKMRNGPR+AA1kF uN6y3v/sqeisJ520Gt1Umb3lCZPXLw2Uv2I2wzEcmQBXS7kcSogRmAOvocXjmAqvXTN6 F0/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=cVLZJCE/a/aNsVpATVsV40Enp7rfTADUzVILuV5usNw=; b=fiDBrc6XjW8nvFzGgoIiVM9yIJuxWGTKTBysRd6pbE8Ejikep21iUvuNl+73ZywGlI bk1RUWC4gMKE6VMG212l21GIHrNpgDuj2pP1uy8JLqEBL4HTRIsTwOA9C5uvBQbEkI6I 7lZgIJSv7xVFyixY9tagvNpZIVtxGwow0jci8tjBDvjG2BZXC2X5aXajm77gtzh8nNe5 G79W/+1yyiMIUYENnROTXns8JMZfMULeRrCs8mMh+xVVujZqS6J6e9DYSbMcF4SXyTpW ga717sEIVAFFs/HwyHFkb8mcTxvmS1EH5MpkN8e302AjIwYxZQboMPDzqHT0ISRRNAru 9TvQ== X-Gm-Message-State: AOAM532it5ijUgzWD15RcBJMWR5NyI8yShlZOB4DnWTH1mjjAwfY8rzc hdLnfRcj0bhI6C+/9rE9u0ultluydRc= X-Google-Smtp-Source: ABdhPJwmfTSpfxaX8j4YF9n4n3zELmTO+CNxxVFVx0naRN8lHa3+axasjMwg61D0Ee6BLAgmdi1fYw== X-Received: by 2002:a05:6000:c:: with SMTP id h12mr8032715wrx.49.1596307575728; Sat, 01 Aug 2020 11:46:15 -0700 (PDT) Received: from calancha-pc.dy.bbexcite.jp ([31.7.242.222]) by smtp.gmail.com with ESMTPSA id l81sm16661463wmf.4.2020.08.01.11.46.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 01 Aug 2020 11:46:15 -0700 (PDT) From: Tino Calancha To: bug-gnu-emacs@gnu.org Subject: 27.1; iconify-frame on a Lucid build may stuck the frame Date: Sat, 01 Aug 2020 20:46:03 +0200 Message-ID: <87lfiycihg.fsf@calancha-pc.dy.bbexcite.jp> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::42c; envelope-from=tino.calancha@gmail.com; helo=mail-wr1-x42c.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) X-Debbugs-Cc: Stefan Monnier , Paul Eggert , Severity: wishlist * To reproduce ------------------------------------------------------------------------------- In a GUI session, with Emacs built with Lucid toolkit in a Linux machine, do: emacs -Q C-z ;; select again the window displaying the Emacs GUI ------------------------------------------------------------------------------- - You cannot insert characters in the *scratch* buffer. - Normal movement, for intance, `C-n' or `C-f' doesn't work. trick: `M-x' recovers the frame. Unfortunately, when I start Emacs without the `-Q' flag, then this trick doesn't work for me: the frame keeps unresponsive forever, and I have 2 choices: 1) Restart Emacs session (unaceptable for users). 2) Get 'blindly' (ie, without echo area feedback) a new frame: C-x 5 b foo RET * Expected behavior: After `C-z' and select again the Emacs GUI you have a fully responsive frame displaying the *scratch* buffer: you can insert characters and/or move the cursor anywhere. * Workaround: Install gtk3-devel and build Emacs with GTK3 toolkit In GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2020-08-01 built on calancha-pc.dy.bbexcite.jp Repository revision: f54ddb0198640e38c1d34bf6031ff5117c117c85 Repository branch: emacs-27 Windowing system distributor 'The X.Org Foundation', version 11.0.12004000 System Description: Debian GNU/Linux 10 (buster) Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Quit [2 times] funcall-interactively: End of buffer scroll-up-command: End of buffer Configured using: 'configure --with-x-toolkit=lucid' Configured features: XAW3D XPM JPEG TIFF GIF PNG RSVG SOUND GPM DBUS GSETTINGS GLIB NOTIFY INOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS LUCID X11 XDBE XIM MODULES THREADS LIBSYSTEMD PDUMPER LCMS2 GMP Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs text-property-search time-date subr-x seq byte-opt gv bytecomp byte-compile cconv mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 44708 6402) (symbols 48 5984 1) (strings 32 16489 1646) (string-bytes 1 525028) (vectors 16 9267) (vector-slots 8 124678 11056) (floats 8 22 43) (intervals 56 212 0) (buffers 1000 11)) From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 01 14:53:51 2020 Received: (at 42655) by debbugs.gnu.org; 1 Aug 2020 18:53:51 +0000 Received: from localhost ([127.0.0.1]:41073 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k1wdj-0000tH-2f for submit@debbugs.gnu.org; Sat, 01 Aug 2020 14:53:51 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34590) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k1wdg-0000t4-GN for 42655@debbugs.gnu.org; Sat, 01 Aug 2020 14:53:49 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:40196) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k1wda-00026Y-2d; Sat, 01 Aug 2020 14:53:42 -0400 Received: from [176.228.60.248] (port=1735 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1k1wdZ-0006Xq-Bs; Sat, 01 Aug 2020 14:53:41 -0400 Date: Sat, 01 Aug 2020 21:53:26 +0300 Message-Id: <83ft96ci55.fsf@gnu.org> From: Eli Zaretskii To: Tino Calancha In-Reply-To: <87lfiycihg.fsf@calancha-pc.dy.bbexcite.jp> (message from Tino Calancha on Sat, 01 Aug 2020 20:46:03 +0200) Subject: Re: bug#42655: 27.1; iconify-frame on a Lucid build may stuck the frame References: <87lfiycihg.fsf@calancha-pc.dy.bbexcite.jp> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 42655 Cc: 42655@debbugs.gnu.org, eggert@cs.ucla.edu, monnier@iro.umontreal.ca, uyennhi.qm@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Tino Calancha > Date: Sat, 01 Aug 2020 20:46:03 +0200 > Cc: paul eggert , stefan monnier , > uyennhi.qm@gmail.com > > In a GUI session, with Emacs built with Lucid toolkit in a Linux machine, > do: > emacs -Q > C-z > ;; select again the window displaying the Emacs GUI > ------------------------------------------------------------------------------- > > - You cannot insert characters in the *scratch* buffer. > - Normal movement, for intance, `C-n' or `C-f' doesn't work. If you now attach a debugger to Emacs, what does the backtrace show? From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 02 09:07:43 2020 Received: (at 42655) by debbugs.gnu.org; 2 Aug 2020 13:07:43 +0000 Received: from localhost ([127.0.0.1]:41936 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2DiJ-0005Or-1q for submit@debbugs.gnu.org; Sun, 02 Aug 2020 09:07:43 -0400 Received: from mail-wm1-f48.google.com ([209.85.128.48]:51001) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2DiG-0005Od-Eh for 42655@debbugs.gnu.org; Sun, 02 Aug 2020 09:07:41 -0400 Received: by mail-wm1-f48.google.com with SMTP id c80so12075790wme.0 for <42655@debbugs.gnu.org>; Sun, 02 Aug 2020 06:07:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=W6FNqHmXVFw0lv0nK3HuHr3Cmvg1BHrv7/nP2gyEuKo=; b=t/GP7sAf5CtXgxZWVMkmdb/yJXl1QetC8LXx/nLnVy3YdJjdAXqdCSYH1xa0is0fmZ KM7TaPMyIxlz+toZTLffZzCaBXNNFyR/mtfxB4vVXonWhWsd+il5Epb6puLGuuDCIpuQ oUwOYZUDMXSxfl8fy9hGJ5Ny5RRUQ6HkXnLsKAohXi/RRQBIKtUlQNxVsGIDOoT2RZDS 9Dgoum0O1mzwI6+622AazPEmKMXrzo29ha5q7o2DN2Prq7vjQs2tAMF6DDANwCEJOJ/S RipXEva2wzUgOf8z96n/2/HBccSR7G5k9qFUso5MFcGxnfY5CVuQjPepSw9qm6/XhSj5 Lx0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=W6FNqHmXVFw0lv0nK3HuHr3Cmvg1BHrv7/nP2gyEuKo=; b=lLjLvYvznYEApEL0/xNW//2rl7pLpb2vYQo2LCQXOFNERbhkGwUkSPul/aUG/L3ALx NOpBARd5lyNieY5y6/il2SuAFf35H/oEt8SZ5uWqjhFB8F/QxvlyKoTEiaJsBdmmp5ap kC+0Sw/O63SOr/RmYuxhPFzpGbgYOAiL6Lm4vdFPsXW/n90fPXGZKp92drx9I6R70mE1 WChtkPjA9Dj1EJUWu/bzAVWi5tlxVu7CMa63tNnl0+r6R6UrEMj5+GpyQiicg2I6diB2 RZhD4CNDZJ8KKtOjmQTbBnVJ3CoMv/iRklhJJQvNXw7jWys2thUQW9VaEN0iio5f1Nxh fYuQ== X-Gm-Message-State: AOAM532eCbMA4kL98LBZ9y1erTYdGztXOzIzycBdsKC9XNWg5bEvsLMB Xx+9XzwbnkDPtGZnNA6DLs0= X-Google-Smtp-Source: ABdhPJy85RvZVazkeZbPJncrld+1MKXCFB33Ks76tKKKkQ/kY6kWR95AAjjyOLpb4pdroL99pDm6AQ== X-Received: by 2002:a1c:e912:: with SMTP id q18mr11595120wmc.130.1596373654534; Sun, 02 Aug 2020 06:07:34 -0700 (PDT) Received: from localhost.example.com ([31.7.242.222]) by smtp.gmail.com with ESMTPSA id f9sm18880916wru.47.2020.08.02.06.07.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 02 Aug 2020 06:07:33 -0700 (PDT) From: Tino Calancha To: 42655@debbugs.gnu.org Subject: Re: bug#42655: 27.1; iconify-frame on a Lucid build may stuck the frame References: <87lfiycihg.fsf@calancha-pc.dy.bbexcite.jp> Date: Sun, 02 Aug 2020 15:07:32 +0200 In-Reply-To: <87lfiycihg.fsf@calancha-pc.dy.bbexcite.jp> (Tino Calancha's message of "Sat, 01 Aug 2020 20:46:03 +0200") Message-ID: <87mu3dfb6z.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 42655 Cc: paul eggert , stefan monnier , uyennhi.qm@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Tino Calancha writes: > ------------------------------------------------------------------------------- > In a GUI session, with Emacs built with Lucid toolkit in a Linux machine, > do: > emacs -Q > C-z > ;; select again the window displaying the Emacs GUI > ------------------------------------------------------------------------------- > > - You cannot insert characters in the *scratch* buffer. > - Normal movement, for intance, `C-n' or `C-f' doesn't work. It is a regression from Emacs 26.? with the following commit: commit dee8674414fae2323fd9cbf05aa762e72fa575e5 Author: Stefan Monnier Date: Thu Feb 23 21:17:04 2017 -0500 Minor redisplay optimisations * src/frame.c (Ficonify_frame): No need to redisplay everything. The following patch fixed it: --8<-----------------------------cut here---------------start------------->8--- commit 96e56d237d27d0873914319812a576969f60486f Author: Tino Calancha Date: Sun Aug 2 14:45:56 2020 +0200 Notify when a frame is iconified in Lucid builds If Emacs is built without x toolkit or built with Lucid, then we have to notify when a frame is iconified (Bug#42655). - src/frame (iconify-frame): Set windows_or_buffers_changed to a non-zero value. diff --git a/src/frame.c b/src/frame.c index 4dd8bb1804..640aa5c4e3 100644 --- a/src/frame.c +++ b/src/frame.c @@ -2738,6 +2738,11 @@ DEFUN ("iconify-frame", Ficonify_frame, Siconify_frame, if (FRAME_WINDOW_P (f) && FRAME_TERMINAL (f)->iconify_frame_hook) FRAME_TERMINAL (f)->iconify_frame_hook (f); +#if (!defined USE_X_TOOLKIT || defined USE_LUCID) /* (Bug#42655) */ + /* Make menu bar update for the Buffers and Frames menus. */ + windows_or_buffers_changed = 17; +#endif + return Qnil; } --8<-----------------------------cut here---------------end--------------->8--- In GNU Emacs 27.1 (build 17, x86_64-pc-linux-gnu, X toolkit, Xaw scroll bars) of 2020-08-02 built on localhost.example.com Repository revision: f54ddb0198640e38c1d34bf6031ff5117c117c85 Repository branch: emacs-27 Windowing system distributor 'The X.Org Foundation', version 11.0.12008000 System Description: openSUSE Tumbleweed From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 02 10:34:42 2020 Received: (at 42655) by debbugs.gnu.org; 2 Aug 2020 14:34:42 +0000 Received: from localhost ([127.0.0.1]:43106 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2F4U-0007sf-17 for submit@debbugs.gnu.org; Sun, 02 Aug 2020 10:34:42 -0400 Received: from eggs.gnu.org ([209.51.188.92]:48556) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2F4S-0007sP-2x for 42655@debbugs.gnu.org; Sun, 02 Aug 2020 10:34:41 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:51032) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k2F4L-0005bG-59; Sun, 02 Aug 2020 10:34:33 -0400 Received: from [176.228.60.248] (port=2125 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1k2F4K-0004dN-MO; Sun, 02 Aug 2020 10:34:32 -0400 Date: Sun, 02 Aug 2020 17:34:16 +0300 Message-Id: <831rkpce1j.fsf@gnu.org> From: Eli Zaretskii To: Tino Calancha In-Reply-To: <87mu3dfb6z.fsf@gmail.com> (message from Tino Calancha on Sun, 02 Aug 2020 15:07:32 +0200) Subject: Re: bug#42655: 27.1; iconify-frame on a Lucid build may stuck the frame References: <87lfiycihg.fsf@calancha-pc.dy.bbexcite.jp> <87mu3dfb6z.fsf@gmail.com> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 42655 Cc: 42655@debbugs.gnu.org, eggert@cs.ucla.edu, monnier@iro.umontreal.ca, uyennhi.qm@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Tino Calancha > Date: Sun, 02 Aug 2020 15:07:32 +0200 > Cc: paul eggert , stefan monnier , > uyennhi.qm@gmail.com > > Tino Calancha writes: > > > emacs -Q > > C-z > > ;; select again the window displaying the Emacs GUI > > ------------------------------------------------------------------------------- > > > > - You cannot insert characters in the *scratch* buffer. > > - Normal movement, for intance, `C-n' or `C-f' doesn't work. > > It is a regression from Emacs 26.? with the following commit: > > commit dee8674414fae2323fd9cbf05aa762e72fa575e5 > Author: Stefan Monnier > Date: Thu Feb 23 21:17:04 2017 -0500 > > Minor redisplay optimisations > > * src/frame.c (Ficonify_frame): No need to redisplay everything. > > The following patch fixed it: > > --8<-----------------------------cut here---------------start------------->8--- > commit 96e56d237d27d0873914319812a576969f60486f > Author: Tino Calancha > Date: Sun Aug 2 14:45:56 2020 +0200 > > Notify when a frame is iconified in Lucid builds > > If Emacs is built without x toolkit or built with Lucid, > then we have to notify when a frame is iconified (Bug#42655). > - src/frame (iconify-frame): > Set windows_or_buffers_changed to a non-zero value. > > diff --git a/src/frame.c b/src/frame.c > index 4dd8bb1804..640aa5c4e3 100644 > --- a/src/frame.c > +++ b/src/frame.c > @@ -2738,6 +2738,11 @@ DEFUN ("iconify-frame", Ficonify_frame, Siconify_frame, > if (FRAME_WINDOW_P (f) && FRAME_TERMINAL (f)->iconify_frame_hook) > FRAME_TERMINAL (f)->iconify_frame_hook (f); > > +#if (!defined USE_X_TOOLKIT || defined USE_LUCID) /* (Bug#42655) */ > + /* Make menu bar update for the Buffers and Frames menus. */ > + windows_or_buffers_changed = 17; > +#endif Thanks, but I'm afraid this is not necessarily TRT. You simply revert part of Stefan's change for some configurations, but I don't understand why not setting windows_or_buffers_changed affects Lucid, but not GTK. Did you succeed in understanding the reason? And btw, why do you also add this for non-toolkit builds: did you see the same problem in that configuration? From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 03 15:47:05 2020 Received: (at 42655) by debbugs.gnu.org; 3 Aug 2020 19:47:05 +0000 Received: from localhost ([127.0.0.1]:46078 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2gQK-0004lW-Qg for submit@debbugs.gnu.org; Mon, 03 Aug 2020 15:47:05 -0400 Received: from mail-wm1-f53.google.com ([209.85.128.53]:40488) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2gQG-0004l0-P5 for 42655@debbugs.gnu.org; Mon, 03 Aug 2020 15:47:02 -0400 Received: by mail-wm1-f53.google.com with SMTP id k20so696789wmi.5 for <42655@debbugs.gnu.org>; Mon, 03 Aug 2020 12:47:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=rAEq/5k+sWB2LomakqFwkjQmPvcpxUa04Y429Wvae/4=; b=csC9FvqjRIVykisMybbpUL3FNCVRSPOOEPogum4yHPp8lwJDzOxECHVxWlpSVPeVTV cHZe0RoZZlY+2b6qVNho+zujNxCABZF6oFzRbHvUCESM2OCS2VFG01GOIAH1z36L6DhU yqRWTwuPq9A956mdyJW9wbRe1p+V4HGhvK7As4rVTZ6F/5UXPLVCVu36AiEKi0vFOUmh ZASjr2B82651gVdoLu3r2u7tpoY8v8M/up9yIkWU2ecKC8A/IixxZLUS/azqaZf0tVeK gBuHpKyTCDCK4/mw3X7pSnZmQfHGeeo687eApdflsT91kqMEm9ueaaI8dnETCyjC/142 naAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=rAEq/5k+sWB2LomakqFwkjQmPvcpxUa04Y429Wvae/4=; b=MY9OWeuQpb3jNGQCmTyzqQw67uh50PTBXujOlgmL88KToE5TMInTbfol4lTSfMFH5+ 2mv7N+ALtsTpEd/3wyvA9AahJDR1e1EL6O5eJIWhHb+6dNbpcgu5z0GTf2z1JVwvywS3 ySQyE777DYkAkuqWNd5JJlhQntLryT81qSyr4XBZ7kxPrF9P+rLwpbQTZP8Pk7sW2VaA K+2xOLDzl0g4BfWCoUmleLmoghniDjWUrPmz47vX+yqVTfJ1/Ql0VAsnSWd0bs6UizAO 5NlUeRgJ8sJrj483TZppp7Ldz3QX3xA8V3VGvBllP3DdxjVHaO2NA8WMq4bIuG2rbWlt QV+g== X-Gm-Message-State: AOAM531Ctym1dkV4WKdjPUhHaJ6gei3J0wPw94eGQXNVmPlqCfr3m9tA dMeURaTD+EORWxiMVjaZHZM= X-Google-Smtp-Source: ABdhPJyFAtVLCVkHTd0LQG5MLLEw6Qis3/rBZoKdQq+XktxeFI4B25UXsmumfo6CJqu4aCDQesuEhA== X-Received: by 2002:a1c:dc8b:: with SMTP id t133mr669764wmg.148.1596484014696; Mon, 03 Aug 2020 12:46:54 -0700 (PDT) Received: from [10.200.4.109] ([31.7.242.222]) by smtp.gmail.com with ESMTPSA id i82sm1096620wmi.10.2020.08.03.12.46.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Aug 2020 12:46:54 -0700 (PDT) From: Tino Calancha X-Google-Original-From: Tino Calancha Date: Mon, 3 Aug 2020 21:46:49 +0200 (CEST) X-X-Sender: calancha@localhost.example.com To: Eli Zaretskii Subject: Re: bug#42655: 27.1; iconify-frame on a Lucid build may stuck the frame In-Reply-To: <831rkpce1j.fsf@gnu.org> Message-ID: References: <87lfiycihg.fsf@calancha-pc.dy.bbexcite.jp> <87mu3dfb6z.fsf@gmail.com> <831rkpce1j.fsf@gnu.org> User-Agent: Alpine 2.22 (LSU 394 2020-01-19) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 42655 Cc: uyennhi.qm@gmail.com, 42655@debbugs.gnu.org, eggert@cs.ucla.edu, monnier@iro.umontreal.ca, Tino Calancha X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > Thanks, but I'm afraid this is not necessarily TRT. You simply revert > part of Stefan's change for some configurations, but I don't > understand why not setting windows_or_buffers_changed affects Lucid, > but not GTK. Did you succeed in understanding the reason? I don't know the reason. For some reason, Stefan optimisation affects Lucid; probably he did not test his patch for that configuration. If someone wants to dig deeper, it is very welcome; if nobody can, please, consider applying this simple patch. I have been suffering this bug for months; until I realized I was able to workaround getting a new frame, I was just closing the Emacs session with dozens of visited buffers :-| > And btw, why do you also add this for non-toolkit builds: did you see > the same problem in that configuration? I have reproduced the bug with both flags --with-x-toolkit=no and --with-x-toolkit=lucid I am just trying to cover in the patch all scenario where I have reproduced the bug; I can not test other configurations. How about in Windows? Have you seen this bug? From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 03 17:29:47 2020 Received: (at 42655) by debbugs.gnu.org; 3 Aug 2020 21:29:47 +0000 Received: from localhost ([127.0.0.1]:46224 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2i1i-0007AT-RI for submit@debbugs.gnu.org; Mon, 03 Aug 2020 17:29:47 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:49191) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2i1h-0007AH-0s for 42655@debbugs.gnu.org; Mon, 03 Aug 2020 17:29:45 -0400 Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id B3C77440C4B; Mon, 3 Aug 2020 17:29:39 -0400 (EDT) Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 5F7B3440C46; Mon, 3 Aug 2020 17:29:38 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1596490178; bh=HAa+CUgEtMp2gkctROYjLS80L1WlEdummNIezxosfjM=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=UW0+zSe5FZ/SxEJtqvGCjiu+s9j9uy94AqS3r0Ur4G0sDkcYX36KG6H5/LzxTS+Xa iK/cannT/e7ka+L2yIjbzlpljxWsl1ESbaYxgqMk8FdVLHanfvzeeqSwcMry6vfvrw 93veKWS40x/R/1j9uZXKm+EblfMFMD/KdIVFR/fqyGmV+E4DZOCD9fpTWo80le90gA LR3NtLU6D6f6Kr5VDGBAso8JdP1oam4lyWIr9rfCFXnEIDERFQgT7jaQ7CXF/Iaryv Gbe9zIH7LmxgMp2TjrrEr7VAZ8xI2VyMzfbtCjVmT7UixMwExjMuH3E2kIoEjsthrC If8wjKvF8m3XA== Received: from milanesa (unknown [45.72.246.108]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 193DE12060B; Mon, 3 Aug 2020 17:29:38 -0400 (EDT) From: Stefan Monnier To: Tino Calancha Subject: Re: bug#42655: 27.1; iconify-frame on a Lucid build may stuck the frame Message-ID: References: <87lfiycihg.fsf@calancha-pc.dy.bbexcite.jp> <87mu3dfb6z.fsf@gmail.com> <831rkpce1j.fsf@gnu.org> Date: Mon, 03 Aug 2020 17:29:37 -0400 In-Reply-To: (Tino Calancha's message of "Mon, 3 Aug 2020 21:46:49 +0200 (CEST)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL 0.014 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 42655 Cc: 42655@debbugs.gnu.org, Eli Zaretskii , eggert@cs.ucla.edu, uyennhi.qm@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) FWIW, it would be worthwhile to investigate the origin/cause of the problem, but as a stopgap his patch looks fine to me (I'd add a FIXME in the comment, indicating that this is just a workaround rather than a real fix). Stefan From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 03 22:21:44 2020 Received: (at 42655) by debbugs.gnu.org; 4 Aug 2020 02:21:45 +0000 Received: from localhost ([127.0.0.1]:46408 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2maG-0005oq-Ln for submit@debbugs.gnu.org; Mon, 03 Aug 2020 22:21:44 -0400 Received: from eggs.gnu.org ([209.51.188.92]:39918) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2maC-0005ob-Qr for 42655@debbugs.gnu.org; Mon, 03 Aug 2020 22:21:43 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:53977) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k2ma7-0002Ff-2K; Mon, 03 Aug 2020 22:21:35 -0400 Received: from [176.228.60.248] (port=2958 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1k2ma6-0002LQ-HX; Mon, 03 Aug 2020 22:21:34 -0400 Date: Tue, 04 Aug 2020 05:21:21 +0300 Message-Id: <83v9hz9mn2.fsf@gnu.org> From: Eli Zaretskii To: Tino Calancha In-Reply-To: (message from Tino Calancha on Mon, 3 Aug 2020 21:46:49 +0200 (CEST)) Subject: Re: bug#42655: 27.1; iconify-frame on a Lucid build may stuck the frame References: <87lfiycihg.fsf@calancha-pc.dy.bbexcite.jp> <87mu3dfb6z.fsf@gmail.com> <831rkpce1j.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 42655 Cc: 42655@debbugs.gnu.org, eggert@cs.ucla.edu, monnier@iro.umontreal.ca, uyennhi.qm@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Tino Calancha > Date: Mon, 3 Aug 2020 21:46:49 +0200 (CEST) > cc: Tino Calancha , 42655@debbugs.gnu.org, > eggert@cs.ucla.edu, monnier@iro.umontreal.ca, uyennhi.qm@gmail.com > > How about in Windows? Have you seen this bug? No, nothing like that. From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 04 00:00:18 2020 Received: (at submit) by debbugs.gnu.org; 4 Aug 2020 04:00:18 +0000 Received: from localhost ([127.0.0.1]:46467 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2o7d-000882-L7 for submit@debbugs.gnu.org; Tue, 04 Aug 2020 00:00:18 -0400 Received: from lists.gnu.org ([209.51.188.17]:52194) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2o7Z-00087s-3D for submit@debbugs.gnu.org; Tue, 04 Aug 2020 00:00:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52116) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k2o7Y-0004N8-GZ for bug-gnu-emacs@gnu.org; Tue, 04 Aug 2020 00:00:12 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:55585) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k2o7V-000179-SP; Tue, 04 Aug 2020 00:00:10 -0400 Received: from [2a02:14f:1ff:4610::18d5:5baf] (port=59322) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1k2o7O-00007w-3Y; Tue, 04 Aug 2020 00:00:05 -0400 Date: Tue, 04 Aug 2020 06:59:59 +0300 User-Agent: K-9 Mail for Android In-Reply-To: <83v9hz9mn2.fsf@gnu.org> References: <87lfiycihg.fsf@calancha-pc.dy.bbexcite.jp> <87mu3dfb6z.fsf@gmail.com> <831rkpce1j.fsf@gnu.org> <83v9hz9mn2.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----MXV8Z3MYA4GMKQRAM9R220S3WPGFGV" Content-Transfer-Encoding: 7bit Subject: Re: bug#42655: 27.1; iconify-frame on a Lucid build may stuck the frame To: bug-gnu-emacs@gnu.org,Tino Calancha From: Eli Zaretskii Message-ID: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit Cc: 42655@debbugs.gnu.org, eggert@cs.ucla.edu, monnier@iro.umontreal.ca, uyennhi.qm@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) ------MXV8Z3MYA4GMKQRAM9R220S3WPGFGV Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable In any case, I asked for a C-level backtrace when I responded to your origi= nal report=2E Can you please attach a debugger to Emacs after selecting th= e previously iconified frame, and show such a backtrace? Please do that wi= th an unpatched Emacs and in "emacs -Q"=2E Thanks=2E On August 4, 2020 5:21:21 AM GMT+03:00, Eli Zaretskii wro= te: >> From: Tino Calancha >> Date: Mon, 3 Aug 2020 21:46:49 +0200 (CEST) >> cc: Tino Calancha , 42655@debbugs=2Egnu=2E= org,=20 >> eggert@cs=2Eucla=2Eedu, monnier@iro=2Eumontreal=2Eca, >uyennhi=2Eqm@gmail=2Ecom >>=20 >> How about in Windows? Have you seen this bug? > >No, nothing like that=2E --=20 =D7=A0=D7=A9=D7=9C=D7=97 =D7=9E=D7=9E=D7=9B=D7=A9=D7=99=D7=A8 =D7=94=D7=90= =D7=A0=D7=93=D7=A8=D7=95=D7=90=D7=99=D7=93 =D7=A9=D7=9C=D7=99 =D7=91=D7=A2= =D7=96=D7=A8=D7=AA =D7=90=D7=A4=D7=9C=D7=99=D7=A7=D7=A6=D7=99=D7=99=D7=AA = =D7=94=D7=93=D7=95=D7=90=D7=A8 K-9=2E =D7=A1=D7=9C=D7=97 =D7=9C=D7=99 =D7= =A2=D7=9C =D7=94=D7=A7=D7=A6=D7=A8=D7=A0=D7=95=D7=AA=2E ------MXV8Z3MYA4GMKQRAM9R220S3WPGFGV Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable In any case, I asked for a C-level backtrace when = I responded to your original report=2E Can you please attach a debugger to= Emacs after selecting the previously iconified frame, and show such a back= trace? Please do that with an unpatched Emacs and in "emacs -Q"=2E

= Thanks=2E


On August 4, 2020 5:21:21 A= M GMT+03:00, Eli Zaretskii <eliz@gnu=2Eorg> wrote:
Fro= m: Tino Calancha <tino=2Ecalancha@gmail=2Ecom>
Date: Mon, 3 Aug 20= 20 21:46:49 +0200 (CEST)
cc: Tino Calancha <tino=2Ecalancha@gmail=2Ec= om>, 42655@debbugs=2Egnu=2Eorg,
eggert@cs=2Eucla=2Eedu, monnier@= iro=2Eumontreal=2Eca, uyennhi=2Eqm@gmail=2Ecom

How about in Windows?= Have you seen this bug?

No, nothing like that=2E




--
=D7=A0=D7=A9=D7=9C=D7=97 = =D7=9E=D7=9E=D7=9B=D7=A9=D7=99=D7=A8 =D7=94=D7=90=D7=A0=D7=93=D7=A8=D7=95= =D7=90=D7=99=D7=93 =D7=A9=D7=9C=D7=99 =D7=91=D7=A2=D7=96=D7=A8=D7=AA =D7=90= =D7=A4=D7=9C=D7=99=D7=A7=D7=A6=D7=99=D7=99=D7=AA =D7=94=D7=93=D7=95=D7=90= =D7=A8 K-9=2E =D7=A1=D7=9C=D7=97 =D7=9C=D7=99 =D7=A2=D7=9C =D7=94=D7=A7=D7= =A6=D7=A8=D7=A0=D7=95=D7=AA=2E ------MXV8Z3MYA4GMKQRAM9R220S3WPGFGV-- From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 04 10:20:48 2020 Received: (at 42655) by debbugs.gnu.org; 4 Aug 2020 14:20:48 +0000 Received: from localhost ([127.0.0.1]:48732 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2xo8-00046F-8D for submit@debbugs.gnu.org; Tue, 04 Aug 2020 10:20:48 -0400 Received: from eggs.gnu.org ([209.51.188.92]:35238) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2xo4-000461-PU for 42655@debbugs.gnu.org; Tue, 04 Aug 2020 10:20:46 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:36563) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k2xny-0005WF-NV; Tue, 04 Aug 2020 10:20:38 -0400 Received: from [176.228.60.248] (port=3025 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1k2xny-0002NO-2P; Tue, 04 Aug 2020 10:20:38 -0400 Date: Tue, 04 Aug 2020 17:20:26 +0300 Message-Id: <83tuxia3x1.fsf@gnu.org> From: Eli Zaretskii To: tino.calancha@gmail.com In-Reply-To: (message from Eli Zaretskii on Tue, 04 Aug 2020 06:59:59 +0300) Subject: Re: bug#42655: 27.1; iconify-frame on a Lucid build may stuck the frame References: <87lfiycihg.fsf@calancha-pc.dy.bbexcite.jp> <87mu3dfb6z.fsf@gmail.com> <831rkpce1j.fsf@gnu.org> <83v9hz9mn2.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 42655 Cc: 42655@debbugs.gnu.org, eggert@cs.ucla.edu, monnier@iro.umontreal.ca, uyennhi.qm@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Tue, 04 Aug 2020 06:59:59 +0300 > From: Eli Zaretskii > Cc: eggert@cs.ucla.edu, monnier@iro.umontreal.ca, uyennhi.qm@gmail.com > > In any case, I asked for a C-level backtrace when I responded to your original report. Can you please attach > a debugger to Emacs after selecting the previously iconified frame, and show such a backtrace? Please do > that with an unpatched Emacs and in "emacs -Q". Also, I don't understand what you mean in your original report by "unresponsive frame" and "cannot insert characters". Do you mean that Emacs is "stuck" and doesn't respond, or do you mean that the results of whatever you do are not displayed? And what _do_ you see displayed when you "select the window displaying the Emacs GUI" after C-z? If the problem is with display, then does it help to type (blindly) "M-x redraw-display RET"? From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 04 11:15:20 2020 Received: (at 42655) by debbugs.gnu.org; 4 Aug 2020 15:15:20 +0000 Received: from localhost ([127.0.0.1]:48846 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2yeu-0007fN-5J for submit@debbugs.gnu.org; Tue, 04 Aug 2020 11:15:20 -0400 Received: from mail-ej1-f47.google.com ([209.85.218.47]:46483) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2yer-0007f6-UL for 42655@debbugs.gnu.org; Tue, 04 Aug 2020 11:15:18 -0400 Received: by mail-ej1-f47.google.com with SMTP id l4so42779695ejd.13 for <42655@debbugs.gnu.org>; Tue, 04 Aug 2020 08:15:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=CBFWc0b7Y7XQ+zHVUj/Oz7vO49tF0urjS1enIvFH1Xg=; b=i5A7GsIsGkS1Hk5R6tuFxEMDSR8T3VSqGx6JdqGSzALTeyq3kT3fa4yrePynfkdqAj rWpvWL6Q9/ipUPerWSRvIIH7ogKzVxsrrLqsNmqyTNJWBKeBIAA6GxRY6zUHQHSZRbJ7 7JOR0Umwcjngm8u7WG6M7WWI7SFfoCDaKpi+cC6KtO80gRp5fU4HsecxjNdMDJ9qTVCv nhv5TNmoMVP2RCPC3nVlVhjcN9Of15YOLSl/UFPrGva8Zlv6YkiUyo5yGinhc05uTGC3 ZZ/HWOtN5EGy3zW4chZ1VsV40FkNSh72ZS1/P2SJqvObs/n0X0QtSannmIwJ4vaCxLYW LZTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=CBFWc0b7Y7XQ+zHVUj/Oz7vO49tF0urjS1enIvFH1Xg=; b=IAnlKVeke7Z/FjPatfibzYKD6USbZQJWAnQfip1ldhaaFdNKtlUDai5T1cbaWT5hRR gMGevgvAkvdgaMmYCh5vHhRdbUDbAGWFhH73+6AjZBebFmJJrx54bE7l+pE3rHZdchGE J1rk3bX0Q6JHP23w1aO6jN08lvHWnPbWhh9t/qAWHtegq0TZ2VRYyDgXBFSZtwZfyTjd 6NSXQ/WVu+CGilv0ef5Lpj0NpwYHw7anNHKuAcx+rd1i9vg09ebqjaWNCsLnesMpsNmv FlJNaqKGedXQRmkumMUNxXO+W2DdKu5mP9uTSwy5uoIU8iasITo+0cIsNJPLCvu34tmf YNew== X-Gm-Message-State: AOAM533ww49au35ldWn08DQzP1jOyzMlZP1dTBhIO9IMjp7TlET3g94Y c7E6hUsPJHBNUSor4h/+h2Log8B18pFKTsxfd3E= X-Google-Smtp-Source: ABdhPJyLf1yE/ksiFrG5gBfv1JfWJRVk/AG73aOgPKGZDhh7F7NfczcdvrzXXMv2lebTK8+O69J/R8FRcBBE2OLDgFE= X-Received: by 2002:a17:906:454f:: with SMTP id s15mr11580363ejq.130.1596554112177; Tue, 04 Aug 2020 08:15:12 -0700 (PDT) MIME-Version: 1.0 References: <87lfiycihg.fsf@calancha-pc.dy.bbexcite.jp> <87mu3dfb6z.fsf@gmail.com> <831rkpce1j.fsf@gnu.org> <83v9hz9mn2.fsf@gnu.org> <83tuxia3x1.fsf@gnu.org> In-Reply-To: <83tuxia3x1.fsf@gnu.org> From: Bhavin Gandhi Date: Tue, 4 Aug 2020 20:44:35 +0530 Message-ID: Subject: Re: bug#42655: 27.1; iconify-frame on a Lucid build may stuck the frame To: Eli Zaretskii Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 42655 Cc: uyennhi.qm@gmail.com, 42655@debbugs.gnu.org, eggert@cs.ucla.edu, monnier@iro.umontreal.ca, tino.calancha@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) I was able to reproduce this with Lucid. I will try to read about attaching debugger and post the results here. On Tue, 4 Aug 2020 at 19:59, Eli Zaretskii wrote: > Also, I don't understand what you mean in your original report by > "unresponsive frame" and "cannot insert characters". Do you mean that > Emacs is "stuck" and doesn't respond, or do you mean that the results > of whatever you do are not displayed? The latter. The frame gets frozen, whatever we do is not displayed. The menu bar is functional though. > And what _do_ you see displayed when you "select the window displaying > the Emacs GUI" after C-z? It's just shown as frozen in a state before we press C-z. I ran M-x zone and then pressed C-z, the frame was frozen with 'Zoning...sorry' in the minibuffer. > If the problem is with display, then does it help to type (blindly) > "M-x redraw-display RET"? No it doesn't. The only thing worked was to create a new frame. From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 04 12:41:21 2020 Received: (at 42655) by debbugs.gnu.org; 4 Aug 2020 16:41:21 +0000 Received: from localhost ([127.0.0.1]:49008 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3009-0003cG-Fm for submit@debbugs.gnu.org; Tue, 04 Aug 2020 12:41:21 -0400 Received: from eggs.gnu.org ([209.51.188.92]:43418) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3006-0003bz-Do for 42655@debbugs.gnu.org; Tue, 04 Aug 2020 12:41:19 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:39590) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k2zzz-0002XF-Is; Tue, 04 Aug 2020 12:41:11 -0400 Received: from [176.228.60.248] (port=4185 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1k2zzz-0008B6-2D; Tue, 04 Aug 2020 12:41:11 -0400 Date: Tue, 04 Aug 2020 19:40:59 +0300 Message-Id: <83lfiu9xes.fsf@gnu.org> From: Eli Zaretskii To: Bhavin Gandhi In-Reply-To: (message from Bhavin Gandhi on Tue, 4 Aug 2020 20:44:35 +0530) Subject: Re: bug#42655: 27.1; iconify-frame on a Lucid build may stuck the frame References: <87lfiycihg.fsf@calancha-pc.dy.bbexcite.jp> <87mu3dfb6z.fsf@gmail.com> <831rkpce1j.fsf@gnu.org> <83v9hz9mn2.fsf@gnu.org> <83tuxia3x1.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 42655 Cc: uyennhi.qm@gmail.com, 42655@debbugs.gnu.org, eggert@cs.ucla.edu, monnier@iro.umontreal.ca, tino.calancha@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Bhavin Gandhi > Date: Tue, 4 Aug 2020 20:44:35 +0530 > Cc: tino.calancha@gmail.com, 42655@debbugs.gnu.org, eggert@cs.ucla.edu, > monnier@iro.umontreal.ca, uyennhi.qm@gmail.com > > > If the problem is with display, then does it help to type (blindly) > > "M-x redraw-display RET"? > > No it doesn't. Fascinating. > The only thing worked was to create a new frame. And when you do create a new frame, do you see the redraw-display command in the command history? Also, what does "C-h l" show in that other frame? From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 04 14:53:58 2020 Received: (at 42655) by debbugs.gnu.org; 4 Aug 2020 18:53:58 +0000 Received: from localhost ([127.0.0.1]:49147 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k324T-0000XX-MW for submit@debbugs.gnu.org; Tue, 04 Aug 2020 14:53:57 -0400 Received: from mail-ej1-f67.google.com ([209.85.218.67]:38882) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k324O-0000XG-5e for 42655@debbugs.gnu.org; Tue, 04 Aug 2020 14:53:56 -0400 Received: by mail-ej1-f67.google.com with SMTP id d6so29772048ejr.5 for <42655@debbugs.gnu.org>; Tue, 04 Aug 2020 11:53:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=kCGA7/tsqoe4kBw4y36jij4+Fs7WYiAMCbJ9evttoYs=; b=BdwU5QhWTJuj/Jdr1JUcfwTYrav13Bbq+I8hhi+KTQT93E/vOfs+zMKZUiUMTLx4Cy vRhPSCOnk7NnXpHyjVIWU5Qg8GqSXOc0btKHvRLo+gWKyHBPq++42UdgazRciavDgdHE 36ACVxEIk7fVDC5Gz7VOOnhhKrSA4UyXz3v0tzBLx0oqCxVnu6ugxVvAtjLZlYN8R+At ycCdQAMIJs4aUhKqh9lIfmd99XpjDBsJ1xb2S1Ret5y2kH54yp7WGI+RzI3aU1zAKzBP mvdhkkYs0GrZXo6sWj/H4Dc7s3kvmrLcJEyEquZR7t8VlfHi16GEj0Pr01KJ5bBrTe4c dcHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=kCGA7/tsqoe4kBw4y36jij4+Fs7WYiAMCbJ9evttoYs=; b=eL2ERnt+cSkCWMNn7Qgesa5HqsHlF1zTXhf+XNzxvB9nmNd+B+aMRvr6asXekX0WUZ jBN1x46hssm2XNMfzEKIsdLMpChQH2TRT2ZmOuQO+Q4xVcm2txMsfZTtdi3OVW5aklc3 DAtu8ui1ZqGpdCKd/C/nhkFKTBLsLWCFT2yO3WG79rFJl19nBoNu6zHCrEaWOw4d7hm7 t+YYo32yvz/sGN9MiySmUapuBWSugHgeA2HYWnNdq9cfzFp/neajG8S7dsqhJ5f7s+HQ Xgwl/nN8y0Kp3jv5E13yxAR9M27e7eWxA4M8UlVUWs6qRTUqqo+XKUvyZCp8tjVdTmdd ih9w== X-Gm-Message-State: AOAM530T8S2WUM+1yYkku0xcrplZmUvOl9feZcwnyxUoe+LJYUg7UVdl ErF4dpKkx3jUuxyiVk7Z0ZmiWGPNDzoYx8YYlrY= X-Google-Smtp-Source: ABdhPJyDQjYjSZ7XfzVDx8bkEIGxBOuOzGyeku6yxc8gM47zkp20Fbt4/3W0YCaCCxzL+3LjRqu4dj+DUhmxGb9k0NQ= X-Received: by 2002:a17:906:c310:: with SMTP id s16mr22956049ejz.466.1596567226022; Tue, 04 Aug 2020 11:53:46 -0700 (PDT) MIME-Version: 1.0 References: <87lfiycihg.fsf@calancha-pc.dy.bbexcite.jp> <87mu3dfb6z.fsf@gmail.com> <831rkpce1j.fsf@gnu.org> <83v9hz9mn2.fsf@gnu.org> <83tuxia3x1.fsf@gnu.org> <83lfiu9xes.fsf@gnu.org> In-Reply-To: <83lfiu9xes.fsf@gnu.org> From: Bhavin Gandhi Date: Wed, 5 Aug 2020 00:23:09 +0530 Message-ID: Subject: Re: bug#42655: 27.1; iconify-frame on a Lucid build may stuck the frame To: Eli Zaretskii Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 42655 Cc: uyennhi.qm@gmail.com, 42655@debbugs.gnu.org, eggert@cs.ucla.edu, monnier@iro.umontreal.ca, tino.calancha@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On Tue, 4 Aug 2020 at 22:11, Eli Zaretskii wrote: > > And when you do create a new frame, do you see the redraw-display > command in the command history? Also, what does "C-h l" show in that > other frame? Yes, I can see the redraw-display command in command-history. This is what "C-h l" shows. --8<---------------cut here---------------start------------->8--- C-z ;; suspend-frame M-x ;; execute-extended-command r ;; self-insert-command e ;; self-insert-command d ;; self-insert-command r ;; self-insert-command ;; minibuffer-complete-and-exit C-x 5 2 ;; make-frame-command ;; handle-switch-frame C-h l ;; view-lossage --8<---------------cut here---------------end--------------->8--- > If you now attach a debugger to Emacs, what does the backtrace show? Is running "gdb -i=mi -p PID" enough to generate this backtrace? From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 04 15:08:02 2020 Received: (at 42655) by debbugs.gnu.org; 4 Aug 2020 19:08:02 +0000 Received: from localhost ([127.0.0.1]:49166 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k32I5-0000sp-OP for submit@debbugs.gnu.org; Tue, 04 Aug 2020 15:08:01 -0400 Received: from eggs.gnu.org ([209.51.188.92]:54754) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k32I4-0000sM-1t for 42655@debbugs.gnu.org; Tue, 04 Aug 2020 15:08:01 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:42110) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k32Hx-0004SW-8t; Tue, 04 Aug 2020 15:07:53 -0400 Received: from [176.228.60.248] (port=1207 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1k32Hw-0000DC-22; Tue, 04 Aug 2020 15:07:53 -0400 Date: Tue, 04 Aug 2020 22:07:40 +0300 Message-Id: <83h7ti9qmb.fsf@gnu.org> From: Eli Zaretskii To: Bhavin Gandhi In-Reply-To: (message from Bhavin Gandhi on Wed, 5 Aug 2020 00:23:09 +0530) Subject: Re: bug#42655: 27.1; iconify-frame on a Lucid build may stuck the frame References: <87lfiycihg.fsf@calancha-pc.dy.bbexcite.jp> <87mu3dfb6z.fsf@gmail.com> <831rkpce1j.fsf@gnu.org> <83v9hz9mn2.fsf@gnu.org> <83tuxia3x1.fsf@gnu.org> <83lfiu9xes.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 42655 Cc: uyennhi.qm@gmail.com, 42655@debbugs.gnu.org, eggert@cs.ucla.edu, monnier@iro.umontreal.ca, tino.calancha@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Bhavin Gandhi > Date: Wed, 5 Aug 2020 00:23:09 +0530 > Cc: tino.calancha@gmail.com, 42655@debbugs.gnu.org, eggert@cs.ucla.edu, > monnier@iro.umontreal.ca, uyennhi.qm@gmail.com > > On Tue, 4 Aug 2020 at 22:11, Eli Zaretskii wrote: > > > > And when you do create a new frame, do you see the redraw-display > > command in the command history? Also, what does "C-h l" show in that > > other frame? > > Yes, I can see the redraw-display command in command-history. This is > what "C-h l" shows. > > --8<---------------cut here---------------start------------->8--- > C-z ;; suspend-frame > M-x ;; execute-extended-command > r ;; self-insert-command > e ;; self-insert-command > d ;; self-insert-command > r ;; self-insert-command > ;; minibuffer-complete-and-exit > C-x 5 2 ;; make-frame-command > ;; handle-switch-frame > C-h l ;; view-lossage > --8<---------------cut here---------------end--------------->8--- So Emacs is nor stuck, it just doesn't redraw that frame for some reason. > > If you now attach a debugger to Emacs, what does the backtrace show? > > Is running "gdb -i=mi -p PID" enough to generate this backtrace? Yes. Then type "thread apply all bt" once inside GDB. But you only need the -i=mi part if you invoke GDB from Emacs, via "M-x gdb RET". If you invoke GDB from the shell prompt, it is better to omit -i=mi. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 05 13:23:59 2020 Received: (at 42655) by debbugs.gnu.org; 5 Aug 2020 17:24:00 +0000 Received: from localhost ([127.0.0.1]:52154 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3N8x-0001ku-OS for submit@debbugs.gnu.org; Wed, 05 Aug 2020 13:23:59 -0400 Received: from mail-ej1-f68.google.com ([209.85.218.68]:42288) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3N8w-0001kg-40 for 42655@debbugs.gnu.org; Wed, 05 Aug 2020 13:23:59 -0400 Received: by mail-ej1-f68.google.com with SMTP id g19so33434364ejc.9 for <42655@debbugs.gnu.org>; Wed, 05 Aug 2020 10:23:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=TBfu0dmCT1jxKNvbHlDkXdGyN0QH7bNDEk54LUS+RJc=; b=Pfxf6wgZuXLTYOeP8y8T3f6QvWx/Xc5aT+sNl/TscRQ/YAM+eDf0rrwVrprZE9LlbN 04JScwlIg7jJiQR+6FRlyYutiswUpSKxmxq4YX+sToM2N1QScqvZsQIlfDABz0fF5y67 kgVOLHKRJZAumDN9bVOCxZWGRNsRFkOLIUAlrrWJcrp3g6KGxyNUWKszYJePqhpiQNZa nqihrWHcGBlusQq6qtpoNgOEMaKLKWHpwsC52lpFqPIM2ZQCy+t4kjhFPVKJo8i6smKS IjfHeJnS7WsgOY8ZNAzQ2oJTRZq9+GdTD3B2xf44+rGYKExDV3BLyEs2YklOayzG1ryJ lu5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=TBfu0dmCT1jxKNvbHlDkXdGyN0QH7bNDEk54LUS+RJc=; b=tFYmF21DPoDrFFK1zKMc3gnRhndtnMtno5Hficpb93+ARyWu26T1Q6AdnO6Y/bRD7H dnuGGJb/ZKC2r9e24IsLvf8WPKJXE/3jOL7mqvFYXY0sqiQ2Y+T/c3TB9TrDVjZRwb+Z Q2HlFVX5daPJ6QHS/ADgb1h8RYWB4rEkeKpRzW3dYRA0eOGWymKLHHD8xcafdXw8A3s2 uoIPk23uc1tTLfKlZqGE4auuzT0XtLt45RxCZaKgwm2UKfX3RRaz8Eqx4WLVtqoUzBv3 e2rIkfwv2Q8F7Jsl/KbffFqptMIlfGfWkZfQ3Kd3kinN2nTWX+DDiJZkVv+q6Qh224v1 Ok/g== X-Gm-Message-State: AOAM530evAJgNsuLUeE2nto87IBJI27wZR+hrks4D6fqp6YhHwaHyWHy OjXWLKM7jdYNCTagPm8BD8JuOYUn2y0EoKc/5Eg= X-Google-Smtp-Source: ABdhPJzecrtARkXttIuGKMyZlx25d3n31rdmQsVOMyndXuq9xb4m52TI3SeHJug60D/MA8qYl1DzU9+Pay3P0G//Xfo= X-Received: by 2002:a17:906:4157:: with SMTP id l23mr258482ejk.491.1596648232053; Wed, 05 Aug 2020 10:23:52 -0700 (PDT) MIME-Version: 1.0 References: <87lfiycihg.fsf@calancha-pc.dy.bbexcite.jp> <87mu3dfb6z.fsf@gmail.com> <831rkpce1j.fsf@gnu.org> <83v9hz9mn2.fsf@gnu.org> <83tuxia3x1.fsf@gnu.org> <83lfiu9xes.fsf@gnu.org> <83h7ti9qmb.fsf@gnu.org> In-Reply-To: <83h7ti9qmb.fsf@gnu.org> From: Bhavin Gandhi Date: Wed, 5 Aug 2020 22:53:15 +0530 Message-ID: Subject: Re: bug#42655: 27.1; iconify-frame on a Lucid build may stuck the frame To: Eli Zaretskii Content-Type: multipart/mixed; boundary="000000000000b4ddac05ac24a20e" X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 42655 Cc: uyennhi.qm@gmail.com, 42655@debbugs.gnu.org, eggert@cs.ucla.edu, monnier@iro.umontreal.ca, tino.calancha@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --000000000000b4ddac05ac24a20e Content-Type: text/plain; charset="UTF-8" On Wed, 5 Aug 2020 at 00:37, Eli Zaretskii wrote: > > > > If you now attach a debugger to Emacs, what does the backtrace show? > > > > Is running "gdb -i=mi -p PID" enough to generate this backtrace? > > Yes. Then type "thread apply all bt" once inside GDB. But you only > need the -i=mi part if you invoke GDB from Emacs, via "M-x gdb RET". > If you invoke GDB from the shell prompt, it is better to omit -i=mi. Thanks for the suggestion, here is the backtrace at the point when Emacs is stuck. Adding it as an attachment. --000000000000b4ddac05ac24a20e Content-Type: application/octet-stream; name=bug-42655-backtrace Content-Disposition: attachment; filename=bug-42655-backtrace Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_kdhn19hb0 JCBnZGIgLXAgODg3MzQ5CkdOVSBnZGIgKEdEQikgRmVkb3JhIDkuMS01LmZjMzIKQ29weXJpZ2h0 IChDKSAyMDIwIEZyZWUgU29mdHdhcmUgRm91bmRhdGlvbiwgSW5jLgpMaWNlbnNlIEdQTHYzKzog R05VIEdQTCB2ZXJzaW9uIDMgb3IgbGF0ZXIgPGh0dHA6Ly9nbnUub3JnL2xpY2Vuc2VzL2dwbC5o dG1sPgpUaGlzIGlzIGZyZWUgc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cwCiMxNiAweDAw MDAwMDAwMDA2MzhlYTQgaW4gcmVjdXJzaXZlX2VkaXRfMSAoKSBhdCAuLi8uLi9zcmMva2V5Ym9h cmQuYzo3MTQKIzE3IDB4MDAwMDAwMDAwMDYzOTA4NSBpbiBGcmVjdXJzaXZlX2VkaXQgKCkgYXQg Li4vLi4vc3JjL2tleWJvYXJkLmM6Nzg2CiMxOCAweDAwMDAwMDAwMDA2MmY4M2UgaW4gbWFpbiAo YXJnYz0yLCBhcmd2PTB4N2ZmYzE4ZDZjZDI4KSBhdCAuLi8uLi9zcmMvZW1hY3MuYzoyMDYy --000000000000b4ddac05ac24a20e-- From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 05 14:24:20 2020 Received: (at 42655) by debbugs.gnu.org; 5 Aug 2020 18:24:20 +0000 Received: from localhost ([127.0.0.1]:52217 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3O5M-0005dr-9G for submit@debbugs.gnu.org; Wed, 05 Aug 2020 14:24:20 -0400 Received: from mail-ej1-f48.google.com ([209.85.218.48]:35109) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3O5K-0005db-2q for 42655@debbugs.gnu.org; Wed, 05 Aug 2020 14:24:19 -0400 Received: by mail-ej1-f48.google.com with SMTP id a26so21659862ejc.2 for <42655@debbugs.gnu.org>; Wed, 05 Aug 2020 11:24:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=+rYEvrGKOSDuWIo6ikGJGc5Mrc7rwpkNEc+Lm40XWHg=; b=l1osC7+dV4/w7B38xfC8RtT/uMwvC2ehFZ73YQIfCQ9s2MYhXUK7wX468z8YKTe2Aj mCGHbL3EbZ0R6QDGBKLRSj1enLmnFZhiPH/rc5BK9U75nZB1fMx0S+FTib+UKGWyhIEP zACFKHV9nlCgEipj4gOzpMIY1I8WcJeYDYJFZi4p9TNrZIHNeheeMome0090jt8yd2/i Lii3CQWgLy9TVdOb+R5AdiefCtD7r6dn7ETX6ecls9ONswXiLfESdwgs8N9BxhBJlK0S lledd3d4ImFrjLPzCke7DHrqV2vuykujlEv08vmSXazWnavpZRyryE5lwGr+NjbBhPjA +oDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=+rYEvrGKOSDuWIo6ikGJGc5Mrc7rwpkNEc+Lm40XWHg=; b=eAiWLeOlbr7WHQiNpUZ1P3ikVdekVhifUj0XAJ+ak7uG30a2dhZuTh434p5WZGFCTQ Ke8zUH3RiskzAUGZNlsZddC8nxtflEW5fs5squcjUVcECztEMFWQPbQUGGAnFyJGjoxI DborpTN2+HORhP3aUUm7Dh+Zxfuar8SKCLDG7iog+csehZrFf3oiZInpSQft7aNLN+9V HBkYqU+J954l4Atjq4UAVgUCDpzp2zFLyBNwVJnWDx00dIYOX9zyvoN9/GGbDNs3UIAf UYX98ijah/611C07pNr/1ETQOqZ+zUzl3o2ykFkwh3ozA/pLrXskcX2Xzgsd/Zs+djoj j4Jg== X-Gm-Message-State: AOAM531luwfAE8hMAwGFWuXiJK3seaWrN8OI1GGpZhuYJFEtVroey7f1 v+egTujhwFq3QoG7O+dm42g= X-Google-Smtp-Source: ABdhPJwoArM5kOtGLkFkPa438Y21i/CVNMWl0ofdGbAHJWI4Ftz8zf4n1LFMnAOk/ktMW8SWC8yViQ== X-Received: by 2002:a17:906:c1c3:: with SMTP id bw3mr625775ejb.8.1596651852014; Wed, 05 Aug 2020 11:24:12 -0700 (PDT) Received: from calancha-pc.dy.bbexcite.jp ([31.7.242.222]) by smtp.gmail.com with ESMTPSA id g6sm1979024ejz.19.2020.08.05.11.24.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Aug 2020 11:24:11 -0700 (PDT) From: Tino Calancha X-Google-Original-From: Tino Calancha Date: Wed, 5 Aug 2020 20:24:09 +0200 (CEST) X-X-Sender: calancha@calancha-pc.dy.bbexcite.jp To: Bhavin Gandhi Subject: Re: bug#42655: 27.1; iconify-frame on a Lucid build may stuck the frame In-Reply-To: Message-ID: References: <87lfiycihg.fsf@calancha-pc.dy.bbexcite.jp> <87mu3dfb6z.fsf@gmail.com> <831rkpce1j.fsf@gnu.org> <83v9hz9mn2.fsf@gnu.org> <83tuxia3x1.fsf@gnu.org> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 42655 Cc: eggert@cs.ucla.edu, tino.calancha@gmail.com, monnier@iro.umontreal.ca, 42655@debbugs.gnu.org, Eli Zaretskii , uyennhi.qm@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Tue, 4 Aug 2020, Bhavin Gandhi wrote: >> If the problem is with display, then does it help to type (blindly) >> "M-x redraw-display RET"? > > No it doesn't. The only thing worked was to create a new frame. Bhavin, have you started the Emacs session with `Emacs -Q`? In my case, I got the super-nasty scenario (ie, only works to create a new frame) when I load my custom libraries. If I start with `Emacs -Q` it is less severe: te frame wakes up if I input: M-x From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 05 14:32:04 2020 Received: (at 42655) by debbugs.gnu.org; 5 Aug 2020 18:32:04 +0000 Received: from localhost ([127.0.0.1]:52231 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3OCq-0005sO-9Y for submit@debbugs.gnu.org; Wed, 05 Aug 2020 14:32:04 -0400 Received: from mail-ed1-f65.google.com ([209.85.208.65]:47007) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3OCn-0005rs-EU for 42655@debbugs.gnu.org; Wed, 05 Aug 2020 14:32:02 -0400 Received: by mail-ed1-f65.google.com with SMTP id q4so30038780edv.13 for <42655@debbugs.gnu.org>; Wed, 05 Aug 2020 11:32:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=BVSBx1gazH/0Ey5YCpzqR62IJseAuotuku1UTfmVzrM=; b=olcDeFLUXpOoZ+wYUEwThUlfihFLqMFD/fVC6TH+S39W96Wvt2fp5+EuQAuQLMyHeB COjgYdRp7OXrOXCqw8k4uTiaS/K8FXI5LYXAS+Jag1fac4XQqWPpOiftNdkRU7MqOkj0 oYDclGtKD2eZcYFIKox80qtEGWSbmy4qT6wTi+npH+M9BYpFnYNgZbBG/0fLp46xQ9Yg lYBlDWtMSeIu1YuuJaAil0OTDecIZPQdbGUw7XMduECPY6ehXb9BMwf2k798nIvxd6vF LnCrsssz5IVKInh7U0BTgCjysbKtgB3Gieey4ywP7hsGcaRg0U7vbhioCHDgBLrvcsaR 181g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=BVSBx1gazH/0Ey5YCpzqR62IJseAuotuku1UTfmVzrM=; b=NuyQDvyvi1LqKOkqYX5leFoDyH4hZb3gLOle798mf2hTPZp7o8QFYwpntAbYfk3g69 a/LQSOj7UmRnEJKpCFpNG/koU5Jl5jHkq819vk0O8QspbZggndFShzCVEiV7BHvV4RAx g4ExNufA1L8uRuXHHfHlnF2rtnyzoM2r+evD1oDWoXVW376HCwn+uR9TzJfBbEdEFt47 oh+49WjhYb+/DEFX+bzTjw6myTTEZEz0Y+naPIHO4s0WrBCdeX9WW4UAu8ofsSsPtVpW Jqm4POT8dQP13NMAe5tUQEDljQuSMeFC0Je0nnmjK3swm7tId/pIWeazb1IBgGqZzxiq aOOQ== X-Gm-Message-State: AOAM533bMfVg59FRkMu/8lYbSxTvvbF/2kao5bsBIoDSAkdBoio3XPHZ ozob0CIAFT3rZosimZpg+PldY9pa+t0Q6Un7fac= X-Google-Smtp-Source: ABdhPJwY8BOpspVjXWUXzcEN2tTB3DnZkwGP1pjL0dEqihlh/kOw6JJdtiAClDVw5rV79CpamZpbKAzTNPZIWPJ/0X4= X-Received: by 2002:a50:e803:: with SMTP id e3mr540978edn.75.1596652315433; Wed, 05 Aug 2020 11:31:55 -0700 (PDT) MIME-Version: 1.0 References: <87lfiycihg.fsf@calancha-pc.dy.bbexcite.jp> <87mu3dfb6z.fsf@gmail.com> <831rkpce1j.fsf@gnu.org> <83v9hz9mn2.fsf@gnu.org> <83tuxia3x1.fsf@gnu.org> In-Reply-To: From: Bhavin Gandhi Date: Thu, 6 Aug 2020 00:01:18 +0530 Message-ID: Subject: Re: bug#42655: 27.1; iconify-frame on a Lucid build may stuck the frame To: Tino Calancha Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 42655 Cc: 42655@debbugs.gnu.org, Eli Zaretskii , eggert@cs.ucla.edu, monnier@iro.umontreal.ca, uyennhi.qm@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) On Wed, 5 Aug 2020 at 23:54, Tino Calancha wrote: > >> If the problem is with display, then does it help to type (blindly) > >> "M-x redraw-display RET"? > > > > No it doesn't. The only thing worked was to create a new frame. > Bhavin, have you started the Emacs session with `Emacs -Q`? No, this was a normal start with `emacs`. > In my case, I got the super-nasty scenario (ie, only works to create a new > frame) when I load my custom libraries. > > If I start with `Emacs -Q` it is less severe: te frame wakes up > if I input: > M-x I had exactly the same behavior. > here is the backtrace at the point when Emacs is stuck. This backtrace was created with `emacs -Q` as Eli suggested initially. From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 05 14:35:08 2020 Received: (at 42655) by debbugs.gnu.org; 5 Aug 2020 18:35:08 +0000 Received: from localhost ([127.0.0.1]:52244 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3OFo-0005y4-KZ for submit@debbugs.gnu.org; Wed, 05 Aug 2020 14:35:08 -0400 Received: from mail-ed1-f50.google.com ([209.85.208.50]:40860) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3OFk-0005xN-MM for 42655@debbugs.gnu.org; Wed, 05 Aug 2020 14:35:06 -0400 Received: by mail-ed1-f50.google.com with SMTP id a14so16307754edx.7 for <42655@debbugs.gnu.org>; Wed, 05 Aug 2020 11:35:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=BHX1xQxHtCUkV6pWWfIwPX5UggBLe/k5BPlFjsBW6l4=; b=XJLOdEMP4ZvHyIM7eqmQ0vAyM3frX1xU6DtVJoAyjoWLaxD9fZlKI1Z9QIt19yInxK cDlky44YyVIVjHqRupql4d273bk7Qw0K9ozRt2QozWRqCxitPxnkiVgdxXhTIeOlSphF Kynh9rsU+E9L22EE+yCsOztxi20dapeWdal9cUmDwilMX/tYSJuwYalry6r3t7bbFznZ mGvHCpT4h2of5PbvpOTxQCSyXCvyxw+mPQRIZXxeoXetJAMkvvDIFJG+gp25OkGZTbzJ O5xI6ab/HGtuEfxcAQjHUciYG2RCAAT96yt/gXzNbBA7rIP6OaR6VKb3NQZgoK8PcGz5 85jw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=BHX1xQxHtCUkV6pWWfIwPX5UggBLe/k5BPlFjsBW6l4=; b=DQyX+Qcp6Hd78l4iy/LnmALYOb7e0Wz05RFNoYpLttP9NPP0wrwlRnzgvQdz5Pp6/R 7L+sj4iArtklMp5AsnJ/szi1qqDYsXFadP7G6ESfIbTJNPThMleiTYn9InSeZFTBYCyL Oq7d3+b24QSbk9qYtaoNMueNPoaemfGJsxgVnW8AVvOdne7ZWXDgyNiDXfpiT08RaGE3 uzAzHYXFbV5GQGuJSwkK23P18dlktHczkwiD3n+w1dEKMEcvqxeqqgKMaCZGUQigXQRg dzTPYQ8UxGI9CY4jK7LI5VKCQh9zM4/ydmDYXZcFJ7SutMtJdOweyXOUXiadQkcxZbqT HLig== X-Gm-Message-State: AOAM530RmV/aVHUrVq4+lp+LV5nMJ3eYtZxLHG01gYU0DoF3+PsYQ3tm CBMuJeurGWvMVddTfgWWo9U= X-Google-Smtp-Source: ABdhPJy75DU/PyJ5e3FYeFQxvi+iX5tyTBSRzPSoGxzJ+TgyLUCIBteHrwiVL7ScGODCyvHFSGgssg== X-Received: by 2002:a50:d908:: with SMTP id t8mr524785edj.373.1596652499009; Wed, 05 Aug 2020 11:34:59 -0700 (PDT) Received: from calancha-pc.dy.bbexcite.jp ([31.7.242.222]) by smtp.gmail.com with ESMTPSA id g6sm1993379ejz.19.2020.08.05.11.34.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Aug 2020 11:34:58 -0700 (PDT) From: Tino Calancha X-Google-Original-From: Tino Calancha Date: Wed, 5 Aug 2020 20:34:56 +0200 (CEST) X-X-Sender: calancha@calancha-pc.dy.bbexcite.jp To: Bhavin Gandhi Subject: Re: bug#42655: 27.1; iconify-frame on a Lucid build may stuck the frame In-Reply-To: Message-ID: References: <87lfiycihg.fsf@calancha-pc.dy.bbexcite.jp> <87mu3dfb6z.fsf@gmail.com> <831rkpce1j.fsf@gnu.org> <83v9hz9mn2.fsf@gnu.org> <83tuxia3x1.fsf@gnu.org> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 42655 Cc: eggert@cs.ucla.edu, Tino Calancha , monnier@iro.umontreal.ca, 42655@debbugs.gnu.org, Eli Zaretskii , uyennhi.qm@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Thu, 6 Aug 2020, Bhavin Gandhi wrote: >> Bhavin, have you started the Emacs session with `Emacs -Q`? > > No, this was a normal start with `emacs`. > I had exactly the same behavior. Thanks for the clarification. >> here is the backtrace at the point when Emacs is stuck. > This backtrace was created with `emacs -Q` as Eli suggested initially. Thank you. I hope Eli can get some hint from it. From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 05 14:44:08 2020 Received: (at 42655) by debbugs.gnu.org; 5 Aug 2020 18:44:08 +0000 Received: from localhost ([127.0.0.1]:52248 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3OOW-0006DD-G7 for submit@debbugs.gnu.org; Wed, 05 Aug 2020 14:44:08 -0400 Received: from eggs.gnu.org ([209.51.188.92]:45182) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3OOV-0006Cz-F0 for 42655@debbugs.gnu.org; Wed, 05 Aug 2020 14:44:08 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:33788) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k3OOP-0001Cj-3J; Wed, 05 Aug 2020 14:44:01 -0400 Received: from [176.228.60.248] (port=4333 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1k3OON-0008Nf-CV; Wed, 05 Aug 2020 14:44:00 -0400 Date: Wed, 05 Aug 2020 21:43:50 +0300 Message-Id: <83v9hx7x21.fsf@gnu.org> From: Eli Zaretskii To: Bhavin Gandhi In-Reply-To: (message from Bhavin Gandhi on Wed, 5 Aug 2020 22:53:15 +0530) Subject: Re: bug#42655: 27.1; iconify-frame on a Lucid build may stuck the frame References: <87lfiycihg.fsf@calancha-pc.dy.bbexcite.jp> <87mu3dfb6z.fsf@gmail.com> <831rkpce1j.fsf@gnu.org> <83v9hz9mn2.fsf@gnu.org> <83tuxia3x1.fsf@gnu.org> <83lfiu9xes.fsf@gnu.org> <83h7ti9qmb.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 42655 Cc: uyennhi.qm@gmail.com, 42655@debbugs.gnu.org, eggert@cs.ucla.edu, monnier@iro.umontreal.ca, tino.calancha@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Bhavin Gandhi > Date: Wed, 5 Aug 2020 22:53:15 +0530 > Cc: tino.calancha@gmail.com, 42655@debbugs.gnu.org, eggert@cs.ucla.edu, > monnier@iro.umontreal.ca, uyennhi.qm@gmail.com > > Thanks for the suggestion, here is the backtrace at the point when Emacs > is stuck. Adding it as an attachment. Thanks, this backtrace says that Emacs is just waiting for input. Please try this now, after attaching the debugger: (gdb) source /path/to/emacs/src/.gdbinit (gdb) p selected_frame (gdb) xtype (replace "/path/to/emacs" with the actual absolute file name of the Emacs source tree on your system). Then post here the results. And please keep the GDB session running, don't exit it and don't kill Emacs. From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 05 14:57:28 2020 Received: (at 42655) by debbugs.gnu.org; 5 Aug 2020 18:57:29 +0000 Received: from localhost ([127.0.0.1]:52252 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3ObQ-0006Yl-NA for submit@debbugs.gnu.org; Wed, 05 Aug 2020 14:57:28 -0400 Received: from mail-ed1-f44.google.com ([209.85.208.44]:38914) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3ObN-0006YW-Sj for 42655@debbugs.gnu.org; Wed, 05 Aug 2020 14:57:27 -0400 Received: by mail-ed1-f44.google.com with SMTP id c10so3605438edk.6 for <42655@debbugs.gnu.org>; Wed, 05 Aug 2020 11:57:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=V1Tl99rQXxOaoU8X1KdObD3qt7qWlBO1wZcpwXEqiAM=; b=OF3i8lz8TIFfGcfs7rAQtl5MIlV8U8Ha4sozXzFztH1P8Erk2/ybkBnowBhEu8YPxD 13jO26zCLTe3Ps+TDDvI/Rqh0rStev+49F4XRADb5gM7YiwIruOh3vUnNbhkq0IcNf08 nD5CN4eOlQGQBy2xPCipSVmCGshh884nbpTxJDAGY2Cr+6UUnmMxO6sWyQVgZN7rOYTz 6l7ILYsWp6gNhHuWfNwWYkvhvFlLU4g/dXXuqDttESrIV2UVzL8rnl51YqfkGILGDOMI UK9gFpKhfIldZQoi2OtUSSr3LlEXAyJ47qvIYZTHRxNlIYBFfJhp8RbrssHeGwcmbYbM OyYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=V1Tl99rQXxOaoU8X1KdObD3qt7qWlBO1wZcpwXEqiAM=; b=U22hS0d+Nc8umRHss9KN2O9tlBgVJHiEGJO2PVeqoiYJ2G0AXqfDpIooUv2sHySxy8 zUEk3wJyjZORtDIFLtbtXI6lCpb+b6rkiehTM3KDHn/t3Zqq6qCAFpKrNLi6+3eBH0Rt phtLya4QFKa1bUxuIc2vb4w2kDzWzCdbWAkb69o1QzRpmNUXamEpEOuoOKtFjQX2K4xN iouXpjurKezWAhfGNHl9LbWPoaCPDW3aMLF0dKj3e4Ok2rfvVTYwIPJAEHCp48Sr+zS3 A6AHZoBnhUZfRDTGtiZCUEtB7s6a6Dlhn0QOXQuZ9w09q9kwzxJOSX0PS6XTwYcr/0E+ xx9g== X-Gm-Message-State: AOAM5319qwTUmyFLVsQSWlsFfSyf4A4ijz6eSF3PRIqVTdFuzAK+t2GZ 89xutbKyRzBNHCnX5z1YIXo= X-Google-Smtp-Source: ABdhPJyFfzBSZRDe2zRODFZyKiiL2C8UdmrFvLPb3gTVtAfLf9ij423oNFf2AgQl0CZvJuHlYGbSUQ== X-Received: by 2002:aa7:c251:: with SMTP id y17mr680600edo.13.1596653839922; Wed, 05 Aug 2020 11:57:19 -0700 (PDT) Received: from localhost.example.com ([31.7.242.222]) by smtp.gmail.com with ESMTPSA id lj26sm2052798ejb.26.2020.08.05.11.57.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Aug 2020 11:57:19 -0700 (PDT) From: Tino Calancha To: Eli Zaretskii Subject: Re: bug#42655: 27.1; iconify-frame on a Lucid build may stuck the frame References: <87lfiycihg.fsf@calancha-pc.dy.bbexcite.jp> <87mu3dfb6z.fsf@gmail.com> <831rkpce1j.fsf@gnu.org> <83v9hz9mn2.fsf@gnu.org> <83tuxia3x1.fsf@gnu.org> <83lfiu9xes.fsf@gnu.org> <83h7ti9qmb.fsf@gnu.org> <83v9hx7x21.fsf@gnu.org> Date: Wed, 05 Aug 2020 20:57:18 +0200 In-Reply-To: <83v9hx7x21.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 05 Aug 2020 21:43:50 +0300") Message-ID: <874kpgj4z5.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 42655 Cc: 42655@debbugs.gnu.org, eggert@cs.ucla.edu, uyennhi.qm@gmail.com, Bhavin Gandhi , monnier@iro.umontreal.ca X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eli Zaretskii writes: > Please try this now, after attaching the debugger: > > (gdb) source /path/to/emacs/src/.gdbinit > (gdb) p selected_frame > (gdb) xtype (gdb) source .gdbinit &"source .gdbinit\n" ~"SIGINT is used by the debugger.\nAre you sure you want to change it? " ~"(y or n) [answered Y; input not from terminal]\n" =cmd-param-changed,param="print pretty",value="on" ~"DISPLAY = :0\n" ~"TERM = xterm\n" ~"Breakpoint 1 at 0x59d9ad: file emacs.c, line 378.\n" =breakpoint-created,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x000000000059d9ad",func="terminate_due_to_signal",file="emacs.c",fullname="/home/calancha/soft/emacs-master/src/emacs.c",line="378",thread-groups=["i1"],times="0",original-location="terminate_due_to_signal"} ~"Breakpoint 2 at 0x56d2e3: file xterm.c, line 10135.\n" =breakpoint-created,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x000000000056d2e3",func="x_error_quitter",file="xterm.c",fullname="/home/calancha/soft/emacs-master/src/xterm.c",line="10135",thread-groups=["i1"],times="0",original-location="x_error_quitter"} ^done (gdb) p selected_frame &"p selected_frame\n" ~"$1 = XIL(0x14f0835)\n" ^done (gdb) xtype &"xtype\n" ~"Lisp_Vectorlike" ~"\n" ~"PVEC_FRAME" ~"\n" ^done (gdb) From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 05 22:29:28 2020 Received: (at 42655) by debbugs.gnu.org; 6 Aug 2020 02:29:28 +0000 Received: from localhost ([127.0.0.1]:52537 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3Veq-0001wH-0p for submit@debbugs.gnu.org; Wed, 05 Aug 2020 22:29:28 -0400 Received: from eggs.gnu.org ([209.51.188.92]:39382) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3Ven-0001w6-Vq for 42655@debbugs.gnu.org; Wed, 05 Aug 2020 22:29:26 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:43009) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k3Vei-0000uQ-D2; Wed, 05 Aug 2020 22:29:20 -0400 Received: from [176.228.60.248] (port=4835 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1k3Veh-0000TY-SP; Wed, 05 Aug 2020 22:29:20 -0400 Date: Thu, 06 Aug 2020 05:29:12 +0300 Message-Id: <83sgd08q2v.fsf@gnu.org> From: Eli Zaretskii To: Tino Calancha In-Reply-To: <874kpgj4z5.fsf@gmail.com> (message from Tino Calancha on Wed, 05 Aug 2020 20:57:18 +0200) Subject: Re: bug#42655: 27.1; iconify-frame on a Lucid build may stuck the frame References: <87lfiycihg.fsf@calancha-pc.dy.bbexcite.jp> <87mu3dfb6z.fsf@gmail.com> <831rkpce1j.fsf@gnu.org> <83v9hz9mn2.fsf@gnu.org> <83tuxia3x1.fsf@gnu.org> <83lfiu9xes.fsf@gnu.org> <83h7ti9qmb.fsf@gnu.org> <83v9hx7x21.fsf@gnu.org> <874kpgj4z5.fsf@gmail.com> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 42655 Cc: 42655@debbugs.gnu.org, eggert@cs.ucla.edu, uyennhi.qm@gmail.com, bhavin7392@gmail.com, monnier@iro.umontreal.ca X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Tino Calancha > Cc: Bhavin Gandhi , uyennhi.qm@gmail.com, > 42655@debbugs.gnu.org, eggert@cs.ucla.edu, monnier@iro.umontreal.ca > Date: Wed, 05 Aug 2020 20:57:18 +0200 > > (gdb) > p selected_frame > &"p selected_frame\n" > ~"$1 = XIL(0x14f0835)\n" > ^done > (gdb) > xtype > &"xtype\n" > ~"Lisp_Vectorlike" > ~"\n" > ~"PVEC_FRAME" > ~"\n" > ^done > (gdb) OK, now the important part: (gdb) p XFRAME (selected_frame) (gdb) p *$ The last command should display all the members of 'struct frame' that correspond to the frame which doesn't redisplay. Just to be sure: you are typing these commands in a situation where you did NOT yet create another frame, this is the same frame which was iconified by C-z, right? I want to be sure we display the problematic frame, not some other one. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 06 01:41:57 2020 Received: (at 42655) by debbugs.gnu.org; 6 Aug 2020 05:41:57 +0000 Received: from localhost ([127.0.0.1]:52799 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3Yf7-0006vA-81 for submit@debbugs.gnu.org; Thu, 06 Aug 2020 01:41:57 -0400 Received: from mail-ej1-f51.google.com ([209.85.218.51]:43881) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3Yf5-0006uu-4Q for 42655@debbugs.gnu.org; Thu, 06 Aug 2020 01:41:56 -0400 Received: by mail-ej1-f51.google.com with SMTP id m22so5838422eje.10 for <42655@debbugs.gnu.org>; Wed, 05 Aug 2020 22:41:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=UtguYceUtEcXIt3+po2Pky9LBwIuV6hNkzq2eXHmB74=; b=kQljzBCelX1PSQPT4dVVcPB7Lj7IM6+5JpVlCpNEmRrPKonOY46Mn1WaZBbaSgNEfO WtmYEXLg2Gdpqf8me1jXxZ1yXvW2Mm1S9jj//PPLmkJfHduqOaMCFZKObgbwwzzxxURP C/0H6GG4d1hos8Va750Tq6CJh2ErM5ejpEq+0tmvSEL+HHo1vgnl+nmWuK/XDLQ/6j9N Z0g0jcjl9n8suhY8J0MKTEyKx1BkvZTggl7ouapfDTIaELRcm0VsxpKU6o2v1YahLrX/ a6+/Vpun4ADt5AchePzRJNfKtORt3Tin9H3GYDJAaiR8LhSFEoKEYq7xKaBF0xZL5oZE ouww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=UtguYceUtEcXIt3+po2Pky9LBwIuV6hNkzq2eXHmB74=; b=VE+3GKi0ATcQnh2AhNRvMna/KFJmpZutltkdSessn/dyATx/l43K2q1f0bRbXEtdxT Hd3usyL6JgmNEYdJOFn+9FCoxb0X5hGgik+iCVqypTuigNsNvdj9xwIxB9XOb6FF1j7A 6Ad6IaArcCDubmtw4hdv/mhPCyGVpqgRQgzE9d4QwwarJpLWNB320uXQbdeF0CA2XgbV GWXkbtIHKj4TCyabXW4ORfuFM1aaC+zWssXrnHmBgu8UzGCNEZRh6QKVFsAv70ALwzvp z14lo54kn0PnjUQM3W0Cl5Q5QYRsVD4tOweo/wvtDhOuLDA/glIw6EPms+gBMQecB+88 3mPA== X-Gm-Message-State: AOAM530767YESZTfXdI2HQyXwNC1chxxAVy45lt99KG8bWkyxxwxI2dq PdLujZA5Fl//c/LqDrGYJwckhAsRz0TmcswppRU= X-Google-Smtp-Source: ABdhPJwYnLspspcCsgqPOwlQGWjJCkyaY/hppQ5DtCtUgbZIXfalpASFakUJijs7Qu5/OyHH+ObVPiyzaJ8W/3QhWZI= X-Received: by 2002:a17:906:454f:: with SMTP id s15mr2595330ejq.130.1596692509060; Wed, 05 Aug 2020 22:41:49 -0700 (PDT) MIME-Version: 1.0 References: <87lfiycihg.fsf@calancha-pc.dy.bbexcite.jp> <87mu3dfb6z.fsf@gmail.com> <831rkpce1j.fsf@gnu.org> <83v9hz9mn2.fsf@gnu.org> <83tuxia3x1.fsf@gnu.org> <83lfiu9xes.fsf@gnu.org> <83h7ti9qmb.fsf@gnu.org> <83v9hx7x21.fsf@gnu.org> <874kpgj4z5.fsf@gmail.com> <83sgd08q2v.fsf@gnu.org> In-Reply-To: <83sgd08q2v.fsf@gnu.org> From: Bhavin Gandhi Date: Thu, 6 Aug 2020 11:11:12 +0530 Message-ID: Subject: Re: bug#42655: 27.1; iconify-frame on a Lucid build may stuck the frame To: Eli Zaretskii Content-Type: multipart/mixed; boundary="000000000000d1b71905ac2ef1be" X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 42655 Cc: 42655@debbugs.gnu.org, eggert@cs.ucla.edu, uyennhi.qm@gmail.com, monnier@iro.umontreal.ca, Tino Calancha X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --000000000000d1b71905ac2ef1be Content-Type: text/plain; charset="UTF-8" On Thu, 6 Aug 2020 at 07:59, Eli Zaretskii wrote: > OK, now the important part: > > (gdb) p XFRAME (selected_frame) This gave an error for me, I tried the following commands. (gdb) p XFRAME (selected_frame) No symbol "XFRAME" in current context. (gdb) p xframe (selected_frame) No symbol "xframe" in current context. But xframe (selected_frame) worked. > (gdb) p *$ > > The last command should display all the members of 'struct frame' that > correspond to the frame which doesn't redisplay. (gdb) p selected_frame $1 = XIL(0x1e81975) (gdb) xtype Lisp_Vectorlike PVEC_FRAME (gdb) xframe (selected_frame) $2 = (struct frame *) 0x1e81970 "emacs@toolbox" (gdb) p *$ Attaching the output as a file. This is the only frame in that Emacs instance and it's frozen. I'm keeping gdb and Emacs running in case if we need it. --000000000000d1b71905ac2ef1be Content-Type: application/octet-stream; name=bug-42655-struct-frame Content-Disposition: attachment; filename=bug-42655-struct-frame Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_kdidfz2w0 KGdkYikgc291cmNlIC9ob21lL2JoYXZpbi9zcmMvZW1hY3MvZW1hY3MtcHJldGVzdC1ycG0vZW1h Y3MtMjcuMS9idWlsZC1sdWNpZC9zcmMvLmdkYmluaXQKPGVtYWNzLXByZXRlc3QtcnBtL2VtYWNz LTI3LjEvYnVpbGQtbHVjaWQvc3JjLy5nZGJpbml0ClNJR0lOVCBpcyB1c2VkIGJ5IHRoZSBkZWJ1 Z2dlci4KQXJlIHlvdSBzdXJlIHlvdSB3YW50IHRvIGNoYW5nZSBpdD8gKHkgb3IgbikgW2Fuc3dl cmVkIFk7IGlucHV0IG5vdCBmcm9tIHRlcm1pbmFsXQpESVNQTEFZID0gOjAKVEVSTSA9IGR1bWIK QnJlYWtwb2ludCAxIGF0IDB4NjJkMGY5OiBmaWxlIC4uLy4uL3NyYy9lbWFjcy5jLCBsaW5lIDM3 OS4KQnJlYWtwb2ludCAyIGF0IDB4NWQ3MGQ3OiBmaWxlIC4uLy4uL3NyYy94dGVybS5jLCBsaW5l IDEwMTM3LgooZ2RiKSBwIHNlbGVjdGVkX2ZyYW1lCnAgc2VsZWN0ZWRfZnJhbWUKJDEgPSBYSUwo MHgxZTgxOTc1KQooZ2RiKSB4dHlwZQp4dHlwZQpMaXNwX1ZlY3Rvcmxpa2UKUFZFQ19GUkFNRQoo Z2RiKSB4ZnJhbWUgKHNlbGVjdGVkX2ZyYW1lKQp4ZnJhbWUgKHNlbGVjdGVkX2ZyYW1lKQokMiA9 IChzdHJ1Y3QgZnJhbWUgKikgMHgxZTgxOTcwCiJlbWFjc0B0b29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d1b71905ac2ef1be-- From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 06 03:43:57 2020 Received: (at 42655) by debbugs.gnu.org; 6 Aug 2020 07:43:57 +0000 Received: from localhost ([127.0.0.1]:53044 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3aZB-00063O-0x for submit@debbugs.gnu.org; Thu, 06 Aug 2020 03:43:57 -0400 Received: from eggs.gnu.org ([209.51.188.92]:47396) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3aZ8-00063B-JX for 42655@debbugs.gnu.org; Thu, 06 Aug 2020 03:43:55 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:47176) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k3aZ0-00033l-V0; Thu, 06 Aug 2020 03:43:46 -0400 Received: from [2a02:14f:80:1e22::1] (port=45016) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1k3aZ0-0007Qj-5Z; Thu, 06 Aug 2020 03:43:46 -0400 Date: Thu, 06 Aug 2020 10:43:43 +0300 User-Agent: K-9 Mail for Android In-Reply-To: References: <87lfiycihg.fsf@calancha-pc.dy.bbexcite.jp> <87mu3dfb6z.fsf@gmail.com> <831rkpce1j.fsf@gnu.org> <83v9hz9mn2.fsf@gnu.org> <83tuxia3x1.fsf@gnu.org> <83lfiu9xes.fsf@gnu.org> <83h7ti9qmb.fsf@gnu.org> <83v9hx7x21.fsf@gnu.org> <874kpgj4z5.fsf@gmail.com> <83sgd08q2v.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: bug#42655: 27.1; iconify-frame on a Lucid build may stuck the frame To: Bhavin Gandhi From: Eli Zaretskii Message-ID: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 42655 Cc: 42655@debbugs.gnu.org, eggert@cs.ucla.edu, uyennhi.qm@gmail.com, monnier@iro.umontreal.ca, Tino Calancha X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) On August 6, 2020 8:41:12 AM GMT+03:00, Bhavin Gandhi wrote: > > (gdb) p selected_frame > $1 =3D XIL(0x1e81975) > (gdb) xtype > Lisp_Vectorlike > PVEC_FRAME > (gdb) xframe (selected_frame) > $2 =3D (struct frame *) 0x1e81970 > "emacs@toolbox" > (gdb) p *$ > >Attaching the output as a file=2E Thanks=2E This clearly shows that Emacs considers the frame as being stil= l iconified=2E Please tell what does the following yield: (gdb) p *$2->output_data=2Ex This assumes that $2 is as you have show previously, i=2Ee=2E a pointer t= o struct frame that corresponds to the selected frame=2E From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 06 04:13:16 2020 Received: (at 42655) by debbugs.gnu.org; 6 Aug 2020 08:13:16 +0000 Received: from localhost ([127.0.0.1]:53078 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3b1Y-0006md-8D for submit@debbugs.gnu.org; Thu, 06 Aug 2020 04:13:16 -0400 Received: from mail-wr1-f54.google.com ([209.85.221.54]:43822) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3b1W-0006mR-7u for 42655@debbugs.gnu.org; Thu, 06 Aug 2020 04:13:15 -0400 Received: by mail-wr1-f54.google.com with SMTP id a15so43076377wrh.10 for <42655@debbugs.gnu.org>; Thu, 06 Aug 2020 01:13:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=UlEBokkIzkyU+jWN6LEjOY6q1sfVbO9wht25KfEhktg=; b=YHwY9nXvAGKBx6xCBvf3PdrpPuF7EX+3enidYKBW84dMYjzcIDF6SGjgqqQLJUtkL/ dJi9CItG9/GcB0mCcnP1Pi5ajJ43kZyR/o2d34vbVsSWknlQ7jEo+dNVnFaxBqbzqm6r 2OZ2QtVUbpIFIOPiS1yedUUa5FYPvxwVDxGewVQveoltly95DKjIWV0hxDWnTT0gftr5 OsaMuTBCEvSoeM7WgoxqfKSphe0vncHG1DOLU5ETH28RYoW4sL9rJX2H2YUvchriXbqp iWWqOwlMzdgC4YatcNjmWvEigvWp44sHtFSRfLHuXzDRouw1DGrbn72sTG8tUQ2aPXF8 WBZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=UlEBokkIzkyU+jWN6LEjOY6q1sfVbO9wht25KfEhktg=; b=rQJ3ZuZVT3dCHyJVWKZFDe20UaAsdP4VtOcSEyvgdVzuus/oFBNSgURA0IhJaGe02i By29P31PKGalnvyvgFxRRWE0znYxr9Dj7zsktMk08qF/RWVEaK6fln1JmvpOKvvn4Ier xluz71hKccQ9nvuhB19FywwqMSCg3JYrNwjK5GTtQ59FDlqGiuDGZ6TqzxxYZfOAwO4N 7yWvFB5ib0J+1pRYVrq7cEmfpLS2W1GaCek1fIYm2DucdYhXLknYMYNQAd8MpikH4eJh oO+WqTTPSjOKsxZfefrqrQ06Bxffhs70W0zBfsoYmRWe+1gn0f3eiM9TZMZYob/a30Ii Lptg== X-Gm-Message-State: AOAM533WbLkwKP1PLTH4C1MjXmysSLuSP71XnkKt+fsMIgS1Vdt4cjBv 8VimmqJEgG5JbuLKdGKH7Kk= X-Google-Smtp-Source: ABdhPJxBOW8H78DxBqG4eNrn/v3jZq4tkzIxI9F4gmTinPbMiRe+dsDEFe+nTVyLqhffPe2cbG4Jtw== X-Received: by 2002:adf:f4ca:: with SMTP id h10mr6109078wrp.355.1596701588118; Thu, 06 Aug 2020 01:13:08 -0700 (PDT) Received: from localhost.example.com (nat1.prg.suse.com. [195.250.132.148]) by smtp.gmail.com with ESMTPSA id p15sm5512811wrj.61.2020.08.06.01.13.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Aug 2020 01:13:07 -0700 (PDT) From: Tino Calancha To: Eli Zaretskii Subject: Re: bug#42655: 27.1; iconify-frame on a Lucid build may stuck the frame References: <87lfiycihg.fsf@calancha-pc.dy.bbexcite.jp> <87mu3dfb6z.fsf@gmail.com> <831rkpce1j.fsf@gnu.org> <83v9hz9mn2.fsf@gnu.org> <83tuxia3x1.fsf@gnu.org> <83lfiu9xes.fsf@gnu.org> <83h7ti9qmb.fsf@gnu.org> <83v9hx7x21.fsf@gnu.org> <874kpgj4z5.fsf@gmail.com> <83sgd08q2v.fsf@gnu.org> Date: Thu, 06 Aug 2020 10:13:06 +0200 In-Reply-To: (Eli Zaretskii's message of "Thu, 06 Aug 2020 10:43:43 +0300") Message-ID: <871rkki44t.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 42655 Cc: 42655@debbugs.gnu.org, eggert@cs.ucla.edu, uyennhi.qm@gmail.com, Bhavin Gandhi , monnier@iro.umontreal.ca X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eli Zaretskii writes: > Please tell what does the following yield: > > (gdb) p *$2->output_data.x > > This assumes that $2 is as you have show previously, i.e. a pointer to struct frame that corresponds to the selected frame. (gdb) xframe (selected_frame) $3 = (struct frame *) 0x234f888 "emacs@localhost.example.com" (gdb) p *$3->output_data.x $4 = { menubar_height = 29, toolbar_top_height = 0, toolbar_bottom_height = 0, toolbar_left_width = 0, toolbar_right_width = 0, border_tile = 18874720, normal_gc = 0x233c280, reverse_gc = 0x223db40, cursor_gc = 0x2251400, window_desc = 18874715, draw_desc = 18874716, need_buffer_flip = false, icon_desc = 0, parent_desc = 8405122, widget = 0x241c240, column_widget = 0x221f610, edit_widget = 0x2220390, menubar_widget = 0x22f2b40, icon_bitmap = 1, font = 0x23ea680, baseline_offset = 0, fontset = 2, cursor_pixel = 0, border_pixel = 0, mouse_pixel = 0, cursor_foreground_pixel = 16777215, scroll_bar_foreground_pixel = 18446744073709551615, scroll_bar_background_pixel = 18446744073709551615, scroll_bar_top_shadow_pixel = 18446744073709551615, scroll_bar_bottom_shadow_pixel = 18446744073709551615, text_cursor = 18874392, nontext_cursor = 18874396, modeline_cursor = 18874641, hand_cursor = 18874645, hourglass_cursor = 18874637, horizontal_drag_cursor = 18874649, vertical_drag_cursor = 18874653, current_cursor = 18874396, left_edge_cursor = 18874657, top_left_corner_cursor = 18874661, top_edge_cursor = 18874665, top_right_corner_cursor = 18874669, right_edge_cursor = 18874673, bottom_right_corner_cursor = 18874677, bottom_edge_cursor = 18874681, bottom_left_corner_cursor = 18874685, hourglass_window = 0, wm_hints = { flags = 1, input = 1, initial_state = 0, icon_pixmap = 18874722, icon_window = 0, icon_x = 0, icon_y = 0, icon_mask = 18874724, window_group = 0 }, display_info = 0x222c5c0, saved_menu_event = 0x248a670, id = 1, hourglass_p = false, explicit_parent = false, asked_for_visible = true, has_been_visible = true, wait_for_wm = true, xic = 0x24269a0, xic_style = 1028, xic_xfs = 0x2423880, black_relief = { gc = 0x21e8220, pixel = 7566195 }, white_relief = { gc = 0x23e2ca0, pixel = 15132390 }, relief_background = 12566463, focus_state = 1, move_offset_top = 0, move_offset_left = 0, cr_context = 0x22734b0, cr_surface_desired_width = 674, cr_surface_desired_height = 633 } (gdb) From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 06 09:47:30 2020 Received: (at 42655) by debbugs.gnu.org; 6 Aug 2020 13:47:30 +0000 Received: from localhost ([127.0.0.1]:53473 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3gEn-0007Ey-9c for submit@debbugs.gnu.org; Thu, 06 Aug 2020 09:47:30 -0400 Received: from eggs.gnu.org ([209.51.188.92]:44070) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3gEl-0007El-Fw for 42655@debbugs.gnu.org; Thu, 06 Aug 2020 09:47:16 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:51144) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k3gEf-00045J-10; Thu, 06 Aug 2020 09:47:09 -0400 Received: from [176.228.60.248] (port=2391 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1k3gEc-000658-Bq; Thu, 06 Aug 2020 09:47:08 -0400 Date: Thu, 06 Aug 2020 16:47:00 +0300 Message-Id: <83k0yb999n.fsf@gnu.org> From: Eli Zaretskii To: Tino Calancha In-Reply-To: <871rkki44t.fsf@gmail.com> (message from Tino Calancha on Thu, 06 Aug 2020 10:13:06 +0200) Subject: Re: bug#42655: 27.1; iconify-frame on a Lucid build may stuck the frame References: <87lfiycihg.fsf@calancha-pc.dy.bbexcite.jp> <87mu3dfb6z.fsf@gmail.com> <831rkpce1j.fsf@gnu.org> <83v9hz9mn2.fsf@gnu.org> <83tuxia3x1.fsf@gnu.org> <83lfiu9xes.fsf@gnu.org> <83h7ti9qmb.fsf@gnu.org> <83v9hx7x21.fsf@gnu.org> <874kpgj4z5.fsf@gmail.com> <83sgd08q2v.fsf@gnu.org> <871rkki44t.fsf@gmail.com> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 42655 Cc: 42655@debbugs.gnu.org, eggert@cs.ucla.edu, uyennhi.qm@gmail.com, bhavin7392@gmail.com, monnier@iro.umontreal.ca X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > From: Tino Calancha > Cc: Bhavin Gandhi , 42655@debbugs.gnu.org, > eggert@cs.ucla.edu, uyennhi.qm@gmail.com, monnier@iro.umontreal.ca > Date: Thu, 06 Aug 2020 10:13:06 +0200 > > > (gdb) p *$2->output_data.x > > > > This assumes that $2 is as you have show previously, i.e. a pointer to struct frame that corresponds to the selected frame. > > (gdb) xframe (selected_frame) > $3 = (struct frame *) 0x234f888 > "emacs@localhost.example.com" > (gdb) p *$3->output_data.x > $4 = { Thanks. Looks like we never get the MapNotify event from X windows? Can you verify that, either by running the xev utility or by setting a breakpoint in xterm.c:handle_one_xevent when MapNotify is handled, and repeating the recipe? From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 06 09:57:48 2020 Received: (at 42655) by debbugs.gnu.org; 6 Aug 2020 13:57:48 +0000 Received: from localhost ([127.0.0.1]:54610 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3gOr-0007ot-M5 for submit@debbugs.gnu.org; Thu, 06 Aug 2020 09:57:48 -0400 Received: from eggs.gnu.org ([209.51.188.92]:46548) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3gOp-0007of-Ny for 42655@debbugs.gnu.org; Thu, 06 Aug 2020 09:57:40 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:51293) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k3gOk-0005PD-AN; Thu, 06 Aug 2020 09:57:34 -0400 Received: from [176.228.60.248] (port=3066 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1k3gOj-00009a-4R; Thu, 06 Aug 2020 09:57:33 -0400 Date: Thu, 06 Aug 2020 16:57:27 +0300 Message-Id: <83ft8z98s8.fsf@gnu.org> From: Eli Zaretskii To: tino.calancha@gmail.com In-Reply-To: <83k0yb999n.fsf@gnu.org> (message from Eli Zaretskii on Thu, 06 Aug 2020 16:47:00 +0300) Subject: Re: bug#42655: 27.1; iconify-frame on a Lucid build may stuck the frame References: <87lfiycihg.fsf@calancha-pc.dy.bbexcite.jp> <87mu3dfb6z.fsf@gmail.com> <831rkpce1j.fsf@gnu.org> <83v9hz9mn2.fsf@gnu.org> <83tuxia3x1.fsf@gnu.org> <83lfiu9xes.fsf@gnu.org> <83h7ti9qmb.fsf@gnu.org> <83v9hx7x21.fsf@gnu.org> <874kpgj4z5.fsf@gmail.com> <83sgd08q2v.fsf@gnu.org> <871rkki44t.fsf@gmail.com> <83k0yb999n.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 42655 Cc: 42655@debbugs.gnu.org, eggert@cs.ucla.edu, uyennhi.qm@gmail.com, bhavin7392@gmail.com, monnier@iro.umontreal.ca X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Thu, 06 Aug 2020 16:47:00 +0300 > From: Eli Zaretskii > Cc: 42655@debbugs.gnu.org, eggert@cs.ucla.edu, uyennhi.qm@gmail.com, > bhavin7392@gmail.com, monnier@iro.umontreal.ca > > Thanks. Looks like we never get the MapNotify event from X windows? > Can you verify that, either by running the xev utility or by setting a > breakpoint in xterm.c:handle_one_xevent when MapNotify is handled, and > repeating the recipe? And one more thing: does it help to disable double-buffering? (NEWS.26 explains how to do that.) From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 06 10:18:23 2020 Received: (at 42655) by debbugs.gnu.org; 6 Aug 2020 14:18:23 +0000 Received: from localhost ([127.0.0.1]:54655 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3git-00029X-9e for submit@debbugs.gnu.org; Thu, 06 Aug 2020 10:18:23 -0400 Received: from mail-wr1-f51.google.com ([209.85.221.51]:35306) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3gir-00029I-J3 for 42655@debbugs.gnu.org; Thu, 06 Aug 2020 10:18:22 -0400 Received: by mail-wr1-f51.google.com with SMTP id f1so43633758wro.2 for <42655@debbugs.gnu.org>; Thu, 06 Aug 2020 07:18:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=5VEiwgPau/k0ez5xiQb+370N2s/H318ZQ/6Xhkvc2ew=; b=YjNcA61o+mBKN7c1JU127fGQobhxOD+oLy3NzwRfa6jiYG3u6/ofoUfcVALqgrTxgN gJhNr/Xo5T2RbPJe0pY5+SgBa/BRhZXelm05uxanYNQg4UG3GJiEQ6gpI7invsvleu1z 6JiqHXo1ZE+3MxozGEoXlAddq8gxDC9c3NBG6qkjuL0G2rTlmOfjKYXSfKN4IIhJ6rGl 0iqW7jrfkwF2kIUzBqfhSDM6p/ORvq07MCzi8huu4IppEIuvjDPR8FXxhrgdTUya9PW+ 1lXoNjF5uMjrKN+HHR/S2Ryld2BqOA8lXJbZjIbDz0SwS3L7146vlXpRcFl/edQqgnWU t+oA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=5VEiwgPau/k0ez5xiQb+370N2s/H318ZQ/6Xhkvc2ew=; b=aYOOegPHN7Gft4Fa7b/XhIZPC9EDguv8krrPVbQ3/+P8CSLLcxTn9rTmTg50qKjZv/ kcYICdvtNzPj+8dOcj3uKiisrAV6kUA9rA3kVsea5Mb/2ZeWwnJIZ6OahXJcYNXWz1/I FtQ+2kJmq1Pf/rI1enyiSsVQIextY+nebUf/aRpJ8zUG9FLmQOh6g5emGm5G27OamGFa lCrVqB8A50qyCrAuEUYH2563bGqgXBX8VflCxk9CVUOPYCt1ngl8jay3yI7cNRO8fvsQ /fwAQ0lzUSM4AbHFUDCDoixTJKZrkJT98UiQfPxeuot/ugJnirkPl/2wj6fwO5KCGQty +EKw== X-Gm-Message-State: AOAM530J0e3CyUfuTqFmvc8ebbvqGNj+aOkyoY0kFhHZdPboj84lJLRf jPpUPNTJ0q1HTLEveYdJA38= X-Google-Smtp-Source: ABdhPJwqpH1dXfqNRewwPncnoLT4XuseUB5IyF85QWQLvX8EFD4dX8z8nAM4TAt1mmWjvFpD7qX13g== X-Received: by 2002:adf:f08a:: with SMTP id n10mr8176546wro.351.1596723495573; Thu, 06 Aug 2020 07:18:15 -0700 (PDT) Received: from dhcp154.suse.cz (nat1.prg.suse.com. [195.250.132.148]) by smtp.gmail.com with ESMTPSA id z207sm6898544wmc.2.2020.08.06.07.18.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Aug 2020 07:18:14 -0700 (PDT) From: Tino Calancha X-Google-Original-From: Tino Calancha Date: Thu, 6 Aug 2020 16:18:09 +0200 (CEST) X-X-Sender: calancha@localhost.example.com To: Eli Zaretskii Subject: Re: bug#42655: 27.1; iconify-frame on a Lucid build may stuck the frame In-Reply-To: <83ft8z98s8.fsf@gnu.org> Message-ID: References: <87lfiycihg.fsf@calancha-pc.dy.bbexcite.jp> <87mu3dfb6z.fsf@gmail.com> <831rkpce1j.fsf@gnu.org> <83v9hz9mn2.fsf@gnu.org> <83tuxia3x1.fsf@gnu.org> <83lfiu9xes.fsf@gnu.org> <83h7ti9qmb.fsf@gnu.org> <83v9hx7x21.fsf@gnu.org> <874kpgj4z5.fsf@gmail.com> <83sgd08q2v.fsf@gnu.org> <871rkki44t.fsf@gmail.com> <83k0yb999n.fsf@gnu.org> <83ft8z98s8.fsf@gnu.org> User-Agent: Alpine 2.22 (LSU 394 2020-01-19) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 42655 Cc: eggert@cs.ucla.edu, tino.calancha@gmail.com, monnier@iro.umontreal.ca, 42655@debbugs.gnu.org, uyennhi.qm@gmail.com, bhavin7392@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Thu, 6 Aug 2020, Eli Zaretskii wrote: > And one more thing: does it help to disable double-buffering? > (NEWS.26 explains how to do that.) This doesn't help :-( [ I will investigate the other tips ] From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 06 10:37:28 2020 Received: (at 42655) by debbugs.gnu.org; 6 Aug 2020 14:37:28 +0000 Received: from localhost ([127.0.0.1]:54694 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3h1M-0002dg-Bs for submit@debbugs.gnu.org; Thu, 06 Aug 2020 10:37:28 -0400 Received: from mail-ed1-f66.google.com ([209.85.208.66]:47028) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3h1K-0002dT-A4 for 42655@debbugs.gnu.org; Thu, 06 Aug 2020 10:37:27 -0400 Received: by mail-ed1-f66.google.com with SMTP id q4so32096980edv.13 for <42655@debbugs.gnu.org>; Thu, 06 Aug 2020 07:37:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=l/1DzpVtnfGMaY3E9ToNOHPlSRBJYCmCB37h+wsHZIY=; b=VL5RSNrjcIYmhSq3Bjq6ohhcL+Y6GxbvCGbSxK4B+2IplEWtqY3VeHfBJFfnZGMDQC SKRirMCBAeYdffjOUies7USu5TZO2ylXr32PL2GH59CB/tc4xVSkRBUkuhePvNrN5+t7 BXYJT6URS91W+9rQVveMPvoI2mBSK7RiCzKxM9AaFD4W2aKWaORTrYwrQcMHVnJ1I1Ob xXXcXtOK9ymeSr10C1YzLntaYf3kNOmCpJVE29GcR9eiyp3ZFxBvw8eVU2LepSJljmjK capZOXfw0V8U09urtosVvhxZUsF1DTMbwRzZSbergH6OK1bALZAvDck9L8aIFpVkNP9y XmIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=l/1DzpVtnfGMaY3E9ToNOHPlSRBJYCmCB37h+wsHZIY=; b=DPvMS/RG09bdVHqCIX4KzGLLQl1azB7fN9nQNH626mRWEm//aMicjlKZOpfjtPy+R2 EsRvcOUK8gqkCpQW3Dy0z7/zNLkl14ulnzwnODEonrG4S68F+ukzSsOblQjq5gcazToX AaggRAEuUITW80DvcQjJFshRdJ9mF5DGD2r/B13+4r/EzspMWVyrFvke3soyOnh/ND3k UQXpPmJNkaMpLvMXhE140XM/6ho6c8xyYJ6GIb1Z1kH3dIN/ZtYwtZDNr2rKR/Gnhoxk te8hvLB13fcWT3gp+8ObeepOwfB9E91S9QnoFeBKNhatAD0hraVUufjLE4kYqZ1ET+t7 ry7Q== X-Gm-Message-State: AOAM530AXCXhPZw8QAbPl5A5h3Dmd0cLVsXodwDYwMW5s7bFDNZVqwPO oBlediyutnV/n9NhT4gplbk= X-Google-Smtp-Source: ABdhPJwJeVZRdIZEC//o/vQYOLAvR2p9m18y473X/eZJLluG/XP7AORqggf4/q8yhx8sX8k8dePzCw== X-Received: by 2002:aa7:c544:: with SMTP id s4mr4346238edr.51.1596724640405; Thu, 06 Aug 2020 07:37:20 -0700 (PDT) Received: from dhcp154.suse.cz (nat1.prg.suse.com. [195.250.132.148]) by smtp.gmail.com with ESMTPSA id x1sm3768035ejc.119.2020.08.06.07.37.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Aug 2020 07:37:19 -0700 (PDT) From: Tino Calancha X-Google-Original-From: Tino Calancha Date: Thu, 6 Aug 2020 16:37:18 +0200 (CEST) X-X-Sender: calancha@localhost.example.com To: Eli Zaretskii Subject: Re: bug#42655: 27.1; iconify-frame on a Lucid build may stuck the frame In-Reply-To: <83k0yb999n.fsf@gnu.org> Message-ID: References: <87lfiycihg.fsf@calancha-pc.dy.bbexcite.jp> <87mu3dfb6z.fsf@gmail.com> <831rkpce1j.fsf@gnu.org> <83v9hz9mn2.fsf@gnu.org> <83tuxia3x1.fsf@gnu.org> <83lfiu9xes.fsf@gnu.org> <83h7ti9qmb.fsf@gnu.org> <83v9hx7x21.fsf@gnu.org> <874kpgj4z5.fsf@gmail.com> <83sgd08q2v.fsf@gnu.org> <871rkki44t.fsf@gmail.com> <83k0yb999n.fsf@gnu.org> User-Agent: Alpine 2.22 (LSU 394 2020-01-19) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 42655 Cc: eggert@cs.ucla.edu, Tino Calancha , monnier@iro.umontreal.ca, 42655@debbugs.gnu.org, uyennhi.qm@gmail.com, bhavin7392@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Thu, 6 Aug 2020, Eli Zaretskii wrote: > Thanks. Looks like we never get the MapNotify event from X windows? > Can you verify that, either by running the xev utility or by setting a > breakpoint in xterm.c:handle_one_xevent when MapNotify is handled, and > repeating the recipe? Set breakpoint at xterm::8348 C-z ; frame is hidden ;; I select again the hidden frame ;; gdb doesn't jump to the breakpoint and the frame is 'cursed' M-x ;; The frame wakes up and gdb reaches the breakpoint. From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 07 01:53:39 2020 Received: (at 42655) by debbugs.gnu.org; 7 Aug 2020 05:53:40 +0000 Received: from localhost ([127.0.0.1]:55492 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3vJz-0001vI-NH for submit@debbugs.gnu.org; Fri, 07 Aug 2020 01:53:39 -0400 Received: from eggs.gnu.org ([209.51.188.92]:35978) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3vJy-0001v6-4E for 42655@debbugs.gnu.org; Fri, 07 Aug 2020 01:53:38 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:36664) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k3vJs-0001jM-A1; Fri, 07 Aug 2020 01:53:32 -0400 Received: from [176.228.60.248] (port=2187 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1k3vJr-0005ev-VR; Fri, 07 Aug 2020 01:53:32 -0400 Date: Fri, 07 Aug 2020 08:53:27 +0300 Message-Id: <835z9v80iw.fsf@gnu.org> From: Eli Zaretskii To: Tino Calancha In-Reply-To: (message from Tino Calancha on Thu, 6 Aug 2020 16:37:18 +0200 (CEST)) Subject: Re: bug#42655: 27.1; iconify-frame on a Lucid build may stuck the frame References: <87lfiycihg.fsf@calancha-pc.dy.bbexcite.jp> <87mu3dfb6z.fsf@gmail.com> <831rkpce1j.fsf@gnu.org> <83v9hz9mn2.fsf@gnu.org> <83tuxia3x1.fsf@gnu.org> <83lfiu9xes.fsf@gnu.org> <83h7ti9qmb.fsf@gnu.org> <83v9hx7x21.fsf@gnu.org> <874kpgj4z5.fsf@gmail.com> <83sgd08q2v.fsf@gnu.org> <871rkki44t.fsf@gmail.com> <83k0yb999n.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 42655 Cc: 42655@debbugs.gnu.org, eggert@cs.ucla.edu, uyennhi.qm@gmail.com, bhavin7392@gmail.com, monnier@iro.umontreal.ca X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Tino Calancha > Date: Thu, 6 Aug 2020 16:37:18 +0200 (CEST) > cc: Tino Calancha , bhavin7392@gmail.com, > 42655@debbugs.gnu.org, eggert@cs.ucla.edu, uyennhi.qm@gmail.com, > monnier@iro.umontreal.ca > > > Thanks. Looks like we never get the MapNotify event from X windows? > > Can you verify that, either by running the xev utility or by setting a > > breakpoint in xterm.c:handle_one_xevent when MapNotify is handled, and > > repeating the recipe? > > Set breakpoint at > xterm::8348 > C-z ; frame is hidden > ;; I select again the hidden frame > ;; gdb doesn't jump to the breakpoint and the frame is 'cursed' > M-x > ;; The frame wakes up and gdb reaches the breakpoint. And if you apply your patch, do we get MapNotify immediately after "selecting again the hidden frame"? Btw, what does "selecting again the hidden frame" mean, exactly? What gestures do you use to do that? And what is your window manager? (Bhavin, can you answer these questions for your case as well?) From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 07 07:47:55 2020 Received: (at 42655) by debbugs.gnu.org; 7 Aug 2020 11:47:55 +0000 Received: from localhost ([127.0.0.1]:55989 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k40qp-0007w2-6e for submit@debbugs.gnu.org; Fri, 07 Aug 2020 07:47:55 -0400 Received: from mail-wr1-f52.google.com ([209.85.221.52]:39221) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k40qk-0007sN-Uv for 42655@debbugs.gnu.org; Fri, 07 Aug 2020 07:47:54 -0400 Received: by mail-wr1-f52.google.com with SMTP id a5so1398747wrm.6 for <42655@debbugs.gnu.org>; Fri, 07 Aug 2020 04:47:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=mXCh4Rg1CyInDwaUIt0yFq1o6e4qo69+BxMxuK0nXNY=; b=Q1Zw6qy9EFJfoHARrECBZ/ss9PgFvGy8JHxsgZelDjATrlpaRuw1LjCaKVm2wolLh8 OplCY5LdIhh30yahDcoUf73hCXANXhgso7PALob/Znbq8OVAHJWt+7/MmL5L9U0L6oDN k7mHzAq4Imdn/jRAXozrM0uh6GgAdeRAb0osiTFu4kA7+lKxWszT0N7AJ7cTKZMp1lkb OtIIs+keyKB9gmo4SS/0/x2HRQWzgNX7Z0Gh+BEbpG6PJias7etX4+78uqMtwXDL4YXt GoUCV4U6cQyb4SYhvBllyEpK+tS15E+fKNbluVf0dMnZclzoTgJ8tQhyKIQw11mitU+R m+QQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=mXCh4Rg1CyInDwaUIt0yFq1o6e4qo69+BxMxuK0nXNY=; b=NBohwqZRtr8l2rnNFsOq93KVuY14zgwWr3+3Yw7aZq0cAL+C1c60e/zXIXR0trK9jP f8X5+99aep7NSp65PeqQiH+uBQHSoY54+Qx6pv8YP2TmtWi1APfG1Efxoukcvcur8a2O dSfe1i0CPj2n8iyxDN08WvCJLCTdZuRqj5soRPt1EzNM2yaPfuZWZDyPygpUJsYHIg1Z zWA5ZVxUWhkDnTiW26FORedcWH9Sx9tJNlyTy5gPWXkr96QlcYXC6bFN4BlItaTay21j zdLpwNRpX6eW/It7R0osKTIAV2635WMlC2G/vYMQz4uWBRHV9XSYlag3AAPOBzepfzNz nVIg== X-Gm-Message-State: AOAM530p1WgKo2jQCL/ZBHihXmoWYw5NPzJ1REFlOIhtvnk4Oit+hVN3 RAi4G7+fMPX5aD73HULKDos= X-Google-Smtp-Source: ABdhPJwA7Ze0NPggv1xRlOD80OBRtbqORn2tQNJqASoUCcnZhJYaHkYI34bZhaObM20kC0oOhSG0FA== X-Received: by 2002:adf:cd91:: with SMTP id q17mr11980196wrj.5.1596800864912; Fri, 07 Aug 2020 04:47:44 -0700 (PDT) Received: from localhost.example.com (nat1.prg.suse.com. [195.250.132.148]) by smtp.gmail.com with ESMTPSA id c10sm10103297wro.84.2020.08.07.04.47.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Aug 2020 04:47:43 -0700 (PDT) From: Tino Calancha To: Eli Zaretskii Subject: Re: bug#42655: 27.1; iconify-frame on a Lucid build may stuck the frame References: <87lfiycihg.fsf@calancha-pc.dy.bbexcite.jp> <87mu3dfb6z.fsf@gmail.com> <831rkpce1j.fsf@gnu.org> <83v9hz9mn2.fsf@gnu.org> <83tuxia3x1.fsf@gnu.org> <83lfiu9xes.fsf@gnu.org> <83h7ti9qmb.fsf@gnu.org> <83v9hx7x21.fsf@gnu.org> <874kpgj4z5.fsf@gmail.com> <83sgd08q2v.fsf@gnu.org> <871rkki44t.fsf@gmail.com> <83k0yb999n.fsf@gnu.org> <835z9v80iw.fsf@gnu.org> Date: Fri, 07 Aug 2020 13:47:42 +0200 In-Reply-To: <835z9v80iw.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 07 Aug 2020 08:53:27 +0300") Message-ID: <87mu36wuch.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 42655 Cc: 42655@debbugs.gnu.org, eggert@cs.ucla.edu, uyennhi.qm@gmail.com, bhavin7392@gmail.com, monnier@iro.umontreal.ca X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eli Zaretskii writes: >> Set breakpoint at >> xterm::8348 >> C-z ; frame is hidden >> ;; I select again the hidden frame >> ;; gdb doesn't jump to the breakpoint and the frame is 'cursed' >> M-x >> ;; The frame wakes up and gdb reaches the breakpoint. > > And if you apply your patch, do we get MapNotify immediately after > "selecting again the hidden frame"? No, I don't. With the patch, I get MapNotify right after I hit `C-z'. That seems to be OK when I start with `emacs -Q', but it doesn't help if I start emacs loading my custom stuff. > Btw, what does "selecting again the hidden frame" mean, exactly? What > gestures do you use to do that? And what is your window manager? [This seems to be a problem affecting only my window manager (GNOME Shell)] - After C-z, the frame dissapear from the screen. - Note, there is no lower/upper bar with the APP iconified. - To get such a frame again, you can do it in several ways: 1. use shortcut to switch between apps (in my case M-TAB) 2. if you the current focused window is another Emacs frame, then you can use the shortcut to switch between windows of same app (in my case M-`) 3. Click upper-left corner menu 'Activities': now you can click in the 'iconified' frame with the mouse Any of those 1-3 send the MapNotify I have tested with other window managers in several OSes (Centos 8.1, Ubuntu 18.04/20.04). All window managers but GNOME Shell send the MapNotify _right after_ you land in the previously iconified frame; that is, I only can reproduce the bug when I am using GNOME Shell. Desktop window-manager bug reproduced KDE-plasma kWin No MATE Metacity (Marco) No Fluxbox Fluxbox No GNOME Classic GNOME Shell Yes GNOME in Wayland GNOME Shell Yes From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 07 08:05:41 2020 Received: (at 42655) by debbugs.gnu.org; 7 Aug 2020 12:05:41 +0000 Received: from localhost ([127.0.0.1]:56042 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k4180-0008OJ-TY for submit@debbugs.gnu.org; Fri, 07 Aug 2020 08:05:41 -0400 Received: from eggs.gnu.org ([209.51.188.92]:54244) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k417z-0008O7-6G for 42655@debbugs.gnu.org; Fri, 07 Aug 2020 08:05:39 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:51916) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k417s-0005DY-LQ; Fri, 07 Aug 2020 08:05:32 -0400 Received: from [176.228.60.248] (port=1389 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1k417n-00035X-SU; Fri, 07 Aug 2020 08:05:29 -0400 Date: Fri, 07 Aug 2020 15:05:22 +0300 Message-Id: <83wo2a7jb1.fsf@gnu.org> From: Eli Zaretskii To: Tino Calancha In-Reply-To: <87mu36wuch.fsf@gmail.com> (message from Tino Calancha on Fri, 07 Aug 2020 13:47:42 +0200) Subject: Re: bug#42655: 27.1; iconify-frame on a Lucid build may stuck the frame References: <87lfiycihg.fsf@calancha-pc.dy.bbexcite.jp> <87mu3dfb6z.fsf@gmail.com> <831rkpce1j.fsf@gnu.org> <83v9hz9mn2.fsf@gnu.org> <83tuxia3x1.fsf@gnu.org> <83lfiu9xes.fsf@gnu.org> <83h7ti9qmb.fsf@gnu.org> <83v9hx7x21.fsf@gnu.org> <874kpgj4z5.fsf@gmail.com> <83sgd08q2v.fsf@gnu.org> <871rkki44t.fsf@gmail.com> <83k0yb999n.fsf@gnu.org> <835z9v80iw.fsf@gnu.org> <87mu36wuch.fsf@gmail.com> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 42655 Cc: 42655@debbugs.gnu.org, eggert@cs.ucla.edu, uyennhi.qm@gmail.com, bhavin7392@gmail.com, monnier@iro.umontreal.ca X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Tino Calancha > Cc: 42655@debbugs.gnu.org, eggert@cs.ucla.edu, uyennhi.qm@gmail.com, > bhavin7392@gmail.com, monnier@iro.umontreal.ca > Date: Fri, 07 Aug 2020 13:47:42 +0200 > > Eli Zaretskii writes: > > > And if you apply your patch, do we get MapNotify immediately after > > "selecting again the hidden frame"? > No, I don't. > With the patch, I get MapNotify right after I hit `C-z'. > That seems to be OK when I start with `emacs -Q', but it doesn't help > if I start emacs loading my custom stuff. So in your customized session the patch doesn't really solve the problem? Or did I misunderstand? > > Btw, what does "selecting again the hidden frame" mean, exactly? What > > gestures do you use to do that? And what is your window manager? > > [This seems to be a problem affecting only my window manager (GNOME Shell)] > > - After C-z, the frame dissapear from the screen. > - Note, there is no lower/upper bar with the APP iconified. > - To get such a frame again, you can do it in several ways: > 1. use shortcut to switch between apps (in my case M-TAB) > 2. if you the current focused window is another Emacs frame, then you > can use the shortcut to switch between windows of same app > (in my case M-`) > 3. Click upper-left corner menu 'Activities': now you can click in the > 'iconified' frame with the mouse > Any of those 1-3 send the MapNotify Now I'm confused: if MapNotify is sent when you use any of the 3 methods, then why doesn't the frame redisplay normally? Previously you said that MapNotify isn't received in this scenario. What am I missing? > I have tested with other window managers in several OSes (Centos 8.1, > Ubuntu 18.04/20.04). > All window managers but GNOME Shell send the MapNotify > _right after_ you land in the previously iconified frame; that is, I only > can reproduce the bug when I am using GNOME Shell. OK, thanks. Bhavin, are you also using the same window manager? From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 07 08:21:44 2020 Received: (at 42655) by debbugs.gnu.org; 7 Aug 2020 12:21:44 +0000 Received: from localhost ([127.0.0.1]:56088 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k41NN-0002Yu-0L for submit@debbugs.gnu.org; Fri, 07 Aug 2020 08:21:44 -0400 Received: from mail-ej1-f65.google.com ([209.85.218.65]:45007) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k41NK-0002Yc-A7 for 42655@debbugs.gnu.org; Fri, 07 Aug 2020 08:21:31 -0400 Received: by mail-ej1-f65.google.com with SMTP id bo3so1848130ejb.11 for <42655@debbugs.gnu.org>; Fri, 07 Aug 2020 05:21:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=b/ksvd+Y5pyU8lfCV9t/4+sB4+UxUU7zAOAAbV+e6IA=; b=dQMVq4LYeErwZ2j+DlyBauY1jNfy3ExF+6dKG5fqCA6SEwVtzzaTvi4Akq/zKqk9FD Pcf+Xcp6hCEdfi0UZEpvzMcj54G//98wIuLv0QQpCvY0v5f5ZpC3Moq8aT9zS1BrZx9c eswGbZ/o2bXL9xDwhYk0MwuoQZhvtK4kJk7WdgkkgRR5L++mMRoLD4tc/jfdohpJKMx7 d4ltGl5/xCuyq7NkLWbX0cp/XIYhDDuglKLtkHvo/MdQiZX3BZv9R+3cwtINUkf+PjSm uZvMyVY+l/55n9AHJuFzhXXYxBm+mK1xOzJ18bgZMT9p7V3iZXVESZT4NTGrw/8o6Q4c guUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=b/ksvd+Y5pyU8lfCV9t/4+sB4+UxUU7zAOAAbV+e6IA=; b=qzTu3P2rKzGmb447H4OS85IzEkB8Mo4UOWzaJ0XF91CfpDkZ2fTIl/WZCmhsZVtC94 DRqRr8KGua5t6taQNWkA3/NsMEv1Raj6jUhtHSoVC5oab9L4XpAicFi7hydoRNSummnn 8v6h3aEberYsREqiKBXKQn94uhyylwHt+/nJ02Npns1YpSGat1YNt28G4OoVZCExYiO+ RrSDfz/ZGqU3A4Jrivt9FyUe3wDBzv8Kmn2ZhfCPf7jz2o7wd1WspfAEc/iv0SXunWn8 5upr/UYe9CheuvYWkPQy+HxjtrNSe4j/zM+NHpULaoTFx5b56LglRBDPapgoujK6QZQ5 /kGA== X-Gm-Message-State: AOAM533z6/dExmgkyvEeb59CL1XpsMN1iKTwkHKwj2JX4wfhNJtelH7Y 3/9Dfsc3TLGdRfrWn7Z+C53i3et3xm5pwfL7zfs= X-Google-Smtp-Source: ABdhPJy7P1BqpUl88MCkxVooHmXJ8SZzCeP/YILmvQAwJq4FMUunhxDmgkV2fyE062l7ZLDskXTaFd6D4cct1whZtiQ= X-Received: by 2002:a17:906:fcdb:: with SMTP id qx27mr8819685ejb.421.1596802884223; Fri, 07 Aug 2020 05:21:24 -0700 (PDT) MIME-Version: 1.0 References: <87lfiycihg.fsf@calancha-pc.dy.bbexcite.jp> <87mu3dfb6z.fsf@gmail.com> <831rkpce1j.fsf@gnu.org> <83v9hz9mn2.fsf@gnu.org> <83tuxia3x1.fsf@gnu.org> <83lfiu9xes.fsf@gnu.org> <83h7ti9qmb.fsf@gnu.org> <83v9hx7x21.fsf@gnu.org> <874kpgj4z5.fsf@gmail.com> <83sgd08q2v.fsf@gnu.org> <871rkki44t.fsf@gmail.com> <83k0yb999n.fsf@gnu.org> <835z9v80iw.fsf@gnu.org> <87mu36wuch.fsf@gmail.com> <83wo2a7jb1.fsf@gnu.org> In-Reply-To: <83wo2a7jb1.fsf@gnu.org> From: Bhavin Gandhi Date: Fri, 7 Aug 2020 17:50:46 +0530 Message-ID: Subject: Re: bug#42655: 27.1; iconify-frame on a Lucid build may stuck the frame To: Eli Zaretskii Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 42655 Cc: 42655@debbugs.gnu.org, eggert@cs.ucla.edu, uyennhi.qm@gmail.com, monnier@iro.umontreal.ca, Tino Calancha X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On Fri, 7 Aug 2020 at 17:35, Eli Zaretskii wrote: > > I have tested with other window managers in several OSes (Centos 8.1, > > Ubuntu 18.04/20.04). > > All window managers but GNOME Shell send the MapNotify > > _right after_ you land in the previously iconified frame; that is, I only > > can reproduce the bug when I am using GNOME Shell. > > OK, thanks. Bhavin, are you also using the same window manager? Yes, I'm using GNOME on Wayland too. And I hit M-TAB to return to Emacs. From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 07 10:01:24 2020 Received: (at 42655) by debbugs.gnu.org; 7 Aug 2020 14:01:24 +0000 Received: from localhost ([127.0.0.1]:57363 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k42w0-0006H5-34 for submit@debbugs.gnu.org; Fri, 07 Aug 2020 10:01:24 -0400 Received: from mail-wm1-f45.google.com ([209.85.128.45]:55378) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k42vv-0006Gp-LQ for 42655@debbugs.gnu.org; Fri, 07 Aug 2020 10:01:22 -0400 Received: by mail-wm1-f45.google.com with SMTP id 9so1825384wmj.5 for <42655@debbugs.gnu.org>; Fri, 07 Aug 2020 07:01:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=FCl5GAXDxsgwSBFIZuVMHQDEz0LamguyHQ2B7Ue1afo=; b=pfWGxXUaJde5hiZxVvvnZoJsDU5PSOW9PY8EARcx4q6IizzWjXXk5zJh1259UfBuTz OZkt0dQI/WZ8zD0eOQCCPLUNFJXNTl+KDuKOwMeExu7OuL3KeEGF/a+Baw2J4+pj1WX+ ZohkH0Lh1ygc1ESQKPjSpIb20sMNxa1Iih8548ZazVT455TmVR7Bqqu/kAlwq1uVygJD 7ROm+C78OBm1kSn8XSFr8nhZqB6NfVJadmd73EeAFD96UAaB/fxtsYaYUgQEAfBm3KMW 0UB7J75j0t6lq13R/67t10hZy0OAsdump6lAgL+d0XsdYrBCqzqw7nhmx5NVG+uF8amh MZ+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=FCl5GAXDxsgwSBFIZuVMHQDEz0LamguyHQ2B7Ue1afo=; b=KqU7sc2zZFYzm8MbYp9FK31Y9p2J5MCzAKfQo1R9vMscnRB4vm92Y03J0rAic7XQAD +5Imanno67vo+DBuHrXrCGNW+GygVHNWWJo+H4Wrj15fK1knhSXLeDMDNXRiC6jxFjgF 13KLDRvzteNTzsAYdfqhn+GDKIY8EACpRFz6VXgdXL5XOZtXVCaTFzBd478JcHtlDrvQ KWXI2B8Rn1vEZzMMEHhho357aJHPCS2bQG2xl269dGnxljRk8Nd4UGUpplxIvm6FMKZ+ 0W85FLxCW/q5ssLDyUep4A0Y6cmUd0dZ+3FuSRkcH5dQZ1T3QCUtfs/FvIOy8/25K5PD fG4A== X-Gm-Message-State: AOAM531hInXJrldGyvn80hDqtv6/83zZ3SyoJauFAZiFM8zlj3RBGiqp QF0wZPKxVDQPzXwkln6E2JI= X-Google-Smtp-Source: ABdhPJwHLgfXk2evMhq0nyl/XDOB5aLAT9+1D3m0hrYbdbx9YhAzDFGzVC62ZC1SiZAlryS/NYBtEg== X-Received: by 2002:a1c:41c5:: with SMTP id o188mr13330979wma.187.1596808873721; Fri, 07 Aug 2020 07:01:13 -0700 (PDT) Received: from localhost.example.com (nat1.prg.suse.com. [195.250.132.148]) by smtp.gmail.com with ESMTPSA id c10sm9679357wrn.24.2020.08.07.07.01.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Aug 2020 07:01:12 -0700 (PDT) From: Tino Calancha To: Eli Zaretskii Subject: Re: bug#42655: 27.1; iconify-frame on a Lucid build may stuck the frame References: <87lfiycihg.fsf@calancha-pc.dy.bbexcite.jp> <83v9hz9mn2.fsf@gnu.org> <83tuxia3x1.fsf@gnu.org> <83lfiu9xes.fsf@gnu.org> <83h7ti9qmb.fsf@gnu.org> <83v9hx7x21.fsf@gnu.org> <874kpgj4z5.fsf@gmail.com> <83sgd08q2v.fsf@gnu.org> <871rkki44t.fsf@gmail.com> <83k0yb999n.fsf@gnu.org> <835z9v80iw.fsf@gnu.org> <87mu36wuch.fsf@gmail.com> <83wo2a7jb1.fsf@gnu.org> Date: Fri, 07 Aug 2020 16:01:11 +0200 In-Reply-To: <83wo2a7jb1.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 07 Aug 2020 15:05:22 +0300") Message-ID: <87r1siees8.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 42655 Cc: 42655@debbugs.gnu.org, eggert@cs.ucla.edu, uyennhi.qm@gmail.com, bhavin7392@gmail.com, monnier@iro.umontreal.ca X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eli Zaretskii writes: > So in your customized session the patch doesn't really solve the > problem? Or did I misunderstand? Exactly. My patches fixes _only_ an Emacs -Q session: for me, it doesn't work in a normal custom session. >> > Btw, what does "selecting again the hidden frame" mean, exactly? What >> > gestures do you use to do that? And what is your window manager? >> >> [This seems to be a problem affecting only my window manager (GNOME Shell)] >> >> - After C-z, the frame dissapear from the screen. >> - Note, there is no lower/upper bar with the APP iconified. >> - To get such a frame again, you can do it in several ways: >> 1. use shortcut to switch between apps (in my case M-TAB) >> 2. if you the current focused window is another Emacs frame, then you >> can use the shortcut to switch between windows of same app >> (in my case M-`) >> 3. Click upper-left corner menu 'Activities': now you can click in the >> 'iconified' frame with the mouse >> Any of those 1-3 send the MapNotify > > Now I'm confused: if MapNotify is sent when you use any of the 3 > methods, then why doesn't the frame redisplay normally? Sorry, for the confusion. It redisplay normally in a `emacs -Q` session only. > Previously > you said that MapNotify isn't received in this scenario. I have tested a rich casuistic: MapNotify is never recived in my 'custom sessions'. Following tables summarizes the situation: === window manager: GNOME Shell === --- unpatched Emacs-27 --- emacs -Q custom libs MapNotify at never never bug? yes yes --- Emacs-27 with patch --- emacs -Q custom libs MapNotify at iconify never bug? no yes === window manager: Other than GNOME Shell === --- unpatched Emacs-27 --- emacs -Q custom libs MapNotify at de-iconify de-iconify bug? no no [In this case patched/unpatched makes no difference] Except for GNOME Shell, for all win managers that I have tested, the MapNotify comes always at the moment of de-iconify. In Summary: - The bugs happens when Emacs is compiled with Lucid and run in an environment using GNOME Shell as window manager. - The patch works for `emacs -Q` - The patch doesn't work in my cursom sessions :-( Possible workarounds for me right row: 1. Use a different window manager. 2. Or, compile Emacs with GTK. From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 07 11:07:05 2020 Received: (at 42655) by debbugs.gnu.org; 7 Aug 2020 15:07:05 +0000 Received: from localhost ([127.0.0.1]:57416 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k43xZ-0007tM-Hd for submit@debbugs.gnu.org; Fri, 07 Aug 2020 11:07:05 -0400 Received: from eggs.gnu.org ([209.51.188.92]:36362) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k43xX-0007st-Aj for 42655@debbugs.gnu.org; Fri, 07 Aug 2020 11:07:03 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:55405) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k43xQ-0000yJ-PX; Fri, 07 Aug 2020 11:06:56 -0400 Received: from [176.228.60.248] (port=1694 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1k43xP-0000oB-1I; Fri, 07 Aug 2020 11:06:56 -0400 Date: Fri, 07 Aug 2020 18:06:49 +0300 Message-Id: <83pn827awm.fsf@gnu.org> From: Eli Zaretskii To: Tino Calancha In-Reply-To: <87r1siees8.fsf@gmail.com> (message from Tino Calancha on Fri, 07 Aug 2020 16:01:11 +0200) Subject: Re: bug#42655: 27.1; iconify-frame on a Lucid build may stuck the frame References: <87lfiycihg.fsf@calancha-pc.dy.bbexcite.jp> <83v9hz9mn2.fsf@gnu.org> <83tuxia3x1.fsf@gnu.org> <83lfiu9xes.fsf@gnu.org> <83h7ti9qmb.fsf@gnu.org> <83v9hx7x21.fsf@gnu.org> <874kpgj4z5.fsf@gmail.com> <83sgd08q2v.fsf@gnu.org> <871rkki44t.fsf@gmail.com> <83k0yb999n.fsf@gnu.org> <835z9v80iw.fsf@gnu.org> <87mu36wuch.fsf@gmail.com> <83wo2a7jb1.fsf@gnu.org> <87r1siees8.fsf@gmail.com> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 42655 Cc: 42655@debbugs.gnu.org, eggert@cs.ucla.edu, uyennhi.qm@gmail.com, bhavin7392@gmail.com, monnier@iro.umontreal.ca X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Tino Calancha > Cc: 42655@debbugs.gnu.org, eggert@cs.ucla.edu, uyennhi.qm@gmail.com, > bhavin7392@gmail.com, monnier@iro.umontreal.ca > Date: Fri, 07 Aug 2020 16:01:11 +0200 > > Following tables summarizes the situation: > > === window manager: GNOME Shell === > > --- unpatched Emacs-27 --- > emacs -Q custom libs > > MapNotify at never never > bug? yes yes > > --- Emacs-27 with patch --- > emacs -Q custom libs > > MapNotify at iconify never > bug? no yes > > > === window manager: Other than GNOME Shell === > > --- unpatched Emacs-27 --- > emacs -Q custom libs > > MapNotify at de-iconify de-iconify > bug? no no Thanks. Does anyone here have a clue why we don't get MapNotify in the GNOME Shell case? I'm afraid I'm almost out of my depth here. Tino, could you please use 'xev' to show which X events _are_ being delivered to Emacs after you press M-TAB or do any of the other 2 gestures that are supposed to de-iconify the frame? From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 08 07:53:06 2020 Received: (at 42655) by debbugs.gnu.org; 8 Aug 2020 11:53:06 +0000 Received: from localhost ([127.0.0.1]:58332 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k4NPN-0002sR-B7 for submit@debbugs.gnu.org; Sat, 08 Aug 2020 07:53:06 -0400 Received: from mail-wm1-f43.google.com ([209.85.128.43]:37990) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k4NPJ-0002ro-HU for 42655@debbugs.gnu.org; Sat, 08 Aug 2020 07:53:03 -0400 Received: by mail-wm1-f43.google.com with SMTP id t14so4139102wmi.3 for <42655@debbugs.gnu.org>; Sat, 08 Aug 2020 04:53:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=F3CqoqEGZV2vjq93UegAUO0cpx4kECRhzYEPxSng0Js=; b=va2gQu+3tc8bpVBZDTehWH5F/A+PMr3WY6m5TPd9q+XzNEJBSqRBbgKRIVmDyaXRuW kU96Txglw8mfNzn8QdPEtaXX3PyIbJUjkGkqVcWEwO78+6ChvQDquWwfWSAf12HywLWw 3vMiZhfkpzf9JIA0T9rE0qsg3BGdZ8rW//FJDsCUZNsp9xajh6L7klVOfQ6+hUxxP6Gj e7KQqaasbRY62IB3sQB7NxT6oPTdvqUXxLhyf78UPND/L+o3mUuX/YzHQuvvlp4gNyGw Q/YUYrhJwxBMhBzg7fnnJDIpxrg/sF35WSZ3yHjkVnHPqM6IlMyZSu1EsQnpHW2MfiBo 54Vg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=F3CqoqEGZV2vjq93UegAUO0cpx4kECRhzYEPxSng0Js=; b=mNaybg85FUgiXy8ADXLqVITQLtz1AKsP+XWJw0ueJ0nGzgxK4XC0oaadXG+zT6DUmS Vyf1z6P4TVmXLIrh8axMIkwgxq/DOqtIsJBYgP9GWWEsdY6yM80XyiE2qf0Ol28RqGJ3 N6teeV8VtvmmHMrk9nnE9jgiL214a1S33yCiXBX8/EqUhevSa8u19zOdTH9XmaupymhJ N5vsFqfDUKpZUezJmgYRgegYRkPTzkorAW/QFBS/FX3RlKzqs2nYB23QoUVULSFGNCwj tDNSwcx5CWYqua8mZAMdDKERgDN1M4o1Am3mJPPHSFoETqeQC/nyT4cfwv32Zop1CSlk OW+g== X-Gm-Message-State: AOAM530t+vRiBkoVgk5L4wWbTf+ASAFz1pxUrQnGA+DtXmuZDaZtid87 LGz2PENwkMQ9Di3LStgj11M= X-Google-Smtp-Source: ABdhPJx4uKGMv96obRN6J7swICfslc20KAxmkGufvc3B6zD2ARKyRLNYEsVsRBoW5891M1xguzAmQQ== X-Received: by 2002:a1c:81d1:: with SMTP id c200mr16745077wmd.162.1596887575160; Sat, 08 Aug 2020 04:52:55 -0700 (PDT) Received: from localhost.example.com (nat1.prg.suse.com. [195.250.132.148]) by smtp.gmail.com with ESMTPSA id e5sm14266599wrc.37.2020.08.08.04.52.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 08 Aug 2020 04:52:54 -0700 (PDT) From: Tino Calancha To: Eli Zaretskii Subject: Re: bug#42655: 27.1; iconify-frame on a Lucid build may stuck the frame References: <87lfiycihg.fsf@calancha-pc.dy.bbexcite.jp> <83tuxia3x1.fsf@gnu.org> <83lfiu9xes.fsf@gnu.org> <83h7ti9qmb.fsf@gnu.org> <83v9hx7x21.fsf@gnu.org> <874kpgj4z5.fsf@gmail.com> <83sgd08q2v.fsf@gnu.org> <871rkki44t.fsf@gmail.com> <83k0yb999n.fsf@gnu.org> <835z9v80iw.fsf@gnu.org> <87mu36wuch.fsf@gmail.com> <83wo2a7jb1.fsf@gnu.org> <87r1siees8.fsf@gmail.com> <83pn827awm.fsf@gnu.org> Date: Sat, 08 Aug 2020 13:52:53 +0200 In-Reply-To: <83pn827awm.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 07 Aug 2020 18:06:49 +0300") Message-ID: <87y2mpmk16.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 42655 Cc: 42655@debbugs.gnu.org, eggert@cs.ucla.edu, uyennhi.qm@gmail.com, bhavin7392@gmail.com, monnier@iro.umontreal.ca X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eli Zaretskii writes: > Does anyone here have a clue why we don't get MapNotify in the GNOME > Shell case? All window managers I have tested so far (except Gnome Shell) agree on the following: they send a 'VisibilityNotify event' when you select back the previously iconified window. Gnome Shell do not send such an event even when users choose 'Gnome Classic', which uses a panel that displays the iconified apps. [Design decision or Gnome bug? I haven't searched that much about this, but I think gnome Shell should send that event as everyone else: this migth affect other APPS, not only Emacs] > Tino, could you please use 'xev' to show which X events _are_ being > delivered to Emacs after you press M-TAB or do any of the other 2 > gestures that are supposed to de-iconify the frame? Here is the comparison between window managers. for easier navigations, I recommend to copy the following lines and display it inside Emacs in a org mode buffer: --8<-----------------------------cut here---------------start------------->8--- * xev: fluxbox ** C-z KeyRelease event, serial 21, synthetic NO, window 0x1a00027, root 0x215, subw 0x0, time 5924861, (981,179), root:(4949,427), state 0x10, keycode 105 (keysym 0xffe4, Control_R), same_screen YES, XLookupString gives 0 bytes: XFilterEvent returns: False KeyPress event, serial 21, synthetic NO, window 0x1a00027, root 0x215, subw 0x0, time 5924861, (981,179), root:(4949,427), state 0x10, keycode 105 (keysym 0xffe4, Control_R), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False KeyRelease event, serial 21, synthetic NO, window 0x1a00027, root 0x215, subw 0x0, time 5925229, (981,179), root:(4949,427), state 0x14, keycode 52 (keysym 0x7a, z), same_screen YES, XLookupString gives 1 bytes: (1a) "" XFilterEvent returns: False KeyPress event, serial 21, synthetic NO, window 0x1a00027, root 0x215, subw 0x0, time 5925229, (981,179), root:(4949,427), state 0x14, keycode 52 (keysym 0x7a, z), same_screen YES, XLookupString gives 1 bytes: (1a) "" XmbLookupString gives 1 bytes: (1a) "" XFilterEvent returns: False PropertyNotify event, serial 21, synthetic NO, window 0x1a00027, atom 0x1a8 (_NET_WM_ALLOWED_ACTIONS), time 5925236, state PropertyNewValue PropertyNotify event, serial 22, synthetic NO, window 0x1a00027, atom 0x19b (_NET_WM_STATE), time 5925237, state PropertyNewValue FocusOut event, serial 23, synthetic NO, window 0x1a00027, mode NotifyNormal, detail NotifyNonlinear PropertyNotify event, serial 23, synthetic NO, window 0x1a00027, atom 0x16d (WM_STATE), time 5925237, state PropertyNewValue UnmapNotify event, serial 23, synthetic NO, window 0x1a00027, event 0x1a00027, window 0x1a00027, from_configure NO ConfigureNotify event, serial 24, synthetic YES, window 0x1a00027, event 0x1a00027, window 0x1a00027, (3968,248), width 674, height 680, border_width 0, above 0x0, override NO ** De-iconify (M-TAB, M-`, click w/ mouse, etc) PropertyNotify event, serial 24, synthetic NO, window 0x1a00027, atom 0x1a8 (_NET_WM_ALLOWED_ACTIONS), time 5996447, state PropertyNewValue PropertyNotify event, serial 24, synthetic NO, window 0x1a00027, atom 0x19b (_NET_WM_STATE), time 5996447, state PropertyDelete MapNotify event, serial 24, synthetic NO, window 0x1a00027, event 0x1a00027, window 0x1a00027, override NO VisibilityNotify event, serial 24, synthetic NO, window 0x1a00027, state VisibilityPartiallyObscured PropertyNotify event, serial 24, synthetic NO, window 0x1a00027, atom 0x16d (WM_STATE), time 5996449, state PropertyNewValue VisibilityNotify event, serial 24, synthetic NO, window 0x1a00027, state VisibilityUnobscured FocusIn event, serial 24, synthetic NO, window 0x1a00027, mode NotifyWhileGrabbed, detail NotifyNonlinear KeymapNotify event, serial 24, synthetic NO, window 0x0, keys: 109 0 4294967168 0 0 0 0 0 0 0 0 0 0 16 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ConfigureNotify event, serial 24, synthetic NO, window 0x1a00027, event 0x1a00027, window 0x1a00027, (0,18), width 674, height 680, border_width 0, above 0x400eb4, override NO ConfigureNotify event, serial 24, synthetic YES, window 0x1a00027, event 0x1a00027, window 0x1a00027, (3968,248), width 674, height 680, border_width 0, above 0x0, override NO FocusIn event, serial 24, synthetic NO, window 0x1a00027, mode NotifyUngrab, detail NotifyAncestor KeymapNotify event, serial 24, synthetic NO, window 0x0, keys: 3 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 * xev: mate ** C-z KeyRelease event, serial 19, synthetic NO, window 0x3c00028, root 0x215, subw 0x0, time 1071389, (99,1997), root:(509,2158), state 0x10, keycode 105 (keysym 0xffe4, Control_R), same_screen YES, XLookupString gives 0 bytes: XFilterEvent returns: False KeyPress event, serial 19, synthetic NO, window 0x3c00028, root 0x215, subw 0x0, time 1071389, (99,1997), root:(509,2158), state 0x10, keycode 105 (keysym 0xffe4, Control_R), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False KeyRelease event, serial 22, synthetic NO, window 0x3c00028, root 0x215, subw 0x0, time 1071805, (99,1997), root:(509,2158), state 0x14, keycode 52 (keysym 0x7a, z), same_screen YES, XLookupString gives 1 bytes: (1a) "" XFilterEvent returns: False KeyPress event, serial 22, synthetic NO, window 0x3c00028, root 0x215, subw 0x0, time 1071805, (99,1997), root:(509,2158), state 0x14, keycode 52 (keysym 0x7a, z), same_screen YES, XLookupString gives 1 bytes: (1a) "" XmbLookupString gives 1 bytes: (1a) "" XFilterEvent returns: False PropertyNotify event, serial 22, synthetic NO, window 0x3c00028, atom 0x202 (_NET_WM_ALLOWED_ACTIONS), time 1071811, state PropertyNewValue FocusOut event, serial 22, synthetic NO, window 0x3c00028, mode NotifyNormal, detail NotifyNonlinear UnmapNotify event, serial 22, synthetic NO, window 0x3c00028, event 0x3c00028, window 0x3c00028, from_configure NO PropertyNotify event, serial 22, synthetic NO, window 0x3c00028, atom 0x1c0 (WM_STATE), time 1071812, state PropertyNewValue PropertyNotify event, serial 22, synthetic NO, window 0x3c00028, atom 0x17e (_NET_WM_STATE), time 1071812, state PropertyNewValue PropertyNotify event, serial 24, synthetic NO, window 0x3c00028, atom 0x17e (_NET_WM_STATE), time 1071813, state PropertyNewValue ** De-iconify (M-TAB, M-`, click w/ mouse, etc) PropertyNotify event, serial 24, synthetic NO, window 0x3c00028, atom 0x202 (_NET_WM_ALLOWED_ACTIONS), time 1140295, state PropertyNewValue MapNotify event, serial 24, synthetic NO, window 0x3c00028, event 0x3c00028, window 0x3c00028, override NO VisibilityNotify event, serial 24, synthetic NO, window 0x3c00028, state VisibilityUnobscured PropertyNotify event, serial 24, synthetic NO, window 0x3c00028, atom 0x1c0 (WM_STATE), time 1140303, state PropertyNewValue PropertyNotify event, serial 24, synthetic NO, window 0x3c00028, atom 0x17e (_NET_WM_STATE), time 1140303, state PropertyNewValue FocusIn event, serial 24, synthetic NO, window 0x3c00028, mode NotifyNormal, detail NotifyNonlinear KeymapNotify event, serial 24, synthetic NO, window 0x0, keys: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PropertyNotify event, serial 24, synthetic NO, window 0x3c00028, atom 0x17e (_NET_WM_STATE), time 1140305, state PropertyNewValue * xev: plasma-wayland ** C-z KeyRelease event, serial 19, synthetic NO, window 0x14000b5, root 0x3a1, subw 0x0, time 364008, (-1280,444), root:(1025,698), state 0x0, keycode 105 (keysym 0xffe4, Control_R), same_screen YES, XLookupString gives 0 bytes: XFilterEvent returns: False KeyPress event, serial 19, synthetic NO, window 0x14000b5, root 0x3a1, subw 0x0, time 364008, (-1280,444), root:(1025,698), state 0x0, keycode 105 (keysym 0xffe4, Control_R), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False KeyRelease event, serial 22, synthetic NO, window 0x14000b5, root 0x3a1, subw 0x0, time 364233, (-1280,444), root:(1025,698), state 0x4, keycode 52 (keysym 0x7a, z), same_screen YES, XLookupString gives 1 bytes: (1a) "" XFilterEvent returns: False KeyPress event, serial 22, synthetic NO, window 0x14000b5, root 0x3a1, subw 0x0, time 364233, (-1280,444), root:(1025,698), state 0x4, keycode 52 (keysym 0x7a, z), same_screen YES, XLookupString gives 1 bytes: (1a) "" XmbLookupString gives 1 bytes: (1a) "" XFilterEvent returns: False PropertyNotify event, serial 22, synthetic NO, window 0x14000b5, atom 0x152 (_NET_WM_STATE), time 364234, state PropertyNewValue FocusOut event, serial 22, synthetic NO, window 0x14000b5, mode NotifyNormal, detail NotifyNonlinear UnmapNotify event, serial 22, synthetic NO, window 0x14000b5, event 0x14000b5, window 0x14000b5, from_configure NO PropertyNotify event, serial 22, synthetic NO, window 0x14000b5, atom 0x108 (WM_STATE), time 364235, state PropertyNewValue PropertyNotify event, serial 22, synthetic NO, window 0x14000b5, atom 0x152 (_NET_WM_STATE), time 364235, state PropertyNewValue ** De-iconify (M-TAB, M-`, click w/ mouse, etc) PropertyNotify event, serial 23, synthetic NO, window 0x14000b5, atom 0x152 (_NET_WM_STATE), time 387978, state PropertyNewValue MapNotify event, serial 23, synthetic NO, window 0x14000b5, event 0x14000b5, window 0x14000b5, override NO VisibilityNotify event, serial 23, synthetic NO, window 0x14000b5, state VisibilityUnobscured PropertyNotify event, serial 23, synthetic NO, window 0x14000b5, atom 0x108 (WM_STATE), time 387979, state PropertyNewValue FocusIn event, serial 23, synthetic NO, window 0x14000b5, mode NotifyNormal, detail NotifyNonlinear KeymapNotify event, serial 23, synthetic NO, window 0x0, keys: 4294967221 0 0 0 0 0 0 0 0 0 0 0 0 16 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PropertyNotify event, serial 23, synthetic NO, window 0x14000b5, atom 0x152 (_NET_WM_STATE), time 387986, state PropertyNewValue * xev: gnome-shell-gnome-wayland ** C-z KeyRelease event, serial 20, synthetic NO, window 0x8000ba, root 0x3a0, subw 0x0, time 1658527, (-140,569), root:(873,742), state 0x0, keycode 105 (keysym 0xffe4, Control_R), same_screen YES, XLookupString gives 0 bytes: XFilterEvent returns: False KeyPress event, serial 20, synthetic NO, window 0x8000ba, root 0x3a0, subw 0x0, time 1658527, (-140,569), root:(873,742), state 0x0, keycode 105 (keysym 0xffe4, Control_R), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False KeyRelease event, serial 23, synthetic NO, window 0x8000ba, root 0x3a0, subw 0x0, time 1658687, (-140,569), root:(873,742), state 0x4, keycode 52 (keysym 0x7a, z), same_screen YES, XLookupString gives 1 bytes: (1a) "" XFilterEvent returns: False KeyPress event, serial 23, synthetic NO, window 0x8000ba, root 0x3a0, subw 0x0, time 1658687, (-140,569), root:(873,742), state 0x4, keycode 52 (keysym 0x7a, z), same_screen YES, XLookupString gives 1 bytes: (1a) "" XmbLookupString gives 1 bytes: (1a) "" XFilterEvent returns: False PropertyNotify event, serial 23, synthetic NO, window 0x8000ba, atom 0x12d (WM_STATE), time 1658695, state PropertyNewValue PropertyNotify event, serial 23, synthetic NO, window 0x8000ba, atom 0x10d (_NET_WM_STATE), time 1658695, state PropertyNewValue PropertyNotify event, serial 23, synthetic NO, window 0x8000ba, atom 0x193 (_GTK_EDGE_CONSTRAINTS), time 1658695, state PropertyNewValue FocusOut event, serial 23, synthetic NO, window 0x8000ba, mode NotifyNormal, detail NotifyNonlinear PropertyNotify event, serial 23, synthetic NO, window 0x8000ba, atom 0x10d (_NET_WM_STATE), time 1658695, state PropertyNewValue PropertyNotify event, serial 23, synthetic NO, window 0x8000ba, atom 0x193 (_GTK_EDGE_CONSTRAINTS), time 1658695, state PropertyNewValue PropertyNotify event, serial 24, synthetic NO, window 0x8000ba, atom 0x10d (_NET_WM_STATE), time 1658712, state PropertyNewValue PropertyNotify event, serial 24, synthetic NO, window 0x8000ba, atom 0x193 (_GTK_EDGE_CONSTRAINTS), time 1658712, state PropertyNewValue ** De-iconify (M-TAB, M-`, click w/ mouse, etc) PropertyNotify event, serial 24, synthetic NO, window 0x8000ba, atom 0x12d (WM_STATE), time 1703120, state PropertyNewValue PropertyNotify event, serial 24, synthetic NO, window 0x8000ba, atom 0x10d (_NET_WM_STATE), time 1703120, state PropertyNewValue PropertyNotify event, serial 24, synthetic NO, window 0x8000ba, atom 0x193 (_GTK_EDGE_CONSTRAINTS), time 1703120, state PropertyNewValue FocusIn event, serial 24, synthetic NO, window 0x8000ba, mode NotifyNormal, detail NotifyNonlinear KeymapNotify event, serial 24, synthetic NO, window 0x0, keys: 13 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PropertyNotify event, serial 24, synthetic NO, window 0x8000ba, atom 0x10d (_NET_WM_STATE), time 1703123, state PropertyNewValue PropertyNotify event, serial 24, synthetic NO, window 0x8000ba, atom 0x193 (_GTK_EDGE_CONSTRAINTS), time 1703123, state PropertyNewValue PropertyNotify event, serial 24, synthetic NO, window 0x8000ba, atom 0x10d (_NET_WM_STATE), time 1703145, state PropertyNewValue PropertyNotify event, serial 24, synthetic NO, window 0x8000ba, atom 0x193 (_GTK_EDGE_CONSTRAINTS), time 1703145, state PropertyNewValue * xev: gnome-shell-gnome-classic ** C-z KeyRelease event, serial 23, synthetic NO, window 0x22000ba, root 0x215, subw 0x0, time 609608, (-1390,576), root:(783,764), state 0x0, keycode 105 (keysym 0xffe4, Control_R), same_screen YES, XLookupString gives 0 bytes: XFilterEvent returns: False KeyPress event, serial 23, synthetic NO, window 0x22000ba, root 0x215, subw 0x0, time 609608, (-1390,576), root:(783,764), state 0x0, keycode 105 (keysym 0xffe4, Control_R), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False KeyRelease event, serial 23, synthetic NO, window 0x22000ba, root 0x215, subw 0x0, time 609768, (-1390,576), root:(783,764), state 0x4, keycode 52 (keysym 0x7a, z), same_screen YES, XLookupString gives 1 bytes: (1a) "" XFilterEvent returns: False KeyPress event, serial 23, synthetic NO, window 0x22000ba, root 0x215, subw 0x0, time 609768, (-1390,576), root:(783,764), state 0x4, keycode 52 (keysym 0x7a, z), same_screen YES, XLookupString gives 1 bytes: (1a) "" XmbLookupString gives 1 bytes: (1a) "" XFilterEvent returns: False PropertyNotify event, serial 23, synthetic NO, window 0x22000ba, atom 0x1bb (WM_STATE), time 609783, state PropertyNewValue PropertyNotify event, serial 23, synthetic NO, window 0x22000ba, atom 0x17e (_NET_WM_STATE), time 609783, state PropertyNewValue PropertyNotify event, serial 23, synthetic NO, window 0x22000ba, atom 0x1ca (_GTK_EDGE_CONSTRAINTS), time 609783, state PropertyNewValue FocusOut event, serial 23, synthetic NO, window 0x22000ba, mode NotifyNormal, detail NotifyNonlinear PropertyNotify event, serial 24, synthetic NO, window 0x22000ba, atom 0x17e (_NET_WM_STATE), time 609788, state PropertyNewValue PropertyNotify event, serial 24, synthetic NO, window 0x22000ba, atom 0x1ca (_GTK_EDGE_CONSTRAINTS), time 609788, state PropertyNewValue ** De-iconify (M-TAB, M-`, click w/ mouse, etc) PropertyNotify event, serial 24, synthetic NO, window 0x22000ba, atom 0x1bb (WM_STATE), time 657505, state PropertyNewValue PropertyNotify event, serial 24, synthetic NO, window 0x22000ba, atom 0x17e (_NET_WM_STATE), time 657505, state PropertyNewValue PropertyNotify event, serial 24, synthetic NO, window 0x22000ba, atom 0x1ca (_GTK_EDGE_CONSTRAINTS), time 657505, state PropertyNewValue FocusIn event, serial 24, synthetic NO, window 0x22000ba, mode NotifyWhileGrabbed, detail NotifyNonlinear KeymapNotify event, serial 24, synthetic NO, window 0x0, keys: 126 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 FocusIn event, serial 24, synthetic NO, window 0x22000ba, mode NotifyUngrab, detail NotifyNonlinear KeymapNotify event, serial 24, synthetic NO, window 0x0, keys: 3 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PropertyNotify event, serial 24, synthetic NO, window 0x22000ba, atom 0x17e (_NET_WM_STATE), time 657520, state PropertyNewValue PropertyNotify event, serial 24, synthetic NO, window 0x22000ba, atom 0x1ca (_GTK_EDGE_CONSTRAINTS), time 657520, state PropertyNewValue --8<-----------------------------cut here---------------end--------------->8--- From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 09 10:26:40 2020 Received: (at 42655) by debbugs.gnu.org; 9 Aug 2020 14:26:40 +0000 Received: from localhost ([127.0.0.1]:33257 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k4mHX-0006OR-QZ for submit@debbugs.gnu.org; Sun, 09 Aug 2020 10:26:40 -0400 Received: from eggs.gnu.org ([209.51.188.92]:38128) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k4mHT-0006O7-4G for 42655@debbugs.gnu.org; Sun, 09 Aug 2020 10:26:38 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:60606) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k4mHM-0004S7-F7; Sun, 09 Aug 2020 10:26:28 -0400 Received: from [176.228.60.248] (port=2717 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1k4mHJ-0002PB-Q1; Sun, 09 Aug 2020 10:26:26 -0400 Date: Sun, 09 Aug 2020 17:26:08 +0300 Message-Id: <83a6z36glb.fsf@gnu.org> From: Eli Zaretskii To: Tino Calancha In-Reply-To: <87y2mpmk16.fsf@gmail.com> (message from Tino Calancha on Sat, 08 Aug 2020 13:52:53 +0200) Subject: Re: bug#42655: 27.1; iconify-frame on a Lucid build may stuck the frame References: <87lfiycihg.fsf@calancha-pc.dy.bbexcite.jp> <83tuxia3x1.fsf@gnu.org> <83lfiu9xes.fsf@gnu.org> <83h7ti9qmb.fsf@gnu.org> <83v9hx7x21.fsf@gnu.org> <874kpgj4z5.fsf@gmail.com> <83sgd08q2v.fsf@gnu.org> <871rkki44t.fsf@gmail.com> <83k0yb999n.fsf@gnu.org> <835z9v80iw.fsf@gnu.org> <87mu36wuch.fsf@gmail.com> <83wo2a7jb1.fsf@gnu.org> <87r1siees8.fsf@gmail.com> <83pn827awm.fsf@gnu.org> <87y2mpmk16.fsf@gmail.com> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 42655 Cc: 42655@debbugs.gnu.org, eggert@cs.ucla.edu, uyennhi.qm@gmail.com, bhavin7392@gmail.com, monnier@iro.umontreal.ca X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Tino Calancha > Cc: 42655@debbugs.gnu.org, eggert@cs.ucla.edu, uyennhi.qm@gmail.com, > bhavin7392@gmail.com, monnier@iro.umontreal.ca > Date: Sat, 08 Aug 2020 13:52:53 +0200 > > Eli Zaretskii writes: > > > Does anyone here have a clue why we don't get MapNotify in the GNOME > > Shell case? > All window managers I have tested so far (except Gnome Shell) agree on the > following: > > they send a 'VisibilityNotify event' when you select back the previously > iconified window. Our code expects MapNotify. My reading of the code in xterm.c is that we do nothing special when we receive VisibilityNotify. I see in xterm.c that we already have some special treatment of the Gnome Shell, see below. Could you please put a breakpoint there, and tell why we don't set the frame's visible flag and don't reset its iconified flag when the PropertyNotify event is received? Your event log seems to indicate we get quite a few of PropertyNotify events when the frame is de-iconified. > Here is the comparison between window managers. > for easier navigations, I recommend to copy the > following lines and display it inside Emacs in a org mode buffer: Thanks, this is very useful. Here's the snippet from xterm.c that deals with PropertyNotify: case PropertyNotify: x_display_set_last_user_time (dpyinfo, event->xproperty.time); f = x_top_window_to_frame (dpyinfo, event->xproperty.window); if (f && event->xproperty.atom == dpyinfo->Xatom_net_wm_state) { bool not_hidden = x_handle_net_wm_state (f, &event->xproperty); if (not_hidden && FRAME_ICONIFIED_P (f)) { /* Gnome shell does not iconify us when C-z is pressed. It hides the frame. So if our state says we aren't hidden anymore, treat it as deiconified. */ SET_FRAME_VISIBLE (f, 1); SET_FRAME_ICONIFIED (f, false); f->output_data.x->has_been_visible = true; inev.ie.kind = DEICONIFY_EVENT; XSETFRAME (inev.ie.frame_or_window, f); } else if (! not_hidden && ! FRAME_ICONIFIED_P (f)) { SET_FRAME_VISIBLE (f, 0); SET_FRAME_ICONIFIED (f, true); inev.ie.kind = ICONIFY_EVENT; XSETFRAME (inev.ie.frame_or_window, f); } } x_handle_property_notify (&event->xproperty); xft_settings_event (dpyinfo, event); goto OTHER; From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 10 13:52:49 2020 Received: (at 42655) by debbugs.gnu.org; 10 Aug 2020 17:52:49 +0000 Received: from localhost ([127.0.0.1]:37467 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k5Byb-0004BX-D1 for submit@debbugs.gnu.org; Mon, 10 Aug 2020 13:52:49 -0400 Received: from mail-ej1-f68.google.com ([209.85.218.68]:45544) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k5ByZ-0004BJ-C0 for 42655@debbugs.gnu.org; Mon, 10 Aug 2020 13:52:48 -0400 Received: by mail-ej1-f68.google.com with SMTP id c16so10256344ejx.12 for <42655@debbugs.gnu.org>; Mon, 10 Aug 2020 10:52:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=c94BBymh5GDOL2kMj7IjHxWo5AVGBI32aSMC80EvRFk=; b=lVZVJ2Jo2y5HhXOq0i1H9fSKKnJCIkkRUn1b2JrHS2r1bG71CEIoQMqQ35eK70eLH5 UmrsRgkH6J5tikgFa1OSaTxP9OFQ53c+DHdgXifBJxVpTHLh+ktB07WfkHNMcs1Ie43d ZW3OGKg+NXSGD2w3OetY4QQ1xlNj/p8M+9+Z8/+4OEAvE2urq1mAgU7wgU/6XTnp3gQT 5biQIHIviL6tsc0IwuRl5abaQFlCCI2X/Xrargn9EiDJciUmE1qxFY9mffmGOY2nh+7J x78y5O0GgwnNn6RYjpbigTVgNdmk02FDVQ5fffwBqOQhPeK9jvRgyGUTvQmfo6aFtR1O QaSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=c94BBymh5GDOL2kMj7IjHxWo5AVGBI32aSMC80EvRFk=; b=pgNzcRMMDuMga9OjvlNKCcwnIwB6a4yr8kx7qkucf9b5z1yc3zHg+d2wWIPXeC3l4y o0Fk2RgSZmT8y4kd7g+5bv9LoFZ4Iondx+UHy2MT2ZTPr/rk6H5j5zNj5nWT7+RxRzRT 0QyBsaN7cb5vgCYh3bc+Bxk8mMXCyP9Z/q/dhISZvpUJKn9fJKfS279deQfkFVvU0OXy 33TGiujGAI8Mr3d/XylR3qPFtEP/4lY3GeJPbRBd5opqNayAUxIbl4frUdDemkBCS3BJ NksqfOV3swkdrwCNFeYNpmjHCMQVrfyKspz5FDYeNyEl0ua/A5fS+VVVsLd/WgUSybP0 xQHQ== X-Gm-Message-State: AOAM531LW0dBRGyjNjg/dd61p+bVVGkUMJO2178Kg2e07IEfH7VpZebh hRA6WmKKEWAr++tTjPpUCuk= X-Google-Smtp-Source: ABdhPJx0YCbqzXfQ+mFywgb3nJcHjMoDp8PRbvRB13xFHMhkmvJMAtGDm+RMVcO+QSiVEtNeWLcoRA== X-Received: by 2002:a17:906:3b18:: with SMTP id g24mr22220527ejf.508.1597081961275; Mon, 10 Aug 2020 10:52:41 -0700 (PDT) Received: from localhost.example.com ([31.7.242.222]) by smtp.gmail.com with ESMTPSA id o2sm4111690ejr.19.2020.08.10.10.52.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Aug 2020 10:52:40 -0700 (PDT) From: Tino Calancha To: Eli Zaretskii Subject: Re: bug#42655: 27.1; iconify-frame on a Lucid build may stuck the frame References: <87lfiycihg.fsf@calancha-pc.dy.bbexcite.jp> <83lfiu9xes.fsf@gnu.org> <83h7ti9qmb.fsf@gnu.org> <83v9hx7x21.fsf@gnu.org> <874kpgj4z5.fsf@gmail.com> <83sgd08q2v.fsf@gnu.org> <871rkki44t.fsf@gmail.com> <83k0yb999n.fsf@gnu.org> <835z9v80iw.fsf@gnu.org> <87mu36wuch.fsf@gmail.com> <83wo2a7jb1.fsf@gnu.org> <87r1siees8.fsf@gmail.com> <83pn827awm.fsf@gnu.org> <87y2mpmk16.fsf@gmail.com> <83a6z36glb.fsf@gnu.org> Date: Mon, 10 Aug 2020 19:52:39 +0200 In-Reply-To: <83a6z36glb.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 09 Aug 2020 17:26:08 +0300") Message-ID: <87o8ni9ymw.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 42655 Cc: eggert@cs.ucla.edu, monnier@iro.umontreal.ca, 42655@debbugs.gnu.org, dancol@dancol.org, uyennhi.qm@gmail.com, bhavin7392@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eli Zaretskii writes: CC Daniel whom might have some ideas. A bit of context. Some WMs (e.g. Mutter in Gnome Shell or Muffin) follow a new trend: they don't unmap windows when they are iconified. https://gitlab.gnome.org/GNOME/mutter/-/issues/185 Since they are never unmapped, the windows are not mapped back when they are deconified. This might cause an unresponsive frame in Lucid Emacs builds, because we redisplay when we get the MapNotify signal (that we don't receive in those WMs). Apparentely, GTK3 Emacs builds are not affected by this issue. > I see in xterm.c that we already have some special treatment of the > Gnome Shell, see below. Could you please put a breakpoint there, and > tell why we don't set the frame's visible flag and don't reset its > iconified flag when the PropertyNotify event is received? Your event > log seems to indicate we get quite a few of PropertyNotify events when > the frame is de-iconified. That break point is only reached while creating the frame or clicking the menu bars. Once the frame is created, I am not able to reach that part by minimize/unminimize. I have printed out `event->type` right before the switch(event->type) I enter the break point at PropertyNotify when `event->type` equals 28. The xev utility is printing out PropertyNotify for a bunch of different values of `event->type`, not just for 28. Naively, I can workaround this issue by checking for an iconified frame at FocusIn: this fixes this issue in both `emacs -Q` and my custom Emacs session. I am not sure if this is a convenient way. We might also want to make it more specific for checking some condition. --8<-----------------------------cut here---------------start------------->8--- commit d9b06705a045336e1ef307cdfd523a1d5cbb9e7a Author: Tino Calancha Date: Mon Aug 10 19:32:17 2020 +0200 Fix bug 42655 Some WMs (e.g. mutter in Gnome Shell) don't unmap iconized windows, thus we won't get a MapNotify when deconifying them. Check if we are deconifying a window elsewhere. - src/xterm.c (handle_one_xevent): Check for window deconify when receiving a FocusIn signal. diff --git a/src/xterm.c b/src/xterm.c index 6340700cb8..de1da2d4d4 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -8760,6 +8760,19 @@ handle_one_xevent (struct x_display_info *dpyinfo, goto OTHER; case FocusIn: + /* Some WMs (e.g. Mutter in Gnome Shell), don't unmap minimized/iconified windows; + thus, for those WMs we won't get a MapNotify when unminimizing/deconifying. + Check here if we are deconizing a window (Bug42655). */ + f = any; + if (f && FRAME_ICONIFIED_P (f)) + { + SET_FRAME_VISIBLE (f, 1); + SET_FRAME_ICONIFIED (f, false); + f->output_data.x->has_been_visible = true; + inev.ie.kind = DEICONIFY_EVENT; + XSETFRAME (inev.ie.frame_or_window, f); + } + x_detect_focus_change (dpyinfo, any, event, &inev.ie); goto OTHER; --8<-----------------------------cut here---------------end--------------->8--- In GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.21, cairo version 1.16.0) of 2020-08-09 built on localhost.example.com Repository revision: dcce2b57bb91d490787dffd437b61196f1029b41 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12008000 System Description: openSUSE Tumbleweed From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 12 12:50:56 2020 Received: (at 42655) by debbugs.gnu.org; 12 Aug 2020 16:50:56 +0000 Received: from localhost ([127.0.0.1]:45357 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k5txo-0000MM-B9 for submit@debbugs.gnu.org; Wed, 12 Aug 2020 12:50:56 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37088) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k5txh-0000Lm-Se for 42655@debbugs.gnu.org; Wed, 12 Aug 2020 12:50:50 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:37695) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k5txb-0005B5-Hi; Wed, 12 Aug 2020 12:50:43 -0400 Received: from [176.228.60.248] (port=2224 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1k5txa-0007qG-Ts; Wed, 12 Aug 2020 12:50:43 -0400 Date: Wed, 12 Aug 2020 19:50:32 +0300 Message-Id: <83a6yzolk7.fsf@gnu.org> From: Eli Zaretskii To: Tino Calancha In-Reply-To: <87o8ni9ymw.fsf@gmail.com> (message from Tino Calancha on Mon, 10 Aug 2020 19:52:39 +0200) Subject: Re: bug#42655: 27.1; iconify-frame on a Lucid build may stuck the frame References: <87lfiycihg.fsf@calancha-pc.dy.bbexcite.jp> <83lfiu9xes.fsf@gnu.org> <83h7ti9qmb.fsf@gnu.org> <83v9hx7x21.fsf@gnu.org> <874kpgj4z5.fsf@gmail.com> <83sgd08q2v.fsf@gnu.org> <871rkki44t.fsf@gmail.com> <83k0yb999n.fsf@gnu.org> <835z9v80iw.fsf@gnu.org> <87mu36wuch.fsf@gmail.com> <83wo2a7jb1.fsf@gnu.org> <87r1siees8.fsf@gmail.com> <83pn827awm.fsf@gnu.org> <87y2mpmk16.fsf@gmail.com> <83a6z36glb.fsf@gnu.org> <87o8ni9ymw.fsf@gmail.com> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 42655 Cc: eggert@cs.ucla.edu, monnier@iro.umontreal.ca, 42655@debbugs.gnu.org, dancol@dancol.org, uyennhi.qm@gmail.com, bhavin7392@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Tino Calancha > Cc: 42655@debbugs.gnu.org, eggert@cs.ucla.edu, uyennhi.qm@gmail.com, > bhavin7392@gmail.com, monnier@iro.umontreal.ca, dancol@dancol.org > Date: Mon, 10 Aug 2020 19:52:39 +0200 > > > I see in xterm.c that we already have some special treatment of the > > Gnome Shell, see below. Could you please put a breakpoint there, and > > tell why we don't set the frame's visible flag and don't reset its > > iconified flag when the PropertyNotify event is received? Your event > > log seems to indicate we get quite a few of PropertyNotify events when > > the frame is de-iconified. > That break point is only reached while creating the frame or clicking > the menu bars. Once the frame is created, I am not able to reach that > part by minimize/unminimize. > > I have printed out `event->type` right before the switch(event->type) > I enter the break point at PropertyNotify when `event->type` equals 28. > The xev utility is printing out PropertyNotify for a bunch of different > values of `event->type`, not just for 28. > > > Naively, I can workaround this issue by checking for an iconified frame at > FocusIn: this fixes this issue in both `emacs -Q` and my > custom Emacs session. That would be my next idea, so please go ahead and install this. And thanks for all the footwork in investigating this issue. > + /* Some WMs (e.g. Mutter in Gnome Shell), don't unmap minimized/iconified windows; > + thus, for those WMs we won't get a MapNotify when unminimizing/deconifying. > + Check here if we are deconizing a window (Bug42655). */ Please M-q in this comment, to make its lines shorter. From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 15 10:23:35 2020 Received: (at 42655-done) by debbugs.gnu.org; 15 Aug 2020 14:23:35 +0000 Received: from localhost ([127.0.0.1]:56088 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k6x5q-0007fJ-Rx for submit@debbugs.gnu.org; Sat, 15 Aug 2020 10:23:35 -0400 Received: from mail-ed1-f46.google.com ([209.85.208.46]:34035) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k6x5n-0007f4-9b for 42655-done@debbugs.gnu.org; Sat, 15 Aug 2020 10:23:32 -0400 Received: by mail-ed1-f46.google.com with SMTP id bs17so8917734edb.1 for <42655-done@debbugs.gnu.org>; Sat, 15 Aug 2020 07:23:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:references:date:in-reply-to:message-id:user-agent :mime-version; bh=A/r3A9Drqh20TRb5kUTzqGD7PTWa/240QLFyMUVdqRg=; b=vUqttAQ7CD6B/SwUMNkq241sqHsk9WfdWs0DiXI6zskS715QuV6eVLeFSQKN24zfx4 SSK73jNvoH/rrl9rM54tdVDL8j5OroZNMAlbjpOMHqYzIUjjHSrPp8NS/okwnwfMdbKl 1FcrVL9f3iBHRHhgBmqWmxmkqRQdOsbBvw7mV7A+RofPRGF7PZ316y17Zy9gThkOTCeg dQGQd5xAkYW94RYmtE0mVt1aWcCsoD76eJMuCZjBxYnteyYOpxdzOhoLqKOtpvdVkmFX fdaV9F37yFnFb035/UwGneLOsZj4egl5DWqYym4kS+kJj2ofS18TS1Dd2my+3ARB5DvQ YgAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=A/r3A9Drqh20TRb5kUTzqGD7PTWa/240QLFyMUVdqRg=; b=fALk3V2RiLgIfVobr0/bCi5HZHPG2c8lzAjcmOi3CWB+brukuakXyw/2kqsSep07dv ZJdvJCIk0m+ADsRm5HGMcewtjF+19vTfIkvalp2Ojlk9J+Hx2uatzo+M1SSeLY/GI89f rZXQPtteoGB3RkqXG8rfvIA9nXcFEId4PeeSQbLV7I1Zmoan6VvwQp2S7Bei3rg38U6z JcKU/voI4+I5PT6jqDrRPs54eyaM4lIa5WBxNleFPZwlKgnAxXqjczvrwGmx0/jiffO/ zpyZi39XPvo40xUF+bgtCiGLCKxohzTttXs+qg61+ykDtCP53aGnYBlaLS6Hfp3twNZv PGyQ== X-Gm-Message-State: AOAM5337Ny8ez7a1Eexg5urE4lkmqGQVJTLrrmcOBwlnQbey4IZnX0xo ysmD3yLbjchFTO/dcU8PxHgG+oB1A02R+g== X-Google-Smtp-Source: ABdhPJyVIfxYlNJgWSrW/Cew2o2PCRDIt9jNn6NTtLrNyTi2jfkQ+OJ2IIvHFzNCHlrWlZYWIYmEmA== X-Received: by 2002:a05:6402:44e:: with SMTP id p14mr7255938edw.1.1597501405232; Sat, 15 Aug 2020 07:23:25 -0700 (PDT) Received: from calancha-pc.dy.bbexcite.jp ([31.7.242.222]) by smtp.gmail.com with ESMTPSA id r19sm9347213edi.85.2020.08.15.07.23.23 for <42655-done@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 15 Aug 2020 07:23:24 -0700 (PDT) From: Tino Calancha To: 42655-done@debbugs.gnu.org Subject: Re: bug#42655: 27.1; iconify-frame on a Lucid build may stuck the frame References: <87lfiycihg.fsf@calancha-pc.dy.bbexcite.jp> <83h7ti9qmb.fsf@gnu.org> <83v9hx7x21.fsf@gnu.org> <874kpgj4z5.fsf@gmail.com> <83sgd08q2v.fsf@gnu.org> <871rkki44t.fsf@gmail.com> <83k0yb999n.fsf@gnu.org> <835z9v80iw.fsf@gnu.org> <87mu36wuch.fsf@gmail.com> <83wo2a7jb1.fsf@gnu.org> <87r1siees8.fsf@gmail.com> <83pn827awm.fsf@gnu.org> <87y2mpmk16.fsf@gmail.com> <83a6z36glb.fsf@gnu.org> <87o8ni9ymw.fsf@gmail.com> <83a6yzolk7.fsf@gnu.org> Date: Sat, 15 Aug 2020 16:23:18 +0200 In-Reply-To: <83a6yzolk7.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 12 Aug 2020 19:50:32 +0300") Message-ID: <87imdkc7jd.fsf@calancha-pc.dy.bbexcite.jp> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 42655-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eli Zaretskii writes: >> Naively, I can workaround this issue by checking for an iconified frame at >> FocusIn: this fixes this issue in both `emacs -Q` and my >> custom Emacs session. > > That would be my next idea, so please go ahead and install this. And > thanks for all the footwork in investigating this issue. Thank you for your guidance. It was crucial. Pushed fix into emacs-27 branch as commit 'Prevent from frozen frame after `C-z' in Lucid builds' (3c4edfd85ee8f49e40715a400a1fc65950e07482) From unknown Fri Aug 15 17:19:45 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 13 Sep 2020 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator