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

gitk's copy pasteboard doesn't persist after it quits

From
Jonathan del Strother <maillist@steelskies.com>
Date
Nov 22, 2007, 11:44 UTC
Message-ID
<DFBFC631-01BF-4D2D-BCF3-3FC376479CB2@steelskies.com>

On OS X, if I load gitk, copy a sha1, then quit, the sha1 isn't put into the system-wide pasteboard. It's definitely copied - I can paste it back into the sha1 field - but it seems to be some sort of local pasteboard that's specific to gitk

If I switch to another app, the sha1 is stored in the pasteboard correctly, and I can then quit gitk and still have it available. I'm guessing that gitk (or Tcl/Tk) is syncing with the system-wide pasteboard on focus change, but not on quit.

I'm using the version of gitk in 388afe7881b, and Tcl 8.4.7
Any suggestions on fixing / working around this?
Jon
Next: Shawn O. Pearce
Message 1 of 3 in “gitk's copy pasteboard doesn't persist after it quits”
  1. Jonathan del StrotherNov 22, 2007
  2. Shawn O. PearceNov 22, 2007
  3. Jean-François VeilletteNov 22, 2007

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.