Comments (5)
Actually I'm not sure about the reason of the old designed behavior and I've asked the product manager once about this issue, as the result we leave it as-is but I still don't know the reason :(
Anyway if anyone would like to working on this issue, feel free to leave a patch here, and I'd like to ask about changing the behavior, help review code and merge it :)
from dde-file-manager.
In linux, every folder got at least one hard link to the actual data, we have two ways to fix it: don't count file size if it's a hard link which linked to more than two files (i don't think this is a good approach), or just treat all hard link as-is. Please read this first.
btw, please don't ignore the issue template.
from dde-file-manager.
Oh ... you closed the issue !!!
Honestly what you say is a little too technical for me to understand it fully ... but i can say this much this issue isn't replicated in the Nautilus file manager ... i installed and tested it specifically for this issue ...
am not clear of Your closing of this issue, is it bcos it can't be resolved or it doesn't really matter ???
PS : as a non-technical user / tester ... taking the time out to report anomalies is as far we can go !!!
from dde-file-manager.
Honestly what you say is a little too technical for me to understand it fully ... but i can say this much this issue isn't replicated in the Nautilus file manager ...
I means actually a normal folder is also a hard link, so if you created a hard link for a folder, then there are two folders(or say, two hard links) are pointed to the same data, in this case there are really no different between these two folders(hard links), so if we are going to check the file size, simply ignoring hard link with more than one file linked is not a good approach.
Personally I recommend you read the hard link wikipedia page first so it will probably help you understand the reason.
am not clear of Your closing of this issue, is it bcos it can't be resolved or it doesn't really matter ???
Yeah, it's designed to be like this. We are ignoring soft link, but not hard link, so it's actually not a bug and then I closed the issue, simple as that.
If you got any good idea about how we could deduplicate, feel free to update this issue and reopen it.
taking the time out to report anomalies is as far we can go !!!
Sorry about make you feel bad but closing an issue don't means you did anything wrong, your issue is still helpful but if an issue is invalid (e.g. It's not a bug / It's designed to be like this), leave the issue open really can did nothing since we have still a lot of things to work on. Thank you for the feedback anyway :)
from dde-file-manager.
The du
command as well as Nautilus give the right answer about the folder size - why you cannot do the same again?
from dde-file-manager.
Related Issues (20)
- Better translation for dropdown menu HOT 5
- DISABLE_SCREENSAVER option cannot be turned off HOT 3
- 部分软件在选择文件时会闪退 HOT 8
- 文件拖动效果改进建议 HOT 4
- 文件属性窗口UI有问题,无法点击 HOT 4
- 目前是否有支持用户添加自定义文件属性的接口 HOT 2
- Add documentation on how you can add a menu entry. HOT 2
- installing from source code issue HOT 2
- 【缺陷报告】dde-file-manager可能有明显的内存泄露 HOT 2
- BUG - Bugged address bar while looking for a location HOT 2
- [Feature Request] Change alt+number to ctrl+number to cycle between tabs HOT 4
- [Feature Request] Apply branding to ~./Games folder and add automatically to side panel HOT 4
- BUG? - File extension is highlighted while renaming a file in icon view HOT 4
- [Feature Request] Set plain text to be always first option in dropdown menu HOT 2
- Why those characters are blocked? HOT 2
- Deepin File Manager won’t open HOT 3
- 删除右键压缩菜单 HOT 3
- 列表显示的时候,文件夹不显示文件名 HOT 5
- Japanese file names became square character HOT 2
- Folder Size Fix (Feature Request) 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 dde-file-manager.