From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Jan D." Newsgroups: gmane.emacs.bugs Subject: bug#20432: GDK_SCALE=2 GDK_DPI_SCALE=0.5 destroys GTK+ 3 scroll bar Date: Thu, 14 May 2015 19:57:18 +0200 Message-ID: <5554E1FE.1090607@swipnet.se> References: <5554CF7B.7090306@cs.ucla.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1431626304 14045 80.91.229.3 (14 May 2015 17:58:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 14 May 2015 17:58:24 +0000 (UTC) Cc: "Felix E. Klee" , 20432@debbugs.gnu.org To: Paul Eggert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu May 14 19:58:13 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YsxOf-0006z4-D2 for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 May 2015 19:58:13 +0200 Original-Received: from localhost ([::1]:56194 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YsxOe-0004Br-IV for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 May 2015 13:58:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43461) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YsxOb-0004Bh-I8 for bug-gnu-emacs@gnu.org; Thu, 14 May 2015 13:58:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YsxOU-0008C0-Um for bug-gnu-emacs@gnu.org; Thu, 14 May 2015 13:58:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35350) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YsxOU-0008Bw-Me for bug-gnu-emacs@gnu.org; Thu, 14 May 2015 13:58:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YsxOU-0007d6-7f for bug-gnu-emacs@gnu.org; Thu, 14 May 2015 13:58:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Jan D." Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 14 May 2015 17:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20432 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20432-submit@debbugs.gnu.org id=B20432.143162625329294 (code B ref 20432); Thu, 14 May 2015 17:58:02 +0000 Original-Received: (at 20432) by debbugs.gnu.org; 14 May 2015 17:57:33 +0000 Original-Received: from localhost ([127.0.0.1]:45325 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YsxO0-0007cN-K0 for submit@debbugs.gnu.org; Thu, 14 May 2015 13:57:32 -0400 Original-Received: from mailfe03.swip.net ([212.247.154.65]:44965 helo=swip.net) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YsxNx-0007c9-N1 for 20432@debbugs.gnu.org; Thu, 14 May 2015 13:57:30 -0400 X-T2-Spam-Status: No, hits=0.8 required=5.0 tests=BAYES_50 Original-Received: from hosdjarv.se (account mj138573@tele2.se [46.59.42.57] verified) by mailfe03.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 429873549; Thu, 14 May 2015 19:57:22 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 In-Reply-To: <5554CF7B.7090306@cs.ucla.edu> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:102798 Archived-At: Paul Eggert skrev den 2015-05-14 18:38: > Thanks, Jan D., for looking into the problem. It does appear to be a > mess. In theory I suppose Emacs should use > gdk_screen_get_monitor_scale_factor to get the monitor scale factor; but > in practice the situation is so messed up (and a lot of work would be > needed to fix it) that it might not be worth bothering. > > By the way, on my Fedora 21 x86-64 host, setting GDK_SCALE=2 > GDK_DPI_SCALE=0.5 has no effect on emacs -Q, even with the recent > fixes. Perhaps this is due to the races you mentioned? No, that just affects the initial frame size. You should see an effect on toolbar and scroll bar size (they should be twice as big). Are you compiling with Gtk+ 3.8 or later? Jan D.