GNU bug report logs - #31880
26.1; VC mode line popup when clicked is off screen

Previous Next

Package: emacs;

Reported by: Brian Zwahr <echosa <at> echosa.net>

Date: Mon, 18 Jun 2018 15:00:02 UTC

Severity: minor

Found in version 26.1

Done: Robert Pluim <rpluim <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


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

From: martin rudalics <rudalics <at> gmx.at>
To: Robert Pluim <rpluim <at> gmail.com>
Cc: Brian Zwahr <echosa <at> echosa.net>, 31880 <at> debbugs.gnu.org
Subject: Re: bug#31880: 26.1; VC mode line popup when clicked is off screen
Date: Thu, 21 Jun 2018 09:15:31 +0200
> Yet another instance of a disagreement between how GTK and X calculate
> pixels. Who will rid me of this turbulent mix?

In xg_show_tooltip we have

      gtk_window_move (x->ttip_window, root_x / xg_get_scale (f),
		       root_y / xg_get_scale (f));

I suppose this is TRT with a scaled display because root_x and root_y
are unscaled and hence we have to scale them to get the appropriate
coordinates for scaled displays.  Right?

Then what happens when we turn off GTK tooltips on a scaled display by
setting 'x-gtk-use-system-tooltips' to nil?  IIUC the tooltip will now
appear at the "wrong" position.  Or am I missing something?

martin




This bug report was last modified 6 years and 330 days ago.

Previous Next


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