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

Re: gitk: "lime" color incompatible with older Tk versions

From
David Aguilar <davvid@gmail.com>
Date
Jan 13, 2017, 11:20 UTC
Message-ID
<20170113112043.j7nowdilolswyk2k@gmail.com>
In-Reply-To
<CAGZ79kaO9T+Qc=M6s_ZdpAfLZCVQEYNF=zNxDWArDmsA7jjCWg@mail.gmail.com>
On Mon, May 02, 2016 at 09:20:43AM -0700, Stefan Beller wrote:
Show 8 quoted lines
> + Paul Mackerras, who maintains gitk
> 
> On Sun, May 1, 2016 at 10:03 AM, Andrew Janke <floss@apjanke.net> wrote:
> > Hi, git folks,
> >
> > I'm having trouble running gitk on Mac OS X 10.9.5. The gitk program uses
> > the color "lime", which is not present in older versions of Tk, apparently
> > including the Tk 8.5 which ships with 10.9.

Ping.. it would be nice to get this patch applied. I can verify that gitk on Mac OS X 10.11 also has this problem. gitk is usually pretty good about backwards-compatibility.

Show 6 quoted lines
> > This compatibility problem was noted before back in 2012, in
> > http://www.mail-archive.com/git%40vger.kernel.org/msg14496.html.
> >
> > Would you consider switching from lime to a hex value color, for
> > compatibility with users of older versions of Tk? A patch to do so is below;
> > only the file gitk-git/gitk needs to be changed.

I can recreate and resend this patch if needed; it's simply: :%s/lime/"#99FF00"/g

Would a re-roll of this patch be accepted, or is it not worth bothering?

Google for "gitk lime" to get a taste for some of the fallout caused by this problem.

The fact that multiple pages, with different OS's, have examples of users stumbling over this change is a good hint that it's worth fixing.

Thoughts?
-- 
David
Previous: Stefan BellerNext: David Aguilar
Message 3 of 11 in “gitk: "lime" color incompatible with older Tk versions”
  1. Andrew JankeMay 1, 2016
  2. Stefan BellerMay 2, 2016
  3. David AguilarJan 13, 2017
  4. gitk pull request // was: Re: gitk: "lime" color incompatible with older Tk versionsDavid Aguilar, Jan 14, 2017
  5. Junio C HamanoJan 15, 2017
  6. Paul MackerrasJan 16, 2017
  7. Junio C HamanoJan 16, 2017
  8. Junio C HamanoJan 17, 2017
  9. gitk: remove translated message from commentsDavid Aguilar, Jan 18, 2017
  10. Paul MackerrasJan 18, 2017
  11. Junio C HamanoJan 18, 2017

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.