Skip to content

double clicking to preview a resource scrolls the filesystem view when in split mode #80937

Closed
@mieldepoche

Description

@mieldepoche

Godot version

4.1.1

System information

linux

Issue description

simplescreenrecorder-2023-08-23_18.31.23.webm

In this clip I'm double-clicking textures to preview them and as you can see the file view scrolls to put the clicked file at the bottom of the panel.

The behavior should be: scroll to have the clicked item fully in view only if said item was partially out of the view to begin with.

Steps to reproduce

  1. filesystem in split mode (thumbnail grid or item list, doesn't matter).
  2. have enough resources to scroll
  3. scroll down so the bug can occur (since it will auto scroll up)
  4. double click on a texture to view it in the inspector

Minimal reproduction project

filesystem_view_auto_scroll.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions