From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?=E0=A4=B8=E0=A4=AE=E0=A5=80=E0=A4=B0_?= =?UTF-8?Q?=E0=A4=B8=E0=A4=BF=E0=A4=82=E0=A4=B9?= Sameer Singh Newsgroups: gmane.emacs.bugs Subject: bug#58424: [PATCH] Ensure emacs-pgtk does not get stuck after iconify-frame Date: Tue, 11 Oct 2022 06:11:55 +0530 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000a3f7d205eab78b2e" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36207"; mail-complaints-to="usenet@ciao.gmane.io" To: 58424@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Oct 11 02:43:12 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oi3MU-00098C-Hr for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 11 Oct 2022 02:43:10 +0200 Original-Received: from localhost ([::1]:47216 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oi3MT-0006lf-AM for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 10 Oct 2022 20:43:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43126) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oi3MN-0006lS-9C for bug-gnu-emacs@gnu.org; Mon, 10 Oct 2022 20:43:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51267) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oi3MM-0001U6-Q4 for bug-gnu-emacs@gnu.org; Mon, 10 Oct 2022 20:43:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oi3MM-0005fv-HF for bug-gnu-emacs@gnu.org; Mon, 10 Oct 2022 20:43:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?=E0=A4=B8=E0=A4=AE=E0=A5=80=E0=A4=B0_?= =?UTF-8?Q?=E0=A4=B8=E0=A4=BF=E0=A4=82=E0=A4=B9?= Sameer Singh Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 11 Oct 2022 00:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 58424 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.166544893221750 (code B ref -1); Tue, 11 Oct 2022 00:43:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 11 Oct 2022 00:42:12 +0000 Original-Received: from localhost ([127.0.0.1]:50345 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oi3LX-0005ek-Rh for submit@debbugs.gnu.org; Mon, 10 Oct 2022 20:42:12 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:41698) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oi3LV-0005ec-Cm for submit@debbugs.gnu.org; Mon, 10 Oct 2022 20:42:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34672) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oi3LV-0006TE-6p for bug-gnu-emacs@gnu.org; Mon, 10 Oct 2022 20:42:09 -0400 Original-Received: from mail-yb1-xb2a.google.com ([2607:f8b0:4864:20::b2a]:38519) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oi3LT-0001O3-Ju for bug-gnu-emacs@gnu.org; Mon, 10 Oct 2022 20:42:08 -0400 Original-Received: by mail-yb1-xb2a.google.com with SMTP id r3so39235yba.5 for ; Mon, 10 Oct 2022 17:42:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=geTlIl+4nJ16/23rYSmVhjRVEf6+vj8G1O40s48XioA=; b=nssZO/HFPk4wcrBPuvpoVGpVfXdlX/HWltpvoQMkb1BC+hzvu6C2HKCa2ahj8WMgs8 wsv73yeXIMRRx2zlXzstJ0c6M/ut6thvhh6+gZE910m1n6DRqlrdDO4Tv/6OBo8NFNl/ zY9+SOcugUg2tWrX8LwO8lazEDi7sXXqhxNNGhL/E8akTtiXd8uI4KMA2A8hzYLAdLOB QVJvdHbTzwY4xnZ/G2aBiNA8BMf73VLAlEHJngwZYQk7J+/WTh3FOarqfvu7LshTl03z KJj5X8QRKFJwt9PLDnT/rlB5S1RnNNpQPW4oNhwRjUroei+4wjxJLVziJDYKY9Z+I6UP kU4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=geTlIl+4nJ16/23rYSmVhjRVEf6+vj8G1O40s48XioA=; b=DFDGZ2NIKMFlBH5/84MLXiiaS+Avlzy0v+ErUWsMuML0ROwVt/mI1S/IV71DrGPq0w RtA5PpY2PbIMny+0pOqICwtR5y9N1jZKQ8nO7rSzrru23mQ2DjT3wIIKIZiYTNGhXwYl lQeEWT4aJCcykgrxjLbxthygBhzwjf6EVHTW9N/5HHjxL7OZsjvTONKwUtN4getoJU+0 QZVgskMXsAmqGK6MextyQLgbtsxlqRzvgDcTO3U8PsqatJ/V0uUQCcS9mJrBWjmz4dGT 6iO0Ediu+Slq7sJwZQjg5XpsUVQAEMUvdLd21cd+t17ejRGufazb9JsIIymnSi3Km9Az S2TA== X-Gm-Message-State: ACrzQf27ON2ga7GOyoxIYIXD4ABoSGqZOn9OjygAOn16Pr0RsSw5UNM0 5zzjEaZkFVxJiWz62qXXEgjy5fzWFlNRgW+NUziNfACSjOE= X-Google-Smtp-Source: AMsMyM5NqU5IogTcxdlXPJRLIuDTFN+6yflGsX6eiSoNzU21/rmkg4J750rUT7klA5EsW58L2lFWgcca6aaBdw4dNEs= X-Received: by 2002:a05:6902:1001:b0:6be:820d:a0de with SMTP id w1-20020a056902100100b006be820da0demr21077487ybt.240.1665448926245; Mon, 10 Oct 2022 17:42:06 -0700 (PDT) Received-SPF: pass client-ip=2607:f8b0:4864:20::b2a; envelope-from=lumarzeli30@gmail.com; helo=mail-yb1-xb2a.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:245071 Archived-At: --000000000000a3f7d205eab78b2e Content-Type: text/plain; charset="UTF-8" steps to reproduce 1. configure emacs to use pgtk 2. emacs -Q 3. C-z or M-x iconify-frame 4. Restore emacs by clicking on its icon Emacs does not display characters any more. I believe this bug is similar to bug#42655 except this time it is for pgtk and not lucid. I believe I have fixed this problem and will attach a patch in the next mail, but the thing is I have no idea how I fixed it so please check for any unintended consequences. Thanks --000000000000a3f7d205eab78b2e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
steps to reproduce
1. configure emacs to us= e pgtk
2. emacs -Q
3. C-z or M-x iconify-frame
4. Restore emacs by clicking on its icon
Emacs does not display= characters any more.

I believe this bug is simila= r to bug#42655 except this time it is for pgtk and not lucid.
I believe I have fixed this problem and will attach a patch in = the next mail, but the thing is I have no idea how I fixed it so please che= ck for any unintended consequences.

Thanks
--000000000000a3f7d205eab78b2e--