StorageLibraryChangeTracker support for network drives #5468
Replies: 7 comments
-
someone should really really need to think of ways of removing MAX_PATH limitation from the win api. it's 2021 and that's also a platform limitation. apparently lot of key reunion components also using MAX_PATH and no one talks about that |
Beta Was this translation helpful? Give feedback.
-
@ecovio1 MAX_PATH limitations can be workaround by settings a Registry Key. |
Beta Was this translation helpful? Give feedback.
-
@Jaiganeshkumaran doesn't remove the limitation from the api itself. apps have to update their manifest and recompile just to access long paths which should have been removed from the api itself. for example, explorer and almost all the programs I use still unable to access paths beyond 255 char. uwp apps/winrt/comv2 apis infact the whole win32 subsystem is subject to this. |
Beta Was this translation helpful? Give feedback.
-
@ecovio1 The registry key was introduced in Windows 10 Anniversary Update and can be used with manifest change. If you want this feature, propose it with in a new issue. |
Beta Was this translation helpful? Give feedback.
-
You mean with non-WinRT APIs? |
Beta Was this translation helpful? Give feedback.
-
that's microsoft's concern(still if they have any) about how they are gonna save this legacy subsystem. situations should not have come down to this bad (ms's negligence towards windows) so that people outside of MS nowadays needs to remind/beg MS for the very basic limitations of their OS. smh |
Beta Was this translation helpful? Give feedback.
-
But it will break old apps which assume 255 MAX PATH limit. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Proposal: Expand StorageLibraryChangeTracker to support network drives
Summary
Today,
StorageLibraryChangeTracker
can read changes for a variety of mediums abstracted byStorageFolder
including user libraries, arbitrary folders on the local machine, secondary drives, and removable drives. Unfortunately, apps which want to track changes for aStorageFolder
representing a network attached storage medium must rely on aqueryResult.ContentsChanged
event which lacks the rich notifications fromStorageLibraryChangeTracker
.Rationale
StorageFolder
spanning different storage mediums, but find out the hard way thatStorageFolder
has unusual limitations for one of those mediums, network storage.Scope
StorageLibraryChangeTracker
for reading modifications to network locationsImportant Notes
No API proposal because this will leverage internal expansions to existing WinRT APIs.
Related: #8
Open Questions
How feasible would it be to coordinate work for removing (what seems like) a platform limitation?
Beta Was this translation helpful? Give feedback.
All reactions