New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Double clicking fails to open .txt files #93
Comments
Hi @leftler , can you try to manually open the file that was downloaded as part of the open process? The path to it appears to be: "C:\Users\SCHAMB~1\AppData\Local\Temp\212…7dd324bb39cca9bae976603ac7f6c_applicationLog.txt". |
Can you try opening a text file with a much shorter name? I want to verify that we're looking at a path length issue here before looking at changing that path generation. |
Closing this bug as stale. If this continues to be an issue, please let us know, and we can reopen. |
I'm having problems with the long paths, excel can't seem to handle them (even though the path is less than 255 chars...). I notice the VS Cloud Explorer uses a temp directory directly: Cloud Explorer, 101 chars Storage Explorer, 235 chars |
Does Excel open the file if you shorten the file name? I agree. That's probably an excessively long path for a temp location. @MRayermannMSFT, where do we generate the temp location and how? Is there a way to shorten this? This page contains some interesting information on path lengths. I notice particularly that character limits should be lifted in Windows 10 (though you have to opt into it somehow). |
Yes, I know where the path is generated. The implementer of the function (it wasn't me! 😋) was trying to make sure the downloaded file would not overwrite one of the same name, but I think they were a bit over zealous... Anyway, it sounds like @redwyre has confirmed this is a path issue. Let's reopen the bug and try to get it fixed. |
It does work if I shorten the path. Excel is the party at fault here, but unfortunately that's what I work with |
Fix merged into hotfix branch. |
Storage Explorer Version: 1.0.0
OS Version: Windows
Architecture: ia32
Build Number: 20180415.2
Commit: 5d603052
Steps to Reproduce:
Expected Experience:
The file is downloaded to the temp folder and is opened with my default viewer for .txt files (Notepad++)
Actual Experience:
I get the following message in my Activities log
Clicking Details provides only the following in the text box.
This appears to only happen to .txt files, I tried with a .log file which is also associated with Notepad++ and that opened fine. Downloading the .txt file then manually double clicking on it in the folder works fine.
Attached is a copy of the dev tools console when the error happens with my access key redacted, line 65 contains the exception that was thrown.
-1524755114343.log
The text was updated successfully, but these errors were encountered: