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

[PATCH 0/3] gitk: small quality of life improvements for themed Tk

From
CGChristoph Sommer via GitGitGadget <gitgitgadget@gmail.com>
Date
Apr 28, 2025, 15:56 UTC
Message-ID
<pull.1909.git.1745855773.gitgitgadget@gmail.com>

These three closely related patches build on https://lore.kernel.org/git/pull.1835.git.1733767737.gitgitgadget@gmail.com to:

 1. also allow changing text wrapping preferences for users that do not use
    themed Tk (that is, users that have turned the "use themed widgets"
    preference off);
 2. no longer change the background color when using themed Tk (the default)
    as - at least on the platforms I tried - most widgets and the main
    window do not change their background color anyhow, whereas some widgets
    do, leading to a messy looking UI where different widgets seemingly
    assume different background colors; and
 3. use the now-available uicolor preference to draw a "sash" (grab handle)
    between the many panes of the main window when using themed Tk; on the
    platforms I tried, themed Tk was both the default and it was not
    rendering any sash, thus requiring users to guess where to click to
    resize window panes. Manually setting uicolor to a platform-dependent
    color (see https://www.tcl-lang.org/man/tcl/TkCmd/colors.htm#M4) in the
    config file works to get sashes that automatically adapt to light mode
    and dark mode.
Christoph Sommer (3):
  gitk: fix text wrapping preferences for unthemed tk
  gitk: do not set fg/bg color scheme for themed Tk
  gitk: on themed tk, use uicolor to draw a sash between panes
 gitk-git/gitk | 60 +++++++++++++++++++++++++++++++++++++++++++++------
 1 file changed, 53 insertions(+), 7 deletions(-)
base-commit: f65182a99e545d2f2bc22e6c1c2da192133b16a3
Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-1909%2Fsommer%2Fmaster-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-1909/sommer/master-v1
Pull-Request: https://github.com/gitgitgadget/git/pull/1909
-- 
gitgitgadget
Next: Christoph Sommer via GitGitGadget
Message 1 of 4 in “gitk: small quality of life improvements for themed Tk”
  1. 0/3 gitk: small quality of life improvements for themed TkChristoph Sommer via GitGitGadget, Apr 28, 2025
  2. 1/3 gitk: fix text wrapping preferences for unthemed tkChristoph Sommer via GitGitGadget, Apr 28, 2025
  3. 3/3 gitk: on themed tk, use uicolor to draw a sash between panesChristoph Sommer via GitGitGadget, Apr 28, 2025
  4. 2/3 gitk: do not set fg/bg color scheme for themed TkChristoph Sommer via GitGitGadget, Apr 28, 2025

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.