From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Robert Pluim 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 14:35:07 +0100 Message-ID: <871sixkfas.fsf@gmail.com> References: <87wp0sy3bq.fsf@163.com> <5A53B5C5.70105@gmx.at> <87608c54xw.fsf@163.com> <87incbe47u.fsf@gmail.com> <5A55E8AB.1090106@gmx.at> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1515591265 25230 195.159.176.226 (10 Jan 2018 13:34:25 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 10 Jan 2018 13:34:25 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) Cc: Feng Shu , emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 10 14:34:20 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 1eZGWI-00066c-0f for ged-emacs-devel@m.gmane.org; Wed, 10 Jan 2018 14:34:18 +0100 Original-Received: from localhost ([::1]:41975 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eZGYH-0001ql-G6 for ged-emacs-devel@m.gmane.org; Wed, 10 Jan 2018 08:36:21 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60237) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eZGXF-0001n9-BR for emacs-devel@gnu.org; Wed, 10 Jan 2018 08:35:18 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eZGXB-0007h8-EG for emacs-devel@gnu.org; Wed, 10 Jan 2018 08:35:17 -0500 Original-Received: from mail-wm0-x22b.google.com ([2a00:1450:400c:c09::22b]:34715) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eZGXA-0007fg-Vx for emacs-devel@gnu.org; Wed, 10 Jan 2018 08:35:13 -0500 Original-Received: by mail-wm0-x22b.google.com with SMTP id 81so1907725wmb.1 for ; Wed, 10 Jan 2018 05:35:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:gmane-reply-to-list:date:in-reply-to :message-id:user-agent:mime-version; bh=RALF87uXQYVvkjIxd6z434ervkdx/w9ncnPSUZwQsfc=; b=TQ/JVTI3EhUDvF5NCXcGHY9OeeBA9RSFvw9zNwXIlAP17bSbdduW9g3HHI3ZBBlCEe E5J86lEtUcmsi7gTojjJspvN5lsAwE/v12fhgpJVFnEi0BzWu5L/YlUiiFoyUFhxNPKh ldMb/hLCgrxXhpycsZf/TZc4SCpxsmr0KKnRtN3XjrbcbP4qe5+YszvABJtGiwZPeCNM Jtl/PiwS4JA3ZFAZxaCaAsjjQq9BOdl5vnTsIEG/ZcrzYkBp9nI+GwLv3jbCvnvTYMBx 07HhE68OKN89GC5T09aCXJZu3gV3mV6XGqnkxnRMytEGiLWfptxlTPmr47xhM50stFjJ +Mag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references :gmane-reply-to-list:date:in-reply-to:message-id:user-agent :mime-version; bh=RALF87uXQYVvkjIxd6z434ervkdx/w9ncnPSUZwQsfc=; b=fn1IBVoup1RPpqvaYhn8xC81cxvDJ6xPfuikAe5aMcBacymmMoI96kRjuT6n6BOxcB TFXMZRs2a5TtVus8CNb6p6qQofkJT0GHDs59woJLOBSk9Ab3SFGd9//2KsltWp47lair mhKDhuiLSGr3wDZ/7cFuNq888rGnh5YtPmHPrOGAGyvMGV3MaQ/eh1vAB9moYFYQeIty cMo4jR75hEiwafqXnGKkPY8o9CVtFR76DtEQcrmBCmCE03v4/gSzGRUzIYELWmGb7ZOZ Nqew1yQsEJVIQ62Ryi9jDM896OY9Yein0yAQbhtbBCmzW8IYBuuJKJqA4hKEDvT0ehzR qrrw== X-Gm-Message-State: AKGB3mLj68dTJ10rVzXRoWMZjrceT84WSAH5at3VSXsAQSCCTG9RBbJK 4WBuJPcKP3n6lgc8XL3hn4A2A+XH X-Google-Smtp-Source: ACJfBotmMvRxVGk7d76U23V54fb5DBOLFEA7aUwnsZENggl/S7mgSzypPlhVsMy6yTuTUObPvC9QFA== X-Received: by 10.80.133.33 with SMTP id 30mr26254563edr.42.1515591311278; Wed, 10 Jan 2018 05:35:11 -0800 (PST) Original-Received: from rpluim-ubuntu ([149.5.228.1]) by smtp.gmail.com with ESMTPSA id e46sm11048684edb.93.2018.01.10.05.35.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 10 Jan 2018 05:35:10 -0800 (PST) Gmane-Reply-To-List: yes In-Reply-To: <5A55E8AB.1090106@gmx.at> (martin rudalics's message of "Wed, 10 Jan 2018 11:19:23 +0100") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::22b 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:221785 Archived-At: martin rudalics writes: >> 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? > I don't use tooltips at all normally, but in quick testing this patch makes no difference in the GDK_SCALE=2 case. > In either case I would like to install the patch on the release branch > so anyone using GTK/GDK scaling please try it ASAP. I have no objection. I'm still a little uncomfortable that it's more of a bandaid than a real fix, but a real fix is many month away. Robert