From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: Q: child frames on ttys Date: Sun, 1 Sep 2024 03:27:24 +0300 Message-ID: <7adadcc6-bf20-4970-93f5-6d8bad614306@gutov.dev> References: <149ecbf2-7624-4580-8b27-5bd11cc2648a@gutov.dev> <865xrhdwbe.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25754"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: gerd.moellmann@gmail.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Sep 01 02:28:26 2024 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 1skYS9-0006RJ-1x for ged-emacs-devel@m.gmane-mx.org; Sun, 01 Sep 2024 02:28:25 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1skYRN-00044U-Vc; Sat, 31 Aug 2024 20:27:38 -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 1skYRJ-00044H-Qn for emacs-devel@gnu.org; Sat, 31 Aug 2024 20:27:33 -0400 Original-Received: from fhigh4-smtp.messagingengine.com ([103.168.172.155]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1skYRH-0008Tb-Pq; Sat, 31 Aug 2024 20:27:33 -0400 Original-Received: from phl-compute-02.internal (phl-compute-02.nyi.internal [10.202.2.42]) by mailfhigh.nyi.internal (Postfix) with ESMTP id 45FFD1140149; Sat, 31 Aug 2024 20:27:29 -0400 (EDT) Original-Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-02.internal (MEProxy); Sat, 31 Aug 2024 20:27:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1725150449; x=1725236849; bh=UoXWJzIKW9vcM1TNygfaLPQxo/XdzrWPL7KgZYc8pgk=; b= fAvGaaJY+qta0fHpiq7s+P94LuVu18FgbDFIxMFZ3n8+OwhhtmjzN1v8DJfuaB7Z J0qZxXxfXAf/Ro6TNuzEIZT6CfkCEyk2ZgANFEtosw2qG9QyHVmDaPQfEZgLQOrU e86H4MLygrx/8846TrEP0R1Ax3yvbV7CGunWvuC0hIP5wOzm+KdBAWw9yCchgrvQ ItqB4tm/IsRt+RSYSiSHwQQujYLakB5CbuqhAGxbiAYLCXcl6UlarNhAstzsJvc4 6IMzCPGfdo9RUt2NT9Fv/o5XFKlhk7fjHPl7HB3nEOWKxZs5KgZznDxcqMpCQbu/ BEuTCwmjuLRgSUjZyTWZgQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1725150449; x= 1725236849; bh=UoXWJzIKW9vcM1TNygfaLPQxo/XdzrWPL7KgZYc8pgk=; b=P b579kAN02B0ey9iIqmyGxj2pdw3DfrEXtVk+Xb/fx+3htjUm8Bx9rFiAXNRiLLxW zxLm0bEzrQpi/HKkjJd1mfsZFsIRYBswn31BAaFIOp2SxJGvX/Y+GTZA96ytYC+f fFOZrmbsPV+hF8CghLb06KCSX6vDfybs6mpwRqEgbvIR1Be5xw03lBQLy8DpGVv7 LKlSpa7C1jQBAlHw97vHEYpvbWqJ8/oTCoDn9oYUwchsRa1OURV5OK4swgz6Y9Um JwX0SqkzBdrposUHOhmMgKP8MUkqKaTe5D/2KtYjMtRJxnAmKpXtemKQ2F8BQXVe L0kNkzm5btRRTG1znfaCA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrudegtddgtdehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhepkfffgggfuffvvehfhfgjtgfgsehtkeertddtvdej necuhfhrohhmpeffmhhithhrhicuifhuthhovhcuoegumhhithhrhiesghhuthhovhdrug gvvheqnecuggftrfgrthhtvghrnhepfeekuddvvdfhteffveefueetteegheeugeeggeej vddtleduieefieeitdekheeunecuffhomhgrihhnpehimhhguhhrrdgtohhmnecuvehluh hsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepughmihhtrhihsehg uhhtohhvrdguvghvpdhnsggprhgtphhtthhopeefpdhmohguvgepshhmthhpohhuthdprh gtphhtthhopegvlhhiiiesghhnuhdrohhrghdprhgtphhtthhopehgvghrugdrmhhovghl lhhmrghnnhesghhmrghilhdrtghomhdprhgtphhtthhopegvmhgrtghsqdguvghvvghlse hgnhhurdhorhhg X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 31 Aug 2024 20:27:26 -0400 (EDT) Content-Language: en-US In-Reply-To: <865xrhdwbe.fsf@gnu.org> Received-SPF: pass client-ip=103.168.172.155; envelope-from=dmitry@gutov.dev; helo=fhigh4-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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:323242 Archived-At: On 31/08/2024 09:45, Eli Zaretskii wrote: >> Date: Sat, 31 Aug 2024 00:11:10 +0300 >> From: Dmitry Gutov >> >> On 17/08/2024 10:24, Gerd Möllmann wrote: >>> I'm asking because I'm in the process of switching to tty Emacs on >>> macOS, and the only thing I'm missing it seems is child frames, for >>> Corfu, Vertico, and Transient, in my case, the latter two via Posframe. >> >> Off topic (sorry), but I wish someone worked on child frames looking >> better under GNOME/Linux. >> >> When I test it on macOS, it seems regular, but under GNOME it swiftly >> blinks once every refresh. Something to do with double buffering, maybe. > > Do you mean that disabling double-buffering stops the blinking? Unfortunately no (I just retested with --with-xdbe=no). Just that the issue looks like something that stems from insufficient synchronization in the graphical system (inconsistent states being displayed). To clarify, here's a video with Company popup - first (20s) with company-posframe-mode being on - then with it off (next 15s), and then again with company-posframe-mode on. That mode switches the popup rendering to use child frames instead of overlays. The minibuffer got cropped out, so the mode switching looks just like a pause when nothing's happening. https://imgur.com/a/moGloQP FWIW, I'm seeing the same issue with Corfu, so it doesn't seem to be specific to Company or Posframe.