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 16:27:43 +0200 Message-ID: <87pod0picg.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> <87h8ycr0qu.fsf@mouse> <877ez8qzd1.fsf@mouse> <87379wqyvn.fsf@mouse> <596B703F.9070608@gmx.at> <87y3ropjnb.fsf@mouse> <596B73CD.2010605@gmx.at> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1500215296 24911 195.159.176.226 (16 Jul 2017 14:28:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 16 Jul 2017 14:28:16 +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 16:28:12 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 1dWkWi-0005pp-Vh for geb-bug-gnu-emacs@m.gmane.org; Sun, 16 Jul 2017 16:28:05 +0200 Original-Received: from localhost ([::1]:45428 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dWkWo-00034z-Er for geb-bug-gnu-emacs@m.gmane.org; Sun, 16 Jul 2017 10:28:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42686) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dWkWj-00034u-6h for bug-gnu-emacs@gnu.org; Sun, 16 Jul 2017 10:28:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dWkWg-0006Jg-1p for bug-gnu-emacs@gnu.org; Sun, 16 Jul 2017 10:28:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:39892) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dWkWf-0006JY-UE for bug-gnu-emacs@gnu.org; Sun, 16 Jul 2017 10:28:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dWkWf-00028S-LC for bug-gnu-emacs@gnu.org; Sun, 16 Jul 2017 10:28:01 -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 14:28:01 +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.15002152698190 (code B ref 27357); Sun, 16 Jul 2017 14:28:01 +0000 Original-Received: (at 27357) by debbugs.gnu.org; 16 Jul 2017 14:27:49 +0000 Original-Received: from localhost ([127.0.0.1]:42569 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dWkWT-000282-M7 for submit@debbugs.gnu.org; Sun, 16 Jul 2017 10:27:49 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]:59966) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dWkWR-00027s-9o for 27357@debbugs.gnu.org; Sun, 16 Jul 2017 10:27:47 -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 1dWkWO-0002Oc-C1; Sun, 16 Jul 2017 16:27:46 +0200 In-Reply-To: <596B73CD.2010605@gmx.at> (martin rudalics's message of "Sun, 16 Jul 2017 16:10:21 +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:134626 Archived-At: martin rudalics writes: >> I've confirmed that Ryan Prior's patch fixes the problem for tooltip >> positioning, > > Didn't he also fix the menu popups? Yes, those seem to work fine, too.. > I'm glad you are the first to test his patch after almost two years. > People were not very friendly at that time. Maybe you could try to > contact him? That might be a good idea, but I'm not sure where the previous people who were working on scaling were going with their work. Amusingly enough, the int scale = xg_get_gdk_scale (); stuff that's sprinkled around just seems to get in the way of fixing this stuff. It explicitly looks at the GDK_SCALE environment variable, which is (by default) not set. So while some bits of Emacs is using that variable to determine some things, querying GTK in the proper way (with gtk_widget_get_scale_factor) will get another answer. Hm... perhaps I should just start a branch, try to clean stuff up and see what happens... -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no