Ticket #4652 (new defect) — at Initial Version

Opened 9 days ago

Last modified 9 days ago

mcedit non-fullscreen ctrl-pgdown jumps too far

Reported by: dextarr Owned by:
Priority: major Milestone: 4.8.34
Component: mcedit Version: master
Keywords: Cc:
Blocked By: Blocking:
Branch state: merged Votes for changeset:

Description

Dear support,

i've bumped into an issue using ctrl-pgdown in _non-fullscreen_ editor mode, it jumps 2 more lines forward than expected. tested on debian-sid-docker (mc amd64 3:4.8.33-1)

reproduce:

  • open a larger file with F4 (large enough to press pageup/down freely without reaching EOF right away)
  • (optional) press alt-n to turn on line numbering
  • (optional) hit ctrl-down couple of times so the first line will be e.g. line #4
  • (optional) verify the normal behavior by pressing ctrl-pgup/down, it always jumps to the first and last visible line in the window as expected
  • click on "*" in the upper right corner
  • now pressing ctrl-pgdown results jumping 2 lines further in the file than the last line in the window (or even 2 more further by pressing it repeatedly).
  • ctrl-pgup works like in fullscreen mode, no anomalies with that

please consider fixing it, thanks!

Note: See TracTickets for help on using tickets.