From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: Child-frame can not move to proper position when run "env GDK_SCALE=2 emacs" Date: Wed, 10 Jan 2018 11:19:23 +0100 Message-ID: <5A55E8AB.1090106@gmx.at> References: <87wp0sy3bq.fsf@163.com> <5A53B5C5.70105@gmx.at> <87608c54xw.fsf@163.com> <87incbe47u.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1515579515 12354 195.159.176.226 (10 Jan 2018 10:18:35 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 10 Jan 2018 10:18:35 +0000 (UTC) Cc: Feng Shu , emacs-devel@gnu.org To: Robert Pluim Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 10 11:18:31 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 1eZDSm-0002no-FA for ged-emacs-devel@m.gmane.org; Wed, 10 Jan 2018 11:18:28 +0100 Original-Received: from localhost ([::1]:58899 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eZDUl-0005f1-Ok for ged-emacs-devel@m.gmane.org; Wed, 10 Jan 2018 05:20:31 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41419) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eZDU0-0005en-Cn for emacs-devel@gnu.org; Wed, 10 Jan 2018 05:19:45 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eZDTv-00025g-Ap for emacs-devel@gnu.org; Wed, 10 Jan 2018 05:19:44 -0500 Original-Received: from mout.gmx.net ([212.227.17.20]:56628) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eZDTv-000224-0m for emacs-devel@gnu.org; Wed, 10 Jan 2018 05:19:39 -0500 Original-Received: from [192.168.1.100] ([46.125.250.46]) by mail.gmx.com (mrgmx103 [212.227.17.168]) with ESMTPSA (Nemesis) id 0Mh9cj-1eCtOs0Xib-00MPST; Wed, 10 Jan 2018 11:19:31 +0100 In-Reply-To: <87incbe47u.fsf@gmail.com> X-Provags-ID: V03:K0:RNdW1w5Wl5h9y8UJhendkGho2orpBje2wRoasM2xUEfVvK+XNOG jLSTyG0TDo4rd6IZ+hpD/R+/pSDPf5JP06pDaaT/rHJoSmq9b1v7iNmZm5BrIN0uD6ZEMKZ ZyCfa0Q3MSOtYIst9OhIA4Gib6rdxZbXumo0exNrlsPmWVRg/7Yd6Qq9s/7RL5qm0lrQg8E R8onxyWPP5c2HAAnafHKA== X-UI-Out-Filterresults: notjunk:1;V01:K0:HsIf9k+3pws=:Ss/RRQIwWQ/s2ZbS7q9Uwv E5SZNfhFbrivj31Vp9OdYPts75RyLzNIA3ahu+HKWjb1K6LrPa3hBNrHAV3ra+G0y/p1FggTu rfcGPDabAG4CEJZ2d1d3UTpyfe6Tafojj8tsXniARb6AVhKqfbIcdaxzrW+V56R8lip9TLWkg e+WBzCrT2L2weQ9KUkt8NQ79/r0AyVonB7l5Wkt0q5vtzhoqmEQ9y5Ahef3z3gj/UAZ1bXT43 Nd40EwH0x2DgRfX861SGdfRUU9y2I6n2dAtLkCK1IfMBJdu3+DdhfJLJgbRx8qAemxZAVlrar cLDbKCOGiVwiDxlrxJD8IqE2K8OTMyYio34Q8XK0zvUCz3mnGRSaOfOSmBlqZgPiePmQeyvC7 HkW55vlj1QyKSHn1Iw4ROEsgODGaw6KqQL+X1SeA6FiJA6al4oAuWqzc+PjBil2EmTPQXj1sg n+ndjxsZiWtrZRvuYSpT5UfRXlDMWp/L7oZI+6+UHEoiWj0geRXATHk7Nn6/J816SQmd6c/MA IWjoW9nlhecYTLNnX1VO2n30/GaKOEM/7k1gmIQOQWOw0KxQLFYVcMQ2NpLy/zPlbdMiSsZPc 3ReRB9/seEyDC6OarwLUct+BJmy/XRiWGJZneayzbR6SCWDvRz1jMoY94aIbdlW/c7SLCw00b +R3AF3+VDaU8asTPTd/CWbj3WkNnIFDves4bZR+AHVlxrI7EI/LiOLo2Scyyk5UAoOXwO8SVo HUx0YC+89gHuIJZiQQyCGN4QdDuh/2hzdCO1Og5ig3vHBzfppJhHMCIXYwJiqmm1ZeIUC36W X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.17.20 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:221780 Archived-At: > Ugh. I don't think we should expose the scale values, we should fix > whatever the issue is with set-frame-position. Naively that's the > attached patch, but I worry about other places that assume unscaled > coordinates. I'll run with it for a while and see if any pop up. So I suppose Emacs tooltips (the ones enabled by customizing `x-gtk-use-system-tooltips' to nil) were affectd by this as well and should now work properly with your patch. Can you verify that? In either case I would like to install the patch on the release branch so anyone using GTK/GDK scaling please try it ASAP. Many thanks, martin