From: carbonated beverage Date: Thu, 03 Aug 2006 09:31:13 GMT Subject: Re: What's in git.git Message-ID: <20060803093113.GB14400@prophet.net-ronin.org> In-Reply-To: <20060803085002.GA14400@prophet.net-ronin.org> Okay, dug around a bit more, and I admit, I'm not very familiar with Tk (just started reading about it when poking at the gitk weirdness). After applying your patch, rm'ing ~/.gitk, *and* doing: --- gitk 2006-08-03 02:27:20.000000000 -0700 +++ /home/barbeque/bin/gitk 2006-08-03 02:24:52.000000000 -0700 @@ -429,7 +429,7 @@ panedwindow .ctop -orient vertical if {[info exists geometry(width)]} { .ctop conf -width $geometry(width) -height $geometry(height) - set texth [expr {$geometry(height) - $geometry(canvh) - 56}] + set texth [expr {$geometry(height) - $geometry(canvh) - 136}] set geometry(ctexth) [expr {($texth - 8) / [font metrics $textfont -linespace]}] } Then subsequent launches of gitk appear to be correct. However, if the stale ~/.gitk is still around, the bug stays around. Since my eyes are getting fuzzy, can someone that knows TCL/Tk eyeball that and see if it's the actual cause, or just papering over a bug? Thanks! -- DN Daniel