Etcher: Drag and drop doesn't use the manifest information

Created on 29 Mar 2017  路  7Comments  路  Source: balena-io/etcher

When dragging and dropping a ZIP with a manifest name, the filename is used instead. Using the normal file selector dialog doesn't cause this to happen. It seems that the ZIP file is used as-is rather than the residing image鈥擨'm not sure if this affects the actual writing but I suspect it might, which isn't good.

Screenshots of drag and drop versus through the file selector.
image
image

Edit: it also uses the compressed size rather than uncompressed.

image

gui all bug

Most helpful comment

Yup. We can close this once it gets merged.

All 7 comments

Ugh, looks like we should make sure we use the same logic in both scenarios.

I think I coincidentally solved this issue while fixing drag and drop for https://github.com/resin-io/etcher/pull/1229. Do you mind pulling my latest changes from that PR and confirming that it solves the issue for you too? If so, I'll add a "Fixes" footer tag to the commit.

Wow, I never imagined my refactoring suggestion would lead to fixes in the drag'n'drop code too. Awesome! :-D

Don't be humble, you knew that from the start! :P

@Shou Is this indeed resolved by #1229 ? If it is, should this PR #1232 be closed?

Yup. We can close this once it gets merged.

I added a "Fixes" tag to the PR.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jwa5426 picture jwa5426  路  5Comments

GGShinobi picture GGShinobi  路  4Comments

AreDubya picture AreDubya  路  3Comments

thaivic picture thaivic  路  4Comments

zamber picture zamber  路  5Comments