-
Notifications
You must be signed in to change notification settings - Fork 41
Remotely downloaded image opens as text #200
Description
Prerequisites
- Put an X between the brackets on this line if you have done all of the following:
- Reproduced the problem in Safe Mode: https://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
- Followed all applicable steps in the debugging guide: https://flight-manual.atom.io/hacking-atom/sections/debugging/
- Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
- Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
- Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages
Description
If an image is downloaded and opened with the help of the remote plugin remote-edit-ni, the image is not opened in image-view but interpreted as UTF-8 textfile, which (obviously) results in a bunch of symbols.
Steps to Reproduce
- Connect to a remote client via SSH using remote-edit-ni.
- Navigate to a picture and download it via double-click.
- The image opens now as UTF-8 textfile instead within image-view.
Expected behavior:
Display the remotely downloaded image in image-view.
Actual behavior:
Image opens as textfile.
Reproduces how often:
Every time I try to open an image via remote-edit-ni.
Versions
Atom:
Atom : 1.30.0
Electron: 2.0.5
Chrome : 61.0.3163.100
Node : 8.9.3
remote-edit-ni : 3.6.0
image-view : 0.63.0
APM:
apm 1.19.0
npm 3.10.10
node 6.9.5 x64
atom 1.30.0
python 2.7.17
git 2.17.1
OS:
LSB Version: core-9.20170808ubuntu1-noarch:printing-9.20170808ubuntu1-noarch:security-9.20170808ubuntu1-noarch
Distributor ID: Ubuntu
Description: Ubuntu 18.04.6 LTS
Release: 18.04
Codename: bionic
Additional Information
Please let me know if you need any. Thanks!