From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#27357: 26.0.50; Emacs starts fullscreen in Ubuntu 17.04 Date: Sun, 16 Jul 2017 15:04:57 +0200 Message-ID: <87h8ycr0qu.fsf@mouse> References: <594143AB.7040500@gmx.at> <59423E58.8030606@gmx.at> <59425D45.1010006@gmx.at> <87a84ik6w6.fsf@mouse> <871spuk5im.fsf@mouse> <595DD90E.2040503@gmx.at> <87lgnor1v3.fsf@mouse> <596B613C.4080203@gmx.at> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1500210383 21550 195.159.176.226 (16 Jul 2017 13:06:23 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 16 Jul 2017 13:06:23 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: 27357@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jul 16 15:06:18 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1dWjFT-0004uT-It for geb-bug-gnu-emacs@m.gmane.org; Sun, 16 Jul 2017 15:06:11 +0200 Original-Received: from localhost ([::1]:45250 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dWjFX-00044V-KN for geb-bug-gnu-emacs@m.gmane.org; Sun, 16 Jul 2017 09:06:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57389) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dWjFO-00042q-7r for bug-gnu-emacs@gnu.org; Sun, 16 Jul 2017 09:06:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dWjFK-0005yc-Uc for bug-gnu-emacs@gnu.org; Sun, 16 Jul 2017 09:06:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:38418) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dWjFK-0005yS-R8 for bug-gnu-emacs@gnu.org; Sun, 16 Jul 2017 09:06:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dWjFK-0000vk-Gk for bug-gnu-emacs@gnu.org; Sun, 16 Jul 2017 09:06:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 16 Jul 2017 13:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27357 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 27357-submit@debbugs.gnu.org id=B27357.15002103033491 (code B ref 27357); Sun, 16 Jul 2017 13:06:02 +0000 Original-Received: (at 27357) by debbugs.gnu.org; 16 Jul 2017 13:05:03 +0000 Original-Received: from localhost ([127.0.0.1]:41092 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dWjEN-0000uF-EX for submit@debbugs.gnu.org; Sun, 16 Jul 2017 09:05:03 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]:59486) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dWjEM-0000tn-1P for 27357@debbugs.gnu.org; Sun, 16 Jul 2017 09:05:02 -0400 Original-Received: from cm-84.209.243.26.getinternet.no ([84.209.243.26] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dWjEJ-00056o-24; Sun, 16 Jul 2017 15:05:01 +0200 In-Reply-To: <596B613C.4080203@gmx.at> (martin rudalics's message of "Sun, 16 Jul 2017 14:51:08 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:134616 Archived-At: martin rudalics writes: >> I just noticed something amusing: If I put the mouse over the mode line >> things that pop up tooltips, they're all displayed approximately 2x from >> the position they're supposed to: >> >> https://youtu.be/oWjmL-8leVo >> >> This is with the current git Emacs, with -Q on Ubuntu 17.04 (with a >> HiDPI display). > > See bug#18429, bug#20619, bug#21348, bug#21469 ... Oh, wow, so this has been a known problem, apparently related to gtk3 with HiDPI, for almost a couple of years, but nobody has been able to track down just exactly where Emacs is doubling the sizes? I spent a few hours on this a few days ago, but I was unable to follow the call chain logic (which is somewhat asynchronous). And some of the effects seem to be timing related, somehow... I've read through the emails in question, but the patch posted didn't seem very promising since it only handled tooltip placement and not window sizing... Do you have any ideas for where I should be poking around to see where these bogus doubled values come from? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no