From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: "Feng Shu" Newsgroups: gmane.emacs.devel Subject: Re: set-frame-parameter a child-frame's 'parent-frame error on macOS ? Date: Mon, 15 Jan 2018 19:59:17 +0800 Message-ID: <87h8rn2uzu.fsf@163.com> References: <3341a4c3.36ca.160e851bdbd.Coremail.tumashu@163.com> <5A5876A3.10402@gmx.at> <87fu7b6zsj.fsf@163.com> <5A5902D9.9070801@gmx.at> <16191b19.1392.160ed773bef.Coremail.tumashu@163.com> <5A59C872.1010900@gmx.at> <87tvvqxcxr.fsf@163.com> <5A59F476.1060806@gmx.at> <87mv1hcnw8.fsf@163.com> <5A5B1D46.6000608@gmx.at> <731a3868-e589-978b-ee34-ab72cf5c5aff@yandex.ru> <4d250ebc-7979-3229-b9ea-6e57089d02df@yandex.ru> <5A5C76AC.60308@gmx.at> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1516018780 3541 195.159.176.226 (15 Jan 2018 12:19:40 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 15 Jan 2018 12:19:40 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.91 (gnu/linux) Cc: "emacs-devel@gnu.org" , Dmitry Gutov To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 15 13:19:35 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eb3jY-0008Iw-Oo for ged-emacs-devel@m.gmane.org; Mon, 15 Jan 2018 13:19:26 +0100 Original-Received: from localhost ([::1]:59773 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eb3lY-0003D1-Cp for ged-emacs-devel@m.gmane.org; Mon, 15 Jan 2018 07:21:28 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52052) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eb3QI-0004B0-Jl for emacs-devel@gnu.org; Mon, 15 Jan 2018 06:59:31 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eb3QD-0007kV-Q6 for emacs-devel@gnu.org; Mon, 15 Jan 2018 06:59:30 -0500 Original-Received: from m12-17.163.com ([220.181.12.17]:60982) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eb3QD-0007fB-92 for emacs-devel@gnu.org; Mon, 15 Jan 2018 06:59:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-ID:MIME-Version; bh=iLa0R 3l6jrCQTapbuB6CJdJlViitnaAXOntvATm/tFg=; b=e+7LLrAb+VDQSu77ytRZ+ 4Rn8PbBkSdeXkilsiIM9zf0j5gxO8Edd3lLe5zzzhgay/NuTzNcRQMRt+i/GD6p/ X0IpkmtMrE/TBQYdM1zd0bWR7J6D4hzuDmnzKUaAlY2HNGwT1RNX+2em3I9ke66n 3Pt0jbNvk93xOmNvf1Yb1g= Original-Received: from tumashu (unknown [36.149.168.127]) by smtp13 (Coremail) with SMTP id EcCowAB3UoSWl1xahD9uCQ--.50306S2; Mon, 15 Jan 2018 19:59:19 +0800 (CST) In-Reply-To: <5A5C76AC.60308@gmx.at> (martin rudalics's message of "Mon, 15 Jan 2018 10:38:52 +0100") X-CM-TRANSID: EcCowAB3UoSWl1xahD9uCQ--.50306S2 X-Coremail-Antispam: 1Uf129KBjvJXoW7KFWxCF45uFyDJF4rJr1fWFg_yoW8Gw4kpF W8Kr9Ykr4DG3y7Zr17Cws7Zw1jv393Jw15trWktr1UJws8tF1xtrWSyrWjv3s7Jrs3Ww4j qaySgas8G398Za7anT9S1TB71UUUUUUqnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDUYxBIdaVFxhVjvjDU0xZFpf9x07j58n5UUUUU= X-Originating-IP: [36.149.168.127] X-CM-SenderInfo: 5wxpt2lkx6il2tof0z/1tbiwAPO1FXlcfzrMQABs- X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 220.181.12.17 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:221972 Archived-At: martin rudalics writes: > Still not much luck with the video. I'm told that my video driver > accelerators do not support the resolution 1854x2110 so they are > deactivated. The result is that I see all sorts of artefacts. > > Anyway, it seems that the "good" frame appears around 00:34 and its > "bad" double around 00:35 of the video. Is that correct? If so, > please post simple screencaps with the corresponding timings. And > also please resolve the discrepancy with what Feng Shu says here: > > when I want to show company-child-frame-menu at , I support > this position is (20, 50), but before show menu about 0.1s, this menu will be showed > at positon (10, 25), and dispear and then show at position (20, 50), > this is so fast, let menu look flicker. > > namely that the bad frame appears first. > >> Correction: without that patch, the first (momentary) position is >> where the popup should be, and the second one is at 2x the necessary >> vertical coordinate. > > Yet another hint that someone tries to position the frame twice. The problem seem to be resolved when I update company-childframe. The change is that let set-frame-position run when needed instead every time. Dmitry Gutov's machine can work well without DiDPI patch :-) Are there bug when run multi set-frame-position on the same position? I do not know, and are testing. https://github.com/tumashu/company-childframe/issues/2 > > martin > --