# bug in gitk: history moves right when scrolling up and down with mouse wheel

5 messages from 2011-01-07 to 2011-01-08. Participants: Uwe Kleine-König, Neal Kreitzinger, Stefan Haller.
Thread: https://gitlist.dev/t/26227

## Uwe Kleine-König, 2011-01-07 10:55

Subject: bug in gitk: history moves right when scrolling up and down with mouse wheel
Message-ID: <20110107105523.GA6701@pengutronix.de>
URL: https://gitlist.dev/e/20110107105523.GA6701%40pengutronix.de

```
Hello,

I don't know yet how to reliably trigger that, but it feels scary.

If that help, it happens with the view

	{karo {} ^linus/master {git for-each-ref --format='%(refname)' refs/remotes/customers/karo refs/heads/karo}}

If I knew how to record a video of my screen, I'd do this.  Maybe
someone knows?  Maybe this report is already enough?

Happens with Debian's git 1:1.7.2.3-2.2.

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |

```

## Neal Kreitzinger, 2011-01-07 18:44

Subject: Re: bug in gitk: history moves right when scrolling up and down with mouse wheel
Message-ID: <4D275F02.1030100@gmail.com>
URL: https://gitlist.dev/e/4D275F02.1030100%40gmail.com
In-Reply-To: <20110107105523.GA6701@pengutronix.de>

```
On 1/7/2011 4:55 AM, Uwe Kleine-König wrote:
> Hello,
>
> I don't know yet how to reliably trigger that, but it feels scary.
>
> If that help, it happens with the view
>
> 	{karo {} ^linus/master {git for-each-ref --format='%(refname)' refs/remotes/customers/karo refs/heads/karo}}
>
> If I knew how to record a video of my screen, I'd do this.  Maybe
> someone knows?  Maybe this report is already enough?
>
> Happens with Debian's git 1:1.7.2.3-2.2.
>

Actually, I've wanted the ability to scroll left and right in the 
history pane for quite a while.  Resorting to shrinking the fontsize and 
the other columns only goes so far when trying to see a list of 
equivalent refs.  If the ability to scroll left and right can be kept 
that would be cool.

v/r,
Neal

```

## Uwe Kleine-König, 2011-01-07 20:22

Subject: Re: bug in gitk: history moves right when scrolling up and down with mouse wheel
Message-ID: <20110107202239.GN25121@pengutronix.de>
URL: https://gitlist.dev/e/20110107202239.GN25121%40pengutronix.de
In-Reply-To: <4D275F02.1030100@gmail.com>

```
On Fri, Jan 07, 2011 at 12:44:18PM -0600, Neal Kreitzinger wrote:
> On 1/7/2011 4:55 AM, Uwe Kleine-König wrote:
>> Hello,
>>
>> I don't know yet how to reliably trigger that, but it feels scary.
>>
>> If that help, it happens with the view
>>
>> 	{karo {} ^linus/master {git for-each-ref --format='%(refname)' refs/remotes/customers/karo refs/heads/karo}}
>>
>> If I knew how to record a video of my screen, I'd do this.  Maybe
>> someone knows?  Maybe this report is already enough?
>>
>> Happens with Debian's git 1:1.7.2.3-2.2.
>>
>
> Actually, I've wanted the ability to scroll left and right in the  
> history pane for quite a while.  Resorting to shrinking the fontsize and  
> the other columns only goes so far when trying to see a list of  
> equivalent refs.  If the ability to scroll left and right can be kept  
> that would be cool.
you can press the middle mouse button and move it left/right to scroll
sideways. (This is standard for tcl/tk apps.) But this is not my problem.

I turn the scroll wheel and the window scrolls up and down (which is
expected and good). But at the same time parts of the *content* of the
window starts moving right and so make the (virtual) window broader.

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |

```

## Stefan Haller, 2011-01-07 20:24

Subject: Re: bug in gitk: history moves right when scrolling up and down with mouse wheel
Message-ID: <1juqtpt.1dxkc9x1ho9gxzM%lists@haller-berlin.de>
URL: https://gitlist.dev/e/1juqtpt.1dxkc9x1ho9gxzM%25lists%40haller-berlin.de
In-Reply-To: <4D275F02.1030100@gmail.com>

```
Neal Kreitzinger <nkreitzinger@gmail.com> wrote:

> Actually, I've wanted the ability to scroll left and right in the 
> history pane for quite a while.  Resorting to shrinking the fontsize and
> the other columns only goes so far when trying to see a list of 
> equivalent refs.  If the ability to scroll left and right can be kept
> that would be cool.

Interesting.  On the Mac it *is* possible to scroll left and right, and
it absolutely drives me nuts, so I disabled it in my private build. 
I guess it's ok with a mouse, where shift-wheel scrolls horizontally,
but on a track-pad with two-finger scrolling, where you can scroll both
horizontally and vertically with a single guesture, it is completely
undesirable.


-- 
Stefan Haller
Berlin, Germany
http://www.haller-berlin.de/

```

## Neal Kreitzinger, 2011-01-08 00:17

Subject: Re: bug in gitk: history moves right when scrolling up and down with mouse wheel
Message-ID: <4D27AD21.9060205@gmail.com>
URL: https://gitlist.dev/e/4D27AD21.9060205%40gmail.com
In-Reply-To: <1juqtpt.1dxkc9x1ho9gxzM%lists@haller-berlin.de>

```
On 1/7/2011 2:24 PM, Stefan Haller wrote:
> Neal Kreitzinger<nkreitzinger@gmail.com>  wrote:
>
>> Actually, I've wanted the ability to scroll left and right in the
>> history pane for quite a while.  Resorting to shrinking the fontsize and
>> the other columns only goes so far when trying to see a list of
>> equivalent refs.  If the ability to scroll left and right can be kept
>> that would be cool.
>
> Interesting.  On the Mac it *is* possible to scroll left and right, and
> it absolutely drives me nuts, so I disabled it in my private build.
> I guess it's ok with a mouse, where shift-wheel scrolls horizontally,
> but on a track-pad with two-finger scrolling, where you can scroll both
> horizontally and vertically with a single guesture, it is completely
> undesirable.
>
I agree.  What would be ideal is a left-right scroll bar like the 
up-down scrollbar.

v/r,
Neal

```
