GNU bug report logs - #21348
25.0.50; Screen scaling factor >=2 causes menus, tooltips to display in the wrong place

Previous Next

Package: emacs;

Reported by: Ryan Prior <ryanprior <at> gmail.com>

Date: Tue, 25 Aug 2015 22:56:02 UTC

Severity: normal

Tags: fixed

Merged with 20619, 22204, 23231, 27357

Found in versions 24.5, 25.0.50, 25.1.50, 26.0.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 21348 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Ryan Prior <ryanprior <at> gmail.com>
Cc: 21348 <at> debbugs.gnu.org
Subject: Re: bug#21348: 25.0.50;
 Screen scaling factor >=2 causes menus, tooltips to display in
 the	wrong place
Date: Wed, 26 Aug 2015 05:48:02 +0300
> From: Ryan Prior <ryanprior <at> gmail.com>
> Date: Tue, 25 Aug 2015 17:51:28 -0500
> 
> I'm on Ubuntu 14.04.3 using a Dell XPS 13, which has screen resolution
> 3200x1800. In order to make the menus large enough to read, the screen
> is scaled at x2.

What does that mean?  Which pixel coordinates are affected by this,
and how could Emacs know that?

> However, at that scale setting, Emacs shows tooltips and menus at an
> offset a few inches down and to the right of the mouse pointer.
> 
> Using the settings panel I can change the scaling factor. If I reduce it
> below 2, for example to 1.88, then Emacs displays menus and tooltips
> where I would expect. At a scale setting equal to or higher than 2x, the
> menus and tooltips are shifted down and to the right.

Sounds like some X API calls lie to us, but it's impossible to fix
this without knowing which ones.




This bug report was last modified 7 years and 311 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.