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

Re: git-gui bugs due to dependency on system Wish on MacOS

From
Glen Choo <chooglen@google.com>
Date
Nov 17, 2021, 19:15 UTC
Message-ID
<kl6lwnl6h9uq.fsf@chooglen-macbookpro.roam.corp.google.com>
In-Reply-To
<kl6lzgq2ha9k.fsf@chooglen-macbookpro.roam.corp.google.com>

It looks like the previous message's formatting got messed up somehow... the correct formatting is below:

Hi! We've received reports that git-gui is showing black windows upon upgrading to MacOS Monterey. It seems to be the same issue as [1], but somehow it's only appeared for our users on Monterey and not Mojave.

I dug a little deeper and I was able to fix the theming issues by using a different version of wish:

  $ brew install tcl-tk
  $ PATH=/usr/local/opt/tcl-tk/bin:$PATH # This contains wish
  $ cd /path/to/git/git-gui/
  $ ./git-gui.sh

Note that I had to call git-gui.sh because that's the only entrypoint that doesn't use the system Wish referenced in the Makefile:

  TKFRAMEWORK = /Library/Frameworks/Tk.framework/Resources/Wish.app

That said, Homebrew seems to have worked around this problem altogether by including their own Tcl/Tk dependency.

* Github Issue https://github.com/Homebrew/homebrew-core/issues/39987
* git-gui formula https://formulae.brew.sh/formula/git-gui
Is this a fix that we should make in the git-gui project?
[1] https://github.com/prati0100/git-gui/issues/48
Previous: Glen Choo
Message 2 of 2 in “git-gui bugs due to dependency on system Wish on MacOS”
  1. Glen ChooNov 17, 2021
  2. Glen ChooNov 17, 2021

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.