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#44180: 28.0.50; Emacs frames won't redisplay unless resized Date: Tue, 27 Oct 2020 20:45:58 +0200 Message-ID: <83eeljecd5.fsf@gnu.org> References: <87wnzgkdsj.fsf@ericabrahamsen.net> <83k0vgiyub.fsf@gnu.org> <87k0vgkbgq.fsf@ericabrahamsen.net> <83eeloivgc.fsf@gnu.org> <87lffw1wjv.fsf@ericabrahamsen.net> <7f32498b-1293-f1ee-5636-8ddd5bbff6c1@gmx.at> <87h7qjpeam.fsf@ericabrahamsen.net> <831rhmgx6x.fsf@gnu.org> <874kmipa5r.fsf@ericabrahamsen.net> <9ee49070-b0be-a775-18a2-3c9ee587210b@gmx.at> <87tuugn4ty.fsf@ericabrahamsen.net> <87sg9z1qup.fsf@ericabrahamsen.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1312"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 44180@debbugs.gnu.org To: Eric Abrahamsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Oct 27 19:48:08 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 1kXU0t-0000D6-NH for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 27 Oct 2020 19:48:07 +0100 Original-Received: from localhost ([::1]:39272 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kXU0s-0002As-Pu for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 27 Oct 2020 14:48:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35492) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kXTzq-0001Jj-M4 for bug-gnu-emacs@gnu.org; Tue, 27 Oct 2020 14:47:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34313) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kXTzq-0006SR-C0 for bug-gnu-emacs@gnu.org; Tue, 27 Oct 2020 14:47:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kXTzq-0008IF-9x for bug-gnu-emacs@gnu.org; Tue, 27 Oct 2020 14:47: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: Tue, 27 Oct 2020 18:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44180 X-GNU-PR-Package: emacs Original-Received: via spool by 44180-submit@debbugs.gnu.org id=B44180.160382437429202 (code B ref 44180); Tue, 27 Oct 2020 18:47:02 +0000 Original-Received: (at 44180) by debbugs.gnu.org; 27 Oct 2020 18:46:14 +0000 Original-Received: from localhost ([127.0.0.1]:45852 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kXTz4-0007aX-3O for submit@debbugs.gnu.org; Tue, 27 Oct 2020 14:46:14 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:35180) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kXTz0-0007SS-GJ for 44180@debbugs.gnu.org; Tue, 27 Oct 2020 14:46:12 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:56006) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kXTyu-0006Oa-GB; Tue, 27 Oct 2020 14:46:04 -0400 Original-Received: from [176.228.60.248] (port=3443 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kXTyt-0001Vw-Sg; Tue, 27 Oct 2020 14:46:04 -0400 In-Reply-To: <87sg9z1qup.fsf@ericabrahamsen.net> (message from Eric Abrahamsen on Tue, 27 Oct 2020 11:11:26 -0700) 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:191765 Archived-At: > From: Eric Abrahamsen > Cc: Eli Zaretskii , 44180@debbugs.gnu.org > Date: Tue, 27 Oct 2020 11:11:26 -0700 > > I think I'm going to need more help here, though. I have built master > with optimizations off, I start GDB in a controlling emacs, set a > breakpoint at xdisp.c:34381 at the beginning of expose_frame, and then > "run -Q". > > That pops up a new frame, and we hit the breakpoint. That's the initial frame, isn't it? If so, this is not the frame we want, we want a frame that was obscured and then gets the focus. To save yourself from a lot of unwanted breakpoint hits, I suggest this paradigm: $ gdb ./emacs (gdb) break Frecenter (gdb) r -Q Inside Emacs: M-x blink-cursor-mode RET M-x global-eldoc-mode RET Now create one or more other frames and make them obscured ("iconified"). Now type C-l -- this will hit the breakpoint in Frecenter, and GDB will kick in. Then set a breakpoint in expose_frame and type "continue". Finally, switch to a frame that was obscured: does the breakpoint in expose_frame break, and if so, is Emacs told to expose the correct frame, the one that was obscured and is going to become visible? If it's the correct frame, show the backtrace. Then do all this again, but after reverting the change which causes the problem. By comparing the backtraces and the behavior, we might begin to understand how this change causes the problem in your case. Thanks.