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

From: Robert Pluim <rpluim <at> gmail.com>
To: martin rudalics <rudalics <at> gmx.at>
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: Wed, 20 Jun 2018 11:52:28 +0200
martin rudalics <rudalics <at> gmx.at> writes:

>> I am using a high resolution display (built-in Retina display on a MacBook Pro).
>> I have the scaling set to 200%. When I change to 100%, the popup works fine. When
>> I change to LoDPI mode, the popup works fine. It definitely seems to be an issue
>> with scaled HiDPI.
>
> Thanks for the information.  Please keep 31880 <at> debbugs.gnu.org cc'ed.
>
> Robert what do you think?  create_and_show_popup_menu has
>
> #ifdef HAVE_GTK3
>       /* Use window scaling factor to adjust position for hidpi screens. */
>       x /= xg_get_scale (f);
>       y /= xg_get_scale (f);
> #endif
>
> Shouldn't this take of Brian's problem?  If not, could you tell him
> how to debug this?

It should, but it doesnʼt. I see similar problems here, but I donʼt
understand why (unless this is another instance of "Mixing X and GTK
calls will bite your arse eventually").

GTK tooltips seem to appear in the right place, so Iʼll look for
inspiration there.

Robert




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

Previous Next


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