Git development
 help / color / mirror / Atom feed
From: Hannu Koivisto <azure@iki.fi>
To: git@vger.kernel.org
Subject: git gui blame tooltip problem in Cygwin with multiple displays
Date: Wed, 28 Jan 2009 00:52:05 +0200	[thread overview]
Message-ID: <83hc3ke50q.fsf@kalahari.s2.org> (raw)

Hi,

I have two displays in my Windows XP SP3 machine, display 1 on the
left 1050x1680 (rotated 90deg) and display 2 (primary display) on
the right 1920x1080.  Display coordinates ((top left
corner)-(bottom right corner)) are (-1050,-600)-(0,1080) and
(0,0)-(1920,1080), respectively.  That is, all visible x
coordinates on display 1 are negative and y coordinates are partly
negative.

git gui blame works fine when its window is on the primary display
but if I move it to the other display, the tooltips it opens are
still opened on the primary display, far from the cursor's current
position.  I wonder if the tooltip position calculations cannot
handle those negative coordinates?  I found the code in question
but I can't really read tcl/tk nor have I any idea how to
instrument it to log position calculations, for example.

I realize this may be a quite rare setup and I would like to help
narrow this down but I need a debug version of the code or
something, unless of course the problem is obvious to the author or
someome who is proficient with tcl.

Tested with git 1.6.1.265.g9a013 (and some slightly older version
as well).

PS. I tried to send this, twice, directly to the list (instead of
via Gmane) and Cc the author of the code, Shawn O. Pearce, but for
some reason those mails never showed up, even though at the same
time I was able to send other mails to the list just fine.  Weird.

-- 
Hannu

                 reply	other threads:[~2009-01-27 22:53 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=83hc3ke50q.fsf@kalahari.s2.org \
    --to=azure@iki.fi \
    --cc=git@vger.kernel.org \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox