Ticket #3979 (new defect)

Opened 9 days ago

Last modified 9 days ago

Searching in growbuf doesn't jump to match

Reported by: egmont Owned by:
Priority: major Milestone: Future Releases
Component: mcview Version: 4.8.22
Keywords: Cc:
Blocked By: Blocking:
Branch state: no branch Votes for changeset:

Description

I'm at 158x46 terminal size at the moment, pressing F3 over a local copy of ftp://ftp.gnome.org/pub/GNOME/sources/nautilus/3.28/nautilus-3.28.0.tar.xz , then searching (F7) for the string "nautilus-extension.h" (without quotes).

The file is scrolled to the wrong offset. "55860/58377 [...] 95%" is shown in the upper-right corner, and I have to press the Down arrow 5 times for the match (unhighlighted) to scroll in.

If I jump to the end of the file and back before starting to search (that is: read the entire growbuf) then everything is as expected.

If I search for a slightly different string, it's properly reported that it's not found. So the growbuf is read at least up to the match and it's correctly decided that there is a match, it's just not properly scrolled to.

Change History

comment:1 Changed 9 days ago by egmont

  • Component changed from mc-core to mcview
Note: See TracTickets for help on using tickets.