git/list[1] front-page[2] threads[3] people[4] search[5] about
 

git gui blame tooltip problem in Cygwin with multiple displays

From
HKHannu Koivisto <azure@iki.fi>
Date
Jan 27, 2009, 22:52 UTC
Message-ID
<83hc3ke50q.fsf@kalahari.s2.org>
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
Message 1 of 1 in “git gui blame tooltip problem in Cygwin with multiple displays”
  1. Hannu KoivistoJan 27, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.