threads / bug / 26227

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

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

## tl;dr

5 messages between Jan 7, 2011 and Jan 8, 2011.

replies: 4people: 3as markdown or json

Uwe Kleine-König· Jan 7, 2011, 10:55 UTC · lore
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· Jan 7, 2011, 18:44 UTC · re: Uwe Kleine-König · lore

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

On 1/7/2011 4:55 AM, Uwe Kleine-König wrote:
Show 13 quoted lines
> 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· Jan 7, 2011, 20:22 UTC · re: Neal Kreitzinger · lore

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

On Fri, Jan 07, 2011 at 12:44:18PM -0600, Neal Kreitzinger wrote:
Show 20 quoted lines
> 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· Jan 7, 2011, 20:24 UTC · re: Neal Kreitzinger · lore

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

Neal Kreitzinger <nkreitzinger@gmail.com> wrote:
Show 5 quoted lines
> 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· Jan 8, 2011, 00:17 UTC · re: Stefan Haller · lore

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

On 1/7/2011 2:24 PM, Stefan Haller wrote:
Show 15 quoted lines
> 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

← back to recent threads