Issue 407: Opening a .sky file in a .zip file can be confusing

issues
Status:closed
Assigned To:Guest
Type:Defect
Area:Skyline
Priority:2
Milestone:4.3
Opened:2015-03-26 04:56 by Brendan MacLean
Changed:2021-12-01 13:29 by Brendan MacLean
Resolved:2020-08-10 12:11 by Nick Shulman
Resolution:Fixed
Closed:2021-12-01 13:29 by Brendan MacLean
2015-03-26 04:56 Brendan MacLean
Title»Opening a .sky file in a .zip file can be confusing
Assigned To»Nick Shulman
Type»Defect
Area»Skyline
Priority»2
Milestone»3.2
One of the course participants double-clicked a .sky file inside a .zip file from Windows explorer, which allows you to open .zip files like they were folders. This causes just the .sky file to get extracted to a temporary folder and then opened with a series of confusing errors.

Can we hook this in any way to cause all of the contents of a .sky.zip to get copied to the temporary folder? Maybe try zipping up a Visual Studio project and then seeing what happens when you double click the .sln file inside the ZIP file.

If we can't make this produce a more valid result, maybe we should look for signs of this ("AppData\Local\Temp\*.zip" in the path and nothing but the .sky file in the directory) and issue an appropriate error message that more clearly notifies the user of what they have done.

This is made higher priority by the fact that we are often storing .sky files in .sky.zip files.

2018-10-15 15:28 Nick Shulman
Milestone3.2»4.3

2020-08-10 12:11 Nick Shulman
resolve as Fixed
Statusopen»resolved
Assigned ToNick Shulman»Brendan MacLean
Brendan fixed this on 11/30/2019.
https://github.com/ProteoWizard/pwiz/pull/750

2021-12-01 13:29 Brendan MacLean
close
Statusresolved»closed
Assigned ToBrendan MacLean»Guest