{"thread":{"id":"17399","subject":"git gui blame tooltip problem in Cygwin with multiple displays","startedAt":"2009-01-27T22:52:05Z","lastAt":"2009-01-27T22:52:05Z","messageCount":1,"participants":["Hannu Koivisto"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"102187","messageId":"83hc3ke50q.fsf@kalahari.s2.org","threadId":"17399","inReplyTo":null,"subject":"git gui blame tooltip problem in Cygwin with multiple displays","fromName":"Hannu Koivisto","fromEmail":"azure@iki.fi","sentAt":"2009-01-27T22:52:05Z","receivedAt":"2009-01-27T22:52:05Z","isPatch":false,"sender":{"key":"azure@iki.fi","avatar":null},"body":"Hi,\n\nI have two displays in my Windows XP SP3 machine, display 1 on the\nleft 1050x1680 (rotated 90deg) and display 2 (primary display) on\nthe right 1920x1080.  Display coordinates ((top left\ncorner)-(bottom right corner)) are (-1050,-600)-(0,1080) and\n(0,0)-(1920,1080), respectively.  That is, all visible x\ncoordinates on display 1 are negative and y coordinates are partly\nnegative.\n\ngit gui blame works fine when its window is on the primary display\nbut if I move it to the other display, the tooltips it opens are\nstill opened on the primary display, far from the cursor's current\nposition.  I wonder if the tooltip position calculations cannot\nhandle those negative coordinates?  I found the code in question\nbut I can't really read tcl/tk nor have I any idea how to\ninstrument it to log position calculations, for example.\n\nI realize this may be a quite rare setup and I would like to help\nnarrow this down but I need a debug version of the code or\nsomething, unless of course the problem is obvious to the author or\nsomeome who is proficient with tcl.\n\nTested with git 1.6.1.265.g9a013 (and some slightly older version\nas well).\n\nPS. I tried to send this, twice, directly to the list (instead of\nvia Gmane) and Cc the author of the code, Shawn O. Pearce, but for\nsome reason those mails never showed up, even though at the same\ntime I was able to send other mails to the list just fine.  Weird.\n\n-- \nHannu\n"}]}