From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#42655: 27.1; iconify-frame on a Lucid build may stuck the frame Date: Fri, 07 Aug 2020 15:05:22 +0300 Message-ID: <83wo2a7jb1.fsf@gnu.org> 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> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14424"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 42655@debbugs.gnu.org, eggert@cs.ucla.edu, uyennhi.qm@gmail.com, bhavin7392@gmail.com, monnier@iro.umontreal.ca To: Tino Calancha Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Aug 07 14:06:15 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k418Y-0003fJ-8c for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 07 Aug 2020 14:06:14 +0200 Original-Received: from localhost ([::1]:53002 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k418X-00025w-AA for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 07 Aug 2020 08:06:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36288) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k418M-00025k-JV for bug-gnu-emacs@gnu.org; Fri, 07 Aug 2020 08:06:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44497) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k418M-0005KH-A3 for bug-gnu-emacs@gnu.org; Fri, 07 Aug 2020 08:06:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k418M-0008Ow-3r for bug-gnu-emacs@gnu.org; Fri, 07 Aug 2020 08:06:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 07 Aug 2020 12:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42655 X-GNU-PR-Package: emacs Original-Received: via spool by 42655-submit@debbugs.gnu.org id=B42655.159680194132263 (code B ref 42655); Fri, 07 Aug 2020 12:06:02 +0000 Original-Received: (at 42655) by debbugs.gnu.org; 7 Aug 2020 12:05:41 +0000 Original-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 Original-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 Original-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 Original-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 In-Reply-To: <87mu36wuch.fsf@gmail.com> (message from Tino Calancha on Fri, 07 Aug 2020 13:47:42 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:184270 Archived-At: > 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?