Comments (6)
It seems the files app just reloads the folder again when I go back to the last folder.
For efficiency, maybe add a LRU cache for visited folders?
from files.
Thank you for the report, the underlying issue is being tracked in this issue #14119. I looked into this once and it had something to do with virtualization but further debugging is needed.
If you prefer to disable this behavior in the meantime, you can turn off the auto scroll setting from the Files & Folders page.
from files.
Can you explain how virtualization has anything to do with it?
I am sorry but to me, it looks like a purely UI bug:
- The last opened folder is not cached. The icons and thumbnails will reload again when I click the back button
- The last scroll offset is not stored. It looks like it finds the location of the previous folder and simply scrolls to that folder. I am expecting it will scroll to the same offset when I leave the folder (so the previous folder is not necessarily at the first position).
from files.
Can you explain how virtualization has anything to do with it?
I'm not sure exactly and why it's only some of the time, but my understanding is that it can't locate the correct position of the item to scroll to.
from files.
The last scroll offset is not stored. It looks like it finds the location of the previous folder and simply scrolls to that folder. I am expecting it will scroll to the same offset when I leave the folder (so the previous folder is not necessarily at the first position).
This is unpredictable as the folder contents can update.
from files.
The last scroll offset is not stored. It looks like it finds the location of the previous folder and simply scrolls to that folder. I am expecting it will scroll to the same offset when I leave the folder (so the previous folder is not necessarily at the first position).
This is unpredictable as the folder contents can update.
Yeah, but most of the time it just stays the same, you can restore the scroll offset and content from the cache, and when you find anything different from the actual file system, update the folder list asynchronously. This can help the app be more responsive.
from files.
Related Issues (20)
- In the full screen of Files, a small white bar appears at the top HOT 1
- App Never Opens HOT 14
- Filder with image doesn't present images themself but the icons HOT 5
- Bug: Extreme unresponsiveness in Dual Pane Mode and grid layout HOT 1
- Bug: Mouse back/forward buttons highlight hovered pane HOT 5
- Feature: Set expanded state for all operations HOT 3
- Use Files as system/application Open/Save As dialog. HOT 3
- Command bar 'New' button flyout menu position HOT 6
- Files classic installer just carries on installing forever HOT 3
- File draging HOT 1
- Bug: Unavailable buttons don't use grey icons HOT 3
- Bug: Column view selection isn't kept when right clicking in folder 3 levels deep HOT 2
- Recycle Bin Bug HOT 2
- Installation Errors HOT 4
- Bug: Crash via CLI when using an invalid path HOT 2
- Bug: Changing directory without canceling quick search shows no items in folder
- Bug: Opening the recycle bin from pinned makes it intermittently disappear and displays the drive ejected dialog HOT 5
- Opening the wsl.exe window HOT 1
- memory HOT 1
- Add Support for kDrive File Cloud Service HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from files.