From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Newsgroups: gmane.emacs.bugs Subject: bug#20619: 24.5; Pop-up menus clipped on HiDPI (Gtk3/X11) Date: Sat, 23 May 2015 14:06:23 +0200 Message-ID: <55606D3F.201@swipnet.se> References: <555CD05C.4070303@stsci.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 1432382848 20385 80.91.229.3 (23 May 2015 12:07:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 23 May 2015 12:07:28 +0000 (UTC) To: Michael Droettboom , 20619@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat May 23 14:07:17 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 1Yw8Cw-0004k5-Sn for geb-bug-gnu-emacs@m.gmane.org; Sat, 23 May 2015 14:07:15 +0200 Original-Received: from localhost ([::1]:37545 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yw8Cv-0003hv-Ve for geb-bug-gnu-emacs@m.gmane.org; Sat, 23 May 2015 08:07:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57396) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yw8Cp-0003ho-Jk for bug-gnu-emacs@gnu.org; Sat, 23 May 2015 08:07:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yw8Cl-0004fQ-Nr for bug-gnu-emacs@gnu.org; Sat, 23 May 2015 08:07:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:43517) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yw8Cl-0004f4-K6 for bug-gnu-emacs@gnu.org; Sat, 23 May 2015 08:07:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Yw8Cl-0008B2-AC for bug-gnu-emacs@gnu.org; Sat, 23 May 2015 08:07:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 23 May 2015 12:07:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20619 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20619-submit@debbugs.gnu.org id=B20619.143238280231403 (code B ref 20619); Sat, 23 May 2015 12:07:03 +0000 Original-Received: (at 20619) by debbugs.gnu.org; 23 May 2015 12:06:42 +0000 Original-Received: from localhost ([127.0.0.1]:53492 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yw8CM-0008AN-7n for submit@debbugs.gnu.org; Sat, 23 May 2015 08:06:42 -0400 Original-Received: from mailfe03.swip.net ([212.247.154.65]:43897 helo=swip.net) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yw8CG-0008A4-Jt for 20619@debbugs.gnu.org; Sat, 23 May 2015 08:06:36 -0400 X-T2-Spam-Status: No, hits=-1.9 required=5.0 tests=BAYES_00 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 432087059; Sat, 23 May 2015 14:06:23 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 In-Reply-To: <555CD05C.4070303@stsci.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:103097 Archived-At: Hi. Den 2015-05-20 20:20, Michael Droettboom skrev: > > If in HiDPI mode on Linux [1] the popup menus are constrained to the > upper left quadrant of the screen and are not opened near the mouse > cursor. For example, 'C-mouse-1' in the lower-right hand quadrant opens > an empty menu. 'C-mouse-1' in the upper-right hand quadrant opens a > menu, but not in the correct location. > > [1] This mode is set automatically under Gnome, or may get set manually > with: > > gsettings set org.gnome.desktop.interface scaling-factor 2 > > A workaround, which may help to diagnose the bug, is to start emacs > using: > > GDK_SCALE=0.5 emacs This is a huge undertaking, that requires changes in Emacs all over the place. Coordinates and sizes are used in many places. I'm not sure its worth it, as this Gnome thing is a bad way to scale applications (it requires applications to conform to Gtk+). KDE does something different for example. So I'm guessing something better will emerge. > > Other Gtk3 applications (gnome-terminal, nautilus) so not seem to > exhibit this behavior under the same conditions. Emacs is not a Gtk3 application, ut just uses some of its widgets. Its more of a raw X11/Gtk3 hybrid. Jan D. > > > > In GNU Emacs 24.5.1 (x86_64-redhat-linux-gnu, GTK+ Version 3.16.2) > of 2015-04-22 on buildhw-08.phx2.fedoraproject.org > Windowing system distributor `Fedora Project', version 11.0.11701000 > System Description: Fedora release 23 (Rawhide) > > Configured using: > `configure --build=x86_64-redhat-linux-gnu > --host=x86_64-redhat-linux-gnu --program-prefix= > --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr > --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc > --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 > --libexecdir=/usr/libexec --localstatedir=/var > --sharedstatedir=/var/lib --mandir=/usr/share/man > --infodir=/usr/share/info --with-dbus --with-gif --with-jpeg --with-png > --with-rsvg --with-tiff --with-xft --with-xpm --with-x-toolkit=gtk3 > --with-gpm=no build_alias=x86_64-redhat-linux-gnu > host_alias=x86_64-redhat-linux-gnu 'CFLAGS=-DMAIL_USE_LOCKF -O2 -g > -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 > -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 > -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 > -m64 -mtune=generic' LDFLAGS=-Wl,-z,relro' > > Important settings: > value of $LC_CTYPE: en_US.utf8 > value of $LANG: en_US.utf8 > locale-coding-system: utf-8-unix > > > >