Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#1759 closed bug (fixed)

Scroll Increments in Terminal Suboptimal

Reported by: bonefish Owned by: jackburton
Priority: normal Milestone: R1
Component: Applications/Terminal Version: R1/pre-alpha1
Keywords: Cc: andreasf
Blocked By: Blocking:
Platform: All

Description

hrev23895. Real hardware and VMware.

Scrolling by mouse wheel or by scroll bar arrows scrolls only by one pixel per step/click. Clicking the scroll bar (above or below the handle) scrolls only by about half a line. The better increments would be one complete line and one complete page (maybe minus one line) respectively.

Change History (7)

comment:1 by andreasf, 17 years ago

Cc: andreasf added

comment:2 by jackburton, 17 years ago

Status: newassigned

comment:3 by jackburton, 17 years ago

Resolution: fixed
Status: assignedclosed

Should be fixed in hrev23913

comment:4 by bonefish, 17 years ago

Works better now. The page-wise scrolling increment should be adjusted when the window size is changed, though.

in reply to:  4 ; comment:5 by jackburton, 17 years ago

Replying to bonefish:

Works better now. The page-wise scrolling increment should be adjusted when the window size is changed, though.

That should be done in hrev23914.

in reply to:  5 comment:6 by bonefish, 17 years ago

Replying to jackburton:

Replying to bonefish:

Works better now. The page-wise scrolling increment should be adjusted when the window size is changed, though.

That should be done in hrev23914.

Sorry, I should have made that clearer: I tested with hrev23921 and just retested with hrev23930. It doesn't work. Can be easily seen, if you do a "seq 100" and play with the Terminal window size. It always scrolls by the initial size.

comment:7 by jackburton, 17 years ago

Yeah you're right. I moved the call to SetSteps() to FrameResized(), so it's called also when the window is resized. I tested as you suggested and it looks okay now (except for other weird bugs like missing invalidation, wrong view repositioning and stuff like that, not caused by my changes) but I'll fix them later.

Note: See TracTickets for help on using tickets.