Skip to content

Nightly build fails to save files with long paths on Windows #3794

@yuhoocom

Description

@yuhoocom

There appears to be a regression in the nightly builds regarding long path support on Windows. The latest nightly builds are unable to save files to paths exceeding a certain character limit (around 113 characters in my tests), even when long path support is enabled in the Windows Registry.

This functionality works perfectly in the stable version v2.0.14, which correctly saves files to the same long paths.

Environment

  • Operating System: Windows 11 Pro 24H2 (OS Build 26100.4351)
  • Working Micro Version: v2.0.14 (Stable)
  • Failing Micro Version: Nightly Build (e.g., 2025-07-01, 2025-6-30)
  • System Configuration: Windows Long Path Support is enabled via the registry (LongPathsEnabled = 1).

Steps to Reproduce

  1. On a Windows system with LongPathsEnabled set to 1 in the registry, install and run a recent nightly build of Micro.
  2. Create a directory structure with a total path length exceeding 113 characters.
  3. Open an existing file... Type some text to modify it and press Ctrl+S with Micro.

Expected Behavior

The file should save successfully without any errors, consistent with the behavior of the stable v2.0.14 release under the same conditions.

Example

The following two file paths demonstrate the issue. Both can be saved correctly by the stable v2.0.14 version.

  • D:\Downloads\大大大大大大大大大大大大大大大大\大大大大大大\02_pytorch_claasificationGOOG.py

can save in the nightly build version,

Image

but the

  • D:\Downloads\大大大大大大大大大大大大大大大大\大大大大大大\02_pytorch_claasificationGOOOG.py

FAILS to save (The file fails to save. Micro displays an error message at the bottom).

Image

Additional Context

This is a clear regression from the stable version. The issue is likely related to the build process of the nightly version for Windows, possibly concerning the application manifest that declares long path awareness.

Thank you for your work on this fantastic editor!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions