From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B80A83858CDA; Wed, 11 Sep 2024 16:11:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B80A83858CDA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1726071097; bh=7PcBfP4LPtMrKASjyRaMBCCgUt9vkKe+jQLuIgPzSUA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Ag9r/kjlqO5vDgDX7RufcdrWdJRdCz/Fgx/Di79oahsBn9165aJpcl0UhU6hoDn7J 9e8ko6kl1KEHmLCJ4IEtFY+jn+dVNrFw7XeI1GhXi29zUx0XRudvK5YGpTiQi1SBwA /iLufkkw2ZpRCLApXIF9l4t4+gcwXIbrO1vNrISA= From: "ssbssa at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug python/32162] Add visible/hidden callbacks to Python TUI windows Date: Wed, 11 Sep 2024 16:11:35 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: python X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ssbssa at sourceware dot org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D32162 --- Comment #6 from Hannes Domani --- (In reply to Tom Tromey from comment #5) > (In reply to Hannes Domani from comment #4) > > (In reply to Tom Tromey from comment #1) > > > gdb doesn't really distinguish between the reasons that a TUI > > > window might be hidden or shown. Like, switching layouts > > > or exiting the TUI both just result in window destruction. > >=20 > > AFAIK that's not how it's working now. > > A TUI window is only destroyed when the layout is switched, but not when > > leaving TUI. >=20 > Ok, that's actually a bit surprising then. > Maybe that's the change we should make. Actually, I like the behavior like this. I often switch to CLI if I expect some command to have more than a few line= s of output. And when I switch back to TUI, everything is as I left it. But if the windows are destroyed when leaving TUI, that's no longer possibl= e. --=20 You are receiving this mail because: You are on the CC list for the bug.=