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.devel Subject: Re: master cc29fab3a6: Redisplay "invisible" frames that are actually visible on modern X Date: Tue, 27 Dec 2022 18:48:50 +0200 Message-ID: <83fsd023nx.fsf@gnu.org> References: <167204147913.11300.799159655252309055@vcs2.savannah.gnu.org> <20221226075759.AAF44C00613@vcs2.savannah.gnu.org> <83o7rp0xn1.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17722"; mail-complaints-to="usenet@ciao.gmane.io" Cc: luangruo@yahoo.com, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Dec 27 17:49:10 2022 Return-path: Envelope-to: ged-emacs-devel@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 1pAD8Y-0004Q1-4E for ged-emacs-devel@m.gmane-mx.org; Tue, 27 Dec 2022 17:49:10 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pAD8A-0004u3-Bv; Tue, 27 Dec 2022 11:48:46 -0500 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 1pAD88-0004tc-PE for emacs-devel@gnu.org; Tue, 27 Dec 2022 11:48:44 -0500 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 1pAD88-0000Mw-Bo; Tue, 27 Dec 2022 11:48:44 -0500 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=76dOCDvlqEjYXi+OGxz6chVQXlgBBO8beaaV8IvAAp0=; b=G18qa/8JeSfJ bNFkuLxl63U+yk5Hd0k+wNRNZnuE1UNojjFb6whBUHp3w30RPiR4fnvppVvjy71T1QiKocbzF4pfd jgkmRhngduZywuN6YwIDSYx8Y2JmXOaJoCYJr1CzFsbBC8pbwh11sxrpgccBLzS6Z6tt8cjW5dPHF rnklZS8K01EuXfkrChVaKiR7/75f2ucGDRkHmlZZ+7gMUnuoRaVjRcjXZDaXsUMyXRBCiuSIgZv1T htY75OzXr7nTrbwup0PvcxHTYpLihROLHAxcL3kKnMyQY/qItXB4cBpjIg3C2Dwwp9g0zxYw+ajPc iJsQfgvRki9NgqD6HDnfNQ==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pAD87-0001pj-SG; Tue, 27 Dec 2022 11:48:44 -0500 In-Reply-To: (message from Stefan Monnier on Tue, 27 Dec 2022 10:29:19 -0500) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:301970 Archived-At: > From: Stefan Monnier > Cc: luangruo@yahoo.com, emacs-devel@gnu.org > Date: Tue, 27 Dec 2022 10:29:19 -0500 > > >> FWIW, while this sounds about right for `icon`ified frames, for those > >> frames that are marked as actually invisible, I think we should try and > >> keep them as invisible as possible. > > > > I'm not sure I agree. I believe this could belong to some new GUI > > ideas (all of which are invariably copy-cat'ed from MS-Windows ;-), > > whereby you have a means of showing a small-but-still-readable image > > of an otherwise invisible frame, e.g., by hovering the mouse above > > some desktop icon or widget. > > If there's some representation of that frame somewhere on the screen, > then I think it belongs in the `icon`ified state, not the > `invisible` state. You'd be surprised how visible can "invisible" frames be, on some modern desktops. > Rather than rely on "optional feature", would it be possible to rely on > "expose events" to detect when an iconified frame needs to be updated? I'm not sure such events are delivered in these cases, but Po Lu will probably know.