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#71343: 30.0.50; TTY frame doesn't automatically redisplay itself after having closed another frame Date: Mon, 03 Jun 2024 19:31:02 +0300 Message-ID: <86jzj6kmyh.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12239"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 71343@debbugs.gnu.org To: Daniel Clemente Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jun 03 18:39:26 2024 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 1sEAiT-0002yU-L7 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 03 Jun 2024 18:39:25 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sEAhy-0001Oy-0V; Mon, 03 Jun 2024 12:38:54 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sEAhu-0001Nz-OS for bug-gnu-emacs@gnu.org; Mon, 03 Jun 2024 12:38:50 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sEAhu-0001TY-Gw for bug-gnu-emacs@gnu.org; Mon, 03 Jun 2024 12:38:50 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sEAi7-0002sW-Bo for bug-gnu-emacs@gnu.org; Mon, 03 Jun 2024 12:39:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 03 Jun 2024 16:39:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71343 X-GNU-PR-Package: emacs Original-Received: via spool by 71343-submit@debbugs.gnu.org id=B71343.171743271110955 (code B ref 71343); Mon, 03 Jun 2024 16:39:03 +0000 Original-Received: (at 71343) by debbugs.gnu.org; 3 Jun 2024 16:38:31 +0000 Original-Received: from localhost ([127.0.0.1]:48494 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sEAha-0002qb-TS for submit@debbugs.gnu.org; Mon, 03 Jun 2024 12:38:31 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:56902) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sEAhW-0002pR-W4 for 71343@debbugs.gnu.org; Mon, 03 Jun 2024 12:38:27 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sEAaR-0006nw-Mb; Mon, 03 Jun 2024 12:31:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=Y4Izrzk9LLMlzsoziTl+B19XnCkA9Je5LpRgF53q4F8=; b=WRRKgwepYN0t 611Sw9aZ0qGC0QevEQjk8XkOL9uhbYzuU3u1A4JJqtS4S4kEKTztNqYq1ChtbWoOE5t9VA3GtDEYe 2r/TwUwO4XTAsreS1ocwBNmsxz6hHy3Eq0ILoc4Ws6/dYMeXTdc3yIhQLrDBvE2pxwu7/uOWR2n+X PPNdNut77Qf969u+PjEldP6ATIvzlPCSdYrTSw9zBFrgB7A8JXKbvno/9gogZxZDZWDfXfB85YXHf ZPtDkHJA7REt6yDCxgCo5JKZ2WKrkh8JfD8DLcZywap5hjWmUsrKzuN+XTqx1MHdkS1yUNZlvmg/+ iDGg22AZM/MzSN3hiy4pPw==; In-Reply-To: (message from Daniel Clemente on Mon, 3 Jun 2024 15:33:16 +0000) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:286467 Archived-At: > From: Daniel Clemente > Date: Mon, 3 Jun 2024 15:33:16 +0000 > > 1. Launch emacs --daemon -Q > 2. Using my tiling window manager "wmii", I divide the screen in a > left part and a right part. Each one has other non-Emacs windows > 3. In the left side, I press a key to launch a terminal with TTY > emacs. I use a command like this: urxvtcd -e emacsclient -c & > 4. I move focus to the right side, I launch another > terminal+emacsclient with the same command > 5. Sanity check; verifying that everything works: I move to the left > terminal and press wmii keys to make the terminal wider or thinner. It > works as expected, it redisplays; Emacs uses all available space > inside the X window > 6. Now I go to the right side. I press a key to kill the terminal > running emacsclient. Now only the terminal in the left side remains > 7. I move to the left side (pressing a wmii key) and I press the wmii > keys to make the terminal wider or thinner (same as step 5). wmii > obeys, the X windows change size as expected. > 8. However, the Emacs TTY frame isn't redisplayed: if I made it wider, > the new area at the right of the frame is shown in black (it sometimes > shows garbage from previous attempts). The mode line doesn't extend to > the right. If I make it thinner, the text isn't readjusted to the new > line length. Etc. The cursor keeps blinking. > 9. I can keep circulating through other X windows and come back to > this X window, and try to resize it again. It still doesn't redisplay. > Pressing Ctrl also doesn't redisplay it > 10. Only when I press a non-modifier key (e.g. right arrow) or I move > the mouse, it redisplays and starts using the whole X window > > > Note that step 6 is essential. This issue only appears immediately > after having killed another emacslient. It doesn't happen e.g. after > killing another type of X window. Or after having shuffled the X > windows (moving the terminal around, left/right, without killing it). > It's just after killing a frame. What do you mean by "kill the terminal running emacsclient" in step 6? Also, since you mention the window manager, does it mean the problem doesn't happen with other window managers, if you start 2 emacsclient sessions with the same daemon and then "kill" (whatever that means) one of these two sessions?