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: Menu-bar flickering on Win10 Date: Wed, 02 Nov 2022 15:53:10 +0200 Message-ID: <83o7tpa2ex.fsf@gnu.org> References: <86a6598soc.fsf@gnu.org> <83v8nxa41n.fsf@gnu.org> <86cza57a3s.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18419"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Arash Esbati Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Nov 02 15:18:24 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 1oqEZT-0004Vy-F1 for ged-emacs-devel@m.gmane-mx.org; Wed, 02 Nov 2022 15:18:23 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oqEBV-0002Po-3N; Wed, 02 Nov 2022 09:53:37 -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 1oqEBR-0002Pd-0N for emacs-devel@gnu.org; Wed, 02 Nov 2022 09:53:33 -0400 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 1oqEBP-0004EW-Eb for emacs-devel@gnu.org; Wed, 02 Nov 2022 09:53:32 -0400 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=IMub9UqCIZHqDgXc7O/rdDRuxFjHIWvprL+mkvL4Ank=; b=bYSef42UkJc+ DTSX1bBW7ZAaK7wBGfn51XmzXe4kpC7Q8u6XxMrlzz3iBJnna6WzGJ/xzMaXGS1c9ApEKe3NepHlE 4CYZSkpsaSEoJOaS7mDBa/dgJ/+JgIcabkSFpZeerrLw2evRTZanTpX5TQAKdLPy9YkLFVvCtv4je HII+UvGc49zrmc2f0R4goKi1gXHcjONpMQUoAuSL5ohzmD4hXcNOghZ5NreT4txn690HkDZ5OXcmj W0h3hd30BPQ/xXYqKkKTqRYzHQm7nCKVVmpqaYrIsVD73amYP4e5TeHmHiFwyBKAJF8qWDqvUwZuB hbqSF1vAMueI8Br8w/UgRA==; 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 1oqEBF-00049N-88; Wed, 02 Nov 2022 09:53:28 -0400 In-Reply-To: <86cza57a3s.fsf@gnu.org> (message from Arash Esbati on Wed, 02 Nov 2022 14:35:19 +0100) 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: , Original-Sender: "Emacs-devel" Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:299020 Archived-At: > From: Arash Esbati > Cc: emacs-devel@gnu.org > Date: Wed, 02 Nov 2022 14:35:19 +0100 > > Eli Zaretskii writes: > > > Does the code involved in the display of completion temporarily > > switches to a different window, or changes the major mode? > > No, it is in a single window and the only buffer I used. Didn't you say child frames are involved? If so, there are at least 2 frames, and each frame has at least one window. Right? > > IOW, I suggest to step through the code which is involved, and see > > which part of it actually causes the flickering. There's too many > > unknowns in what you described. > > I did only this: I didn't mean to say you are responsible in some way. I meant to say that we need to understand better what code causes the flickering. And the only way I could think of was to step through the code which displays the completion candidates, because that's where the flickering happens. > My first reaction was if corfu is probably the problem since it uses > child frames and not overlays, hence my question. Could be. I simply don't know yet. Which is why I suggested to step through the code.