all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: Robert Pluim <rpluim@gmail.com>
Cc: Brian Zwahr <echosa@echosa.net>, 31880@debbugs.gnu.org
Subject: bug#31880: 26.1; VC mode line popup when clicked is off screen
Date: Thu, 21 Jun 2018 09:15:31 +0200	[thread overview]
Message-ID: <5B2B5093.9050609@gmx.at> (raw)
In-Reply-To: <87vaad4ji3.fsf@gmail.com>

 > 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





  parent reply	other threads:[~2018-06-21  7:15 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-18 14:59 bug#31880: 26.1; VC mode line popup when clicked is off screen Brian Zwahr
2018-06-19  7:17 ` martin rudalics
     [not found]   ` <380133793885a54af49bbc8715cfea4ced525342.camel@echosa.net>
2018-06-20  7:42     ` martin rudalics
2018-06-20  9:52       ` Robert Pluim
2018-06-20 11:55         ` martin rudalics
2018-06-20 14:31           ` Robert Pluim
2018-06-20 20:15             ` Brian Zwahr
2018-06-21  8:08               ` Robert Pluim
2018-06-21 14:41                 ` Brian Zwahr
2018-06-21 15:05                   ` Robert Pluim
2018-06-21 15:39                     ` Eli Zaretskii
2018-06-22  8:04                       ` Robert Pluim
2018-06-22  8:56                     ` martin rudalics
2018-06-21  7:15             ` martin rudalics [this message]
2018-06-21  8:31               ` Robert Pluim
2018-06-21  8:56                 ` martin rudalics
2018-06-25 10:33   ` João Távora
2018-06-27  7:33     ` martin rudalics
2018-06-27  8:24       ` João Távora
2018-06-27  9:56         ` Robert Pluim
2018-06-27 11:16           ` João Távora

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5B2B5093.9050609@gmx.at \
    --to=rudalics@gmx.at \
    --cc=31880@debbugs.gnu.org \
    --cc=echosa@echosa.net \
    --cc=rpluim@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.