From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Tino Calancha Newsgroups: gmane.emacs.bugs Subject: bug#42655: 27.1; iconify-frame on a Lucid build may stuck the frame Date: Fri, 07 Aug 2020 16:01:11 +0200 Message-ID: <87r1siees8.fsf@gmail.com> 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> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5187"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 42655@debbugs.gnu.org, eggert@cs.ucla.edu, uyennhi.qm@gmail.com, bhavin7392@gmail.com, monnier@iro.umontreal.ca To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Aug 07 16:02:11 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 1k42wl-0001EH-Iz for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 07 Aug 2020 16:02:11 +0200 Original-Received: from localhost ([::1]:33026 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k42wk-0002Ms-L8 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 07 Aug 2020 10:02:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60294) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k42wc-0002MX-Bo for bug-gnu-emacs@gnu.org; Fri, 07 Aug 2020 10:02:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45817) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k42wc-00020q-2n for bug-gnu-emacs@gnu.org; Fri, 07 Aug 2020 10:02:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k42wc-0006Hz-0w for bug-gnu-emacs@gnu.org; Fri, 07 Aug 2020 10:02:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Tino Calancha Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 07 Aug 2020 14:02:01 +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.159680888424127 (code B ref 42655); Fri, 07 Aug 2020 14:02:01 +0000 Original-Received: (at 42655) by debbugs.gnu.org; 7 Aug 2020 14:01:24 +0000 Original-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 Original-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 Original-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) Original-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) In-Reply-To: <83wo2a7jb1.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 07 Aug 2020 15:05:22 +0300") 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:184281 Archived-At: 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.