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 15:44:18 +0200 Message-ID: <83o7rp0xn1.fsf@gnu.org> References: <167204147913.11300.799159655252309055@vcs2.savannah.gnu.org> <20221226075759.AAF44C00613@vcs2.savannah.gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15206"; 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 14:44:53 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 1pAAGC-0003gF-Nf for ged-emacs-devel@m.gmane-mx.org; Tue, 27 Dec 2022 14:44:53 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pAAFZ-000090-LN; Tue, 27 Dec 2022 08:44:13 -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 1pAAFY-00008q-C2 for emacs-devel@gnu.org; Tue, 27 Dec 2022 08:44:12 -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 1pAAFY-0005p8-31; Tue, 27 Dec 2022 08:44:12 -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=ZSdLVotRltcuTTtNd7WbL6pgnwVjt+YHubjXvyQtZKM=; b=TBKlRRDtZcbA NgBolPcQ70JKxecOC0x8HUJct5RT79po5qWYClQS5MBl2ax1ex2lmmFP67bVomtSYm8dlSziyMmvu cjN+aGZuLKCLjoL+eFnM1RWoNJT3gFZrNSxsf5SZqFKpET6E76YhzXLX52kRZz3GgsMNfOp7CZTYF yaWKSNpM/W1Ukk/OFdDQcd4parw1LLAD3/436vZ31AXX7EoKUkRJz52dtS7W+xapohW/Igu4kUShT IGMy1LYiUxpsePO7Mk0O7itki4pWzwMRUU1tA97hpxOoUJbAdiRN49bwlmg7teS7+6mAEwZ1sPw6y D6KnBG3TVl47rBUaP8b/VQ==; 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 1pAAFX-0000TN-H5; Tue, 27 Dec 2022 08:44:11 -0500 In-Reply-To: (message from Stefan Monnier on Mon, 26 Dec 2022 09:04:26 -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:301959 Archived-At: > From: Stefan Monnier > Cc: emacs-devel@gnu.org > Date: Mon, 26 Dec 2022 09:04:26 -0500 > > > +** Emacs will now redisplay frames that are made visible by a compositor. > > +This means even if `frame-visible-p' returns nil or `icon', the frame > > +will be redisplayed if it is being displayed to the user by the > > +compositing manager, which can happenas part of a preview for > > +iconified windows. > > 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 that is the intent, then this is not a bug, but a feature of those WMs, and an important/boastable feature at that. > Keeping the preview's appearance up-to-date is wasted efforts in > this respect. Not in the eyes of those beholders, it isn't. But I do think this should be an optional feature (we could argue later about the defaults). In an Emacs session with a dozen invisible/iconified frames, updating those frames without the user's say-so could be a misfeature and a performance hit.