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 #11 received at 21348 <at> debbugs.gnu.org (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: Ryan Prior <ryanprior <at> gmail.com>, 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 10:56:24 +0200
> 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.
>
> 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.

What does evaluating for a maximized frame

(frame-geometry)

and

(display-monitor-attributes-list)

return for you?  And please tell me whether mouse warping is also
affected by this: Put

(let ((position (window-absolute-pixel-position)))
  (set-mouse-absolute-pixel-position
   (car position) (cdr position)))

into *scratch*, move point after it and type C-x C-e.  Is the mouse
pointer shifted from the upper left corner of the cursor glyph by the
same amount as the menus and tooltips?

martin




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.