git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Benoit Sigoure <tsuna@lrde.epita.fr>
To: Git Mailing List <git@vger.kernel.org>
Subject: gitk/git-gui misfeature: saving the geometry can the window out of reach
Date: Sat, 10 Nov 2007 22:48:05 +0100	[thread overview]
Message-ID: <63F7323C-D90A-4F5E-AE3C-8937455972FD@lrde.epita.fr> (raw)

[-- Attachment #1: Type: text/plain, Size: 896 bytes --]

Hello list,

gitk (and I think git-gui too) save their "geometry" (which includes  
X/Y position) in ~/.gitk.  So far so good.  The problem is that I  
often use 2 screens at work (one is the screen of my laptop, the  
other one is above) and I happen to put my gitk/git-gui windows on  
the 2nd screen.  When I go back home, I don't have a second screen  
and gitk/git-gui open their windows out of reach.  This could well be  
an ugly wart in Apple's port of Tcl/Tk (I have a MacBook with OSX  
10.4.10) or a more general problem (didn't try with other OSes).

git-gui version 0.8.4
git version 1.5.3.5.654.gdd5ec (tonight's master's HEAD)
Tcl/Tk version 8.4.7 (Apple's)
(gitk doesn't support --version!)

For those struggling with the same problem, here is a quick workaround:
   gnused -i /geometry/d ~/.gitk

Cheers,

-- 
Benoit Sigoure aka Tsuna
EPITA Research and Development Laboratory



[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 186 bytes --]

             reply	other threads:[~2007-11-10 21:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-10 21:48 Benoit Sigoure [this message]
2007-11-11  5:11 ` gitk/git-gui misfeature: saving the geometry can the window out of reach Shawn O. Pearce
     [not found]   ` <8700373A-4878-4EBD-BA27-D4F31BE44907@lrde.epita.fr>
2007-11-11 10:44     ` Shawn O. Pearce

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=63F7323C-D90A-4F5E-AE3C-8937455972FD@lrde.epita.fr \
    --to=tsuna@lrde.epita.fr \
    --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;
as well as URLs for NNTP newsgroup(s).