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

gitk bug: Disabling "Themed widgets" breaks preferences dialogue

From
MHMark Hills <mark@xwax.org>
Date
Aug 28, 2025, 14:02 UTC
Message-ID
<075a1389-c5d6-18f4-ed19-13b0041dbbd0@xwax.org>
I use Alpine Linux 3.22 (latest).
Recently gitk's preferences window refuses to open.

This seems to be a direct result of switching off the "Themed widgets" setting, which is my preferred choice.

Error message:
invalid command name "::combobox"
invalid command name "::combobox"
    while executing
"${NS}::combobox $page.wrapcomment -values {none char word} -state 
readonly  -textvariable wrapcomment"
    (procedure "prefspage_general" line 41)
    invoked from within
"prefspage_general $notebook"
    (procedure "doprefs" line 27)
    invoked from within
"doprefs"
    invoked from within
".#bar.#bar#edit invoke active"
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 [list $w invoke active]"
    (procedure "tk::MenuInvoke" line 50)
    invoked from within
"tk::MenuInvoke .#bar.#bar#edit 1"
    (command bound to event)
Steps to reproduce:
  $ rm -f ~/.gitk ~/.config/git/gitk
  $ cd <git-repo>
  $ gitk
  Edit -> Preferences
  Uncheck "Use themed widgets"
  Ok
  File -> Quit
  $ gitk
  [error]
  Ok
  [empty preferences window opens]

$ cat /etc/alpine-release 3.22.1

$ apk info git tk tcl git-2.49.1-r0 description: Distributed version control system

git-2.49.1-r0 webpage: https://www.git-scm.com/

git-2.49.1-r0 installed size: 6568 KiB

tcl-8.6.16-r0 description: The Tcl scripting language

tcl-8.6.16-r0 webpage: https://www.tcl-lang.org/

tcl-8.6.16-r0 installed size: 4244 KiB

tk-8.6.16-r0 description: GUI toolkit for the Tcl scripting language

tk-8.6.16-r0 webpage: https://www.tcl-lang.org/

tk-8.6.16-r0 installed size: 1926 KiB

-- 
Mark
Next: Johannes Sixt
Message 1 of 3 in “gitk bug: Disabling "Themed widgets" breaks preferences dialogue”
  1. Mark HillsAug 28, 2025
  2. Johannes SixtAug 28, 2025
  3. Removal of classic Tk widgets (was Re: gitk bug: Disabling "Themed widgets" breaks preferences dialogue)Mark Hills, Sep 9, 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.