Skip to content

Exclude symbolic links from the folder size calculation #1849

@KageDev

Description

@KageDev

When previewing the folder with symlinks inside, it's showing the wrong size.
In my example, 334 GB instead of actual size of 8.41 GB

To Reproduce
Steps to reproduce the behavior:

  1. create a new folder, for example C:\TestFolder
  2. make a symlink using command: mklink /d "C:\TestFolder\test" "OTHER_FOLDER_PATH"
  3. select TestFolder folder and press spacebar to view it's info

Expected behavior
Preview should show 0 KB size

Desktop (please complete the following information):

  • Windows 11 24H2
  • QuickLook v4.3.0 (UWP)
Image Image

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