Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Scroll position isn't always in the correct position #5825

Closed
Josh65-2201 opened this issue Aug 14, 2021 · 17 comments · Fixed by #15281
Closed

Bug: Scroll position isn't always in the correct position #5825

Josh65-2201 opened this issue Aug 14, 2021 · 17 comments · Fixed by #15281
Labels
bug Something isn't working 👀 help wanted Extra attention is needed

Comments

@Josh65-2201
Copy link
Member

Josh65-2201 commented Aug 14, 2021

Description

When in a folder that has folders named with _ at the start or group by options enabled the scroll will not be at the top.

Steps To Reproduce

  1. Create a folder with enough items for scrolling
  2. Create a folder with an _ at the start or use group by options
  3. Go to previous folder and back
  4. See scroll position not at the top

Expected behavior

Should start at top or directory always

Files Version

1.9.23.0

Windows Version

10.0.19043.1151

Relevant Assets

No response

@Josh65-2201 Josh65-2201 added the bug Something isn't working 👀 label Aug 14, 2021
@Josh65-2201 Josh65-2201 changed the title View will start at folders/files not with _ Bug: Opening a large folder has the view scrolled down from top sometimes Sep 8, 2022
@yaira2
Copy link
Member

yaira2 commented Sep 22, 2022

Is this specific to large directories are just when there are enough items to enable the scroll bar?

@Josh65-2201
Copy link
Member Author

Ive only had it with large directories (200+) when files and folders load and display in chunks

@yaira2 yaira2 changed the title Bug: Opening a large folder has the view scrolled down from top sometimes Bug: Scroll position isn't always in the correct position when opening large directories Sep 22, 2022
@Josh65-2201 Josh65-2201 changed the title Bug: Scroll position isn't always in the correct position when opening large directories Bug: Scroll position isn't always in the correct position Mar 21, 2023
@IlyaSulli
Copy link

I just tested it, it is something to do with having folders and files together, either the folders or the files load first so that when it opens it goes to the top of that and then when the other is loaded, the position is partially scrolled. It is not based on file size, Since I used 30 empty files and 28 small images.

@IlyaSulli
Copy link

UPDATE: With my test, only 25 folders are loaded at first.

@Kradziej
Copy link

Any updates here? It's really not very convenient to open a folder with hundreds of files and land in the middle of the directory, seem like a critical bug to me.

@yaira2
Copy link
Member

yaira2 commented Apr 14, 2024

@Kradziej is this only an issue in the downloads folder? If that's the case, you can work around it by setting the grouping type to none.

@JTFA
Copy link

JTFA commented Apr 14, 2024

@Kradziej is this only an issue in the downloads folder? If that's the case, you can work around it by setting the grouping type to none.

the position is still not correct when the grouping type is set to none

@yaira2
Copy link
Member

yaira2 commented Apr 14, 2024

@JTFA I'm having trouble reproducing this on my device, can you upload a screen recording to GitHub so I can make sure I'm following step by step?

@JTFA
Copy link

JTFA commented Apr 14, 2024

@JTFA I'm having trouble reproducing this on my device, can you upload a screen recording to GitHub so I can make sure I'm following step by step?

this bug occurs when I open the downloads folder with the default settings just after installation, and my downloads folder contains 70 folders and over 1300 files, and the files and folders span about a year and a half

@yaira2
Copy link
Member

yaira2 commented Apr 14, 2024

Without a screen recording it's for me to try and repro, the best I can recommend is to make sure you disabled grouping for the Downloads folder specifically via the toolbar.
image

@JTFA
Copy link

JTFA commented Apr 14, 2024

Without a screen recording it's for me to try and repro, the best I can recommend is to make sure you disabled grouping for the Downloads folder specifically via the toolbar. image

is there any other settings you are interested in? I can record the screen now

@yaira2
Copy link
Member

yaira2 commented Apr 14, 2024

A screen recording would be helpful, thanks!

@JTFA
Copy link

JTFA commented Apr 14, 2024

A screen recording would be helpful, thanks!

_2024_04_15_00_10_30_521.mp4

all my settings are displayed in the video

@yaira2
Copy link
Member

yaira2 commented Apr 14, 2024

What happens if you change the sort by type to name?

@JTFA
Copy link

JTFA commented Apr 14, 2024

What happens if you change the sort by type to name?

when sort by ascending, it is at the correct position.
but when sort by descending, the position is at the last folder.

@yaira2
Copy link
Member

yaira2 commented Apr 14, 2024

@Josh65-2201 is this the same repro steps for you?

@Josh65-2201
Copy link
Member Author

Josh65-2201 commented Apr 14, 2024

It happen for me with the ascending sort. Descending puts it at the bottom of the folder for me even when the other items are files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working 👀 help wanted Extra attention is needed
Projects
Archived in project
6 participants