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

[WORKAROUND] gitk lower pane scrollbar extends past gitk window

From
Jakub Narebski <jnareb@gmail.com>
Date
Jun 22, 2006, 07:48 UTC
Message-ID
<e7di0n$7hh$1@sea.gmane.org>
In-Reply-To
<81b0412b0606220010p6c2e62ffv3914abafd95e4bb2@mail.gmail.com>
Alex Riesen wrote:
Show 18 quoted lines
> On 6/22/06, Edgar Toernig <froese@gmx.de> wrote:
>> Jakub Narebski wrote:
>>>
>>> In gitk from the current 'next' branch, post git version 1.4.0
>>> (blob ba4644f) scrollbar for lower pane, i.e. for commitdiff and files
>>> (Comments) views extends past the bottom of the gitk window. Therefore
>>> I cannnot see lower part of commit diff if it is larger than 
>>> window height. 
>>
>> Yes, and the search field at the bottom is invisible too.  Removing
>> line 431:
>>
>>         .ctop conf -width $geometry(width) -height $geometry(height)
>>
>> seems to fix it and the window still gets the right size.
>>
> 
> No, it does not. It gets the default geometry, not the one it had last time.

Now I see. It is the case when I used gitk from a computer with a desktop with larger screen height, then on computer with screen height smaller than gitk height was I had mentioned problem.

Workaround for now is to delete old geometry info from ~/.gitk file (or just delete whole file).

I don't know Tcl/Tk to make proper fix, i.e. check if restored size is not larger than available screen size, and use min(saved size, screen size). Another improvement would be to save the fact that gitk window is maximized as a symbol, e.g. as equivalent of

  set geometry(height) screen(height)
in ~/.gitk
-- 
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git
Previous: Alex RiesenNext: Jakub Narebski
Message 13 of 14 in “gitk lower pane (commit and files view) scrollbar extends past gitk window”
  1. Jakub NarebskiJun 21, 2006
  2. Edgar ToernigJun 22, 2006
  3. gitweb: whitespace cleanup around '='Jakub Narebski, Jun 22, 2006
  4. Jakub NarebskiJun 22, 2006
  5. Junio C HamanoJun 22, 2006
  6. Jakub NarebskiJun 22, 2006
  7. Junio C HamanoJun 22, 2006
  8. Jakub NarebskiJun 22, 2006
  9. Junio C HamanoJun 22, 2006
  10. Jakub NarebskiJun 22, 2006
  11. Santi BéjarJun 22, 2006
  12. Alex RiesenJun 22, 2006
  13. [WORKAROUND] gitk lower pane scrollbar extends past gitk windowJakub Narebski, Jun 22, 2006
  14. Jakub NarebskiJun 22, 2006

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.