GNU bug report logs - #22549
25.0.50; Tooltips placed outside of screen limits

Previous Next

Package: emacs;

Reported by: ofv <at> wanadoo.es (Óscar Fuentes)

Date: Thu, 4 Feb 2016 04:06:02 UTC

Severity: normal

Found in version 25.0.50

Done: Óscar Fuentes <ofv <at> wanadoo.es>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: martin rudalics <rudalics <at> gmx.at>
To: Óscar Fuentes <ofv <at> wanadoo.es>
Cc: 22549 <at> debbugs.gnu.org
Subject: bug#22549: 25.0.50; Tooltips placed outside of screen limits
Date: Thu, 04 Feb 2016 18:05:56 +0100
> I think I know what is happening.
>
> I have two monitors, side by side, simulating a continuous display.

I expected something like that.

> The
> monitor on the left side, where Emacs is displayed, has a vertical
> resolution of 1050 pixels while the monitor on the right side has a
> vertical resolution of 1200 points. Emacs is using the vertical
> resolution of the virtual display (the largest of the two monitors, i.e.
> 1200 points) instead of the resolution of the monitor that hosts the
> Emacs frame.

Did you check via ‘x-display-pixel-width’ and ‘x-display-pixel-height’
and the selected frame on either of your monitors?

And what does ‘x-display-monitor-attributes-list’ return?

> Something similar happens for the horizontal overflow: the dimensions of
> the virtual desktop are used instead of the dimensions of the monitor.
>
> I've seen similar issues on the past for other applications, and they
> were fixed, eventually. The key here is that, while the two monitors
> belong to a single desktop, it can't be considered a continuous surface.
> For instance: the window manager never gives to a window a default
> position that makes it overlap over the two monitors, unless the window
> is so big that doesn't fit on one monitor. Ditto for maximizing: windows
> maximize on one monitor, not on the whole virtual desktop (Emacs does
> this right, so it already knows how to query the resolution of the
> current monitor.)

It's the window manager that maximizes the frame and tells Emacs the
required coordinates so no querying should occur here.

martin





This bug report was last modified 9 years and 112 days ago.

Previous Next


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