[Konsole-devel] [PATCH] mouse wheel sends keys when it shouldn't

Matthew Woehlke mw_triad at users.sourceforge.net
Mon Mar 31 23:20:02 UTC 2008


Robert Knight wrote:
> I forgot about the Up/Down arrow keys triggering a scroll to the bottom.

(Well, any input jumps back to the bottom, but...)

> For some reason I was thinking that QScrollBar::maximum()
> was the max value plus the page step which is clearly wrong - so 
> sliderAtBottom was being set to true when it shouldn't have. 

Ah, so /that's/ what was going wrong.

> The canScroll() method isn't needed at all then - the code can just be 
> moved to a variable assignment.  I committed that as rv. 792354.
> Thanks :)

Thanks for the quick response! (...if not for the conflict it introduced 
;-).)

-- 
Matthew
I think I want my tombstone to read:
<name>
Process created <date of birth>
Signal 15 received <date of death>




More information about the konsole-devel mailing list