Skip to content

Search not auto scrolling on committed files #2713

@MicaelMor

Description

@MicaelMor

Hi,

On Fork 2.15.4.0 if I do a search (CTRL+F) on a file of a commit, in the Commit tab the search highlights all matching text, however if the matching text is outside the range of the window, it doesn't automatically scroll to present it, and since there is no match count on the search the only way to know if the commit has that piece of text is to scroll the entire thing and try to spot the highlight.

Pressing the < > does not solve the issue, even though it changes which specific match is highlighted, SHIFT+Enter also doesn't solve it.

One workaround to this is to go to the tab Changes instead of the Commit tab, and in the Changes tab the behavior works as expected with the window automatically scrolling to meet the highlight.

Replication is simple, just select a commit, and in the Commit tab select a file where the list of changes goes beyond what can be shown on screen at once, and search for something that is in the integrated "commit diff visualization." but outside the current view.

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions