git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Marc Branchaud <marcnarc@xiplink.com>
To: Nicolas Cornu <ncornu@aldebaran-robotics.com>
Cc: Johannes Sixt <j.sixt@viscovery.net>,
	git@vger.kernel.org, paulus@samba.org
Subject: Re: [PATCH v2] gitk: Add a horizontal scrollbar for commit history
Date: Wed, 30 Oct 2013 11:04:55 -0400	[thread overview]
Message-ID: <52712017.7080408@xiplink.com> (raw)
In-Reply-To: <CAMXp-VMOpBu1iUi4iQ008KyBJ5nKOpRntSSFyK+C0X8y0-J8tg@mail.gmail.com>

On 13-10-30 10:49 AM, Nicolas Cornu wrote:
> 2013/10/30 Marc Branchaud <marcnarc@xiplink.com>:
>> On 13-10-30 08:47 AM, Nicolas Cornu wrote:
>>> This is useful on all our repos, every times, as we put a tag per day.
>>> If the HEAD didn't move during 150 days, we got 150 tags.
>>> So, it depends, maybe can I put it as an option in Edit > Preferences?
>>
>> Eek, even with a scrollbar, 150 tags seems like a lot to pan over.
>
> Now, it works pretty well and is easier than mouse middle-click which
> acts strangely for me.

Yes, it's a bit weird for me too.  I think it's because the
middle-button-dragging can only be horizontal *xor* vertical.

>> I've often thought it would be good for gitk to combine multiple ref names
>> into some kind of dropdown or view-on-hover list.  (I don't know anything
>> about Tcl/Tk, so I don't know what's feasible.)  So if a commit has more than
>> a couple of branches (and/or tags), only show the first branch name along
>> with a glyph indicating that there are more, and let the user click on (or
>> hover over) that glyph to see all the branches (or tags -- that is, still
>> keep the tags and branches displayed separately).
>
> It doesn't change that if you got 150 tags, when you will show them
> up, you will need to scroll.

True, but it would mean that there's no horizontal scroll bar taking up space
in the main display.  The scrolling would also vertically oriented, which is
mousewheel-friendly.  Also, the display would be a lot less cluttered.

		M.

  reply	other threads:[~2013-10-30 15:04 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-30 10:58 [PATCH v2] gitk: Add a horizontal scrollbar for commit history Nicolas Cornu
2013-10-30 12:01 ` Johannes Sixt
2013-10-30 12:47   ` Nicolas Cornu
2013-10-30 14:46     ` Marc Branchaud
2013-10-30 14:49       ` Nicolas Cornu
2013-10-30 15:04         ` Marc Branchaud [this message]
2013-10-31  9:05     ` Paul Mackerras
2013-11-02  9:40       ` Heiko Voigt
2013-11-04 15:50       ` Marc Branchaud

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=52712017.7080408@xiplink.com \
    --to=marcnarc@xiplink.com \
    --cc=git@vger.kernel.org \
    --cc=j.sixt@viscovery.net \
    --cc=ncornu@aldebaran-robotics.com \
    --cc=paulus@samba.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).