hyper icon indicating copy to clipboard operation
hyper copied to clipboard

Drag and drop does not work, in the terminal window anymore

Open andrewbaisden opened this issue 7 years ago • 21 comments

  • [x] I am on the latest Hyper.app version
  • [x] I have searched the issues of this repo and believe that this is not a duplicate
  • OS version and name: macOS Mojave Version 10.14.4
  • Hyper.app version: 3.0.0 (stable)
  • Link of a Gist with the contents of your .hyper.js: https://gist.github.com/andrewbaisden/e6e01705c8611eb18e916b15bf0da903
  • Relevant information from devtools (CMD+ALT+I on macOS, CTRL+SHIFT+I elsewhere): (re)loading renderer plugins bundle.js:1 Plugin hyper-material-theme (2.0.7) loaded. bundle.js:1 Plugin hypercwd (1.2.2) loaded. bundle.js:1 Plugin hyper-font-ligatures (0.0.6) loaded. /Users/username…wd/configParse.js:5 hypercwd: no 'config.hypercwd' object found in ~/.hyper.js - see https://github.com/hharnisc/hypercwd#configuration for configuration details
  • The issue is reproducible in vanilla Hyper.app: Only tried with add ons

Issue

Since updating to the latest version 3.0.0 (stable), drag and drop no longer works in the terminal window. It is no longer possible, to drag a folder into the terminal window, which means the ability to quickly change directory is gone. When you drag a folder into the window, it still shows the circle with the plus icon, which means it's allowing you to copy the link over. However when you release it, the link is not added to the terminal window.

andrewbaisden avatar May 08 '19 21:05 andrewbaisden

Exact same things on mine too

bzaman avatar May 09 '19 02:05 bzaman

Same problem here, even with WebGL rendering force-disabled because of window transparency.

rikumi avatar May 09 '19 02:05 rikumi

Same here ;(

weevood avatar May 09 '19 06:05 weevood

Same here, cannot use drag and drop anymore :(

slowtree avatar May 09 '19 08:05 slowtree

No fix yet, but there is a workaround.

(CMD+C on macOS, CTRL+C elsewhere): Use that command to copy the folder directory location to your clipboard. (CMD+V on macOS, CTRL+V elsewhere): Use that command to paste the folder directory location into your terminal window.

I think this action is probably faster than using drag and drop anyway.

andrewbaisden avatar May 09 '19 12:05 andrewbaisden

Duplicate of #3582

skllcrn avatar May 09 '19 13:05 skllcrn

The fastest way on macOS: CMD+OPTION+C This will copy the path of the file.

If you are better with mouse, then right click on the file and press option to see how the "copy file" changes to "copy file as path"

xjrcode avatar May 28 '19 08:05 xjrcode

So there's a workaround but does anyone know why it stopped working? It's not very good UX to have to google the problem and read this thread to find a workaround for a behaviour the app used to have.

TylerBarnes avatar Aug 01 '19 01:08 TylerBarnes

it's very convinient to dragndrop files from dock to terminal, please add this feature

kourindouhime avatar Oct 03 '19 02:10 kourindouhime

guys, I create a plugin for this: https://github.com/qweasd1/hyper-drop-file, just hyper install hyper-drop-file

qweasd1 avatar Jan 11 '20 14:01 qweasd1

Amazing, it works!! Thanks @qweasd1 ! I missed this feature

TylerBarnes avatar Jan 13 '20 18:01 TylerBarnes

Thanks @qweasd1 . It just works!!!. Great

bzaman avatar Jan 14 '20 05:01 bzaman

thank you

jaronschulz avatar Jan 29 '20 10:01 jaronschulz

Thanks @qweasd1 i wish we had this solution sooner.

andrewbaisden avatar Jan 29 '20 12:01 andrewbaisden

Thanks @qweasd1 you're a life saver !

egouy avatar Apr 10 '20 08:04 egouy

Thanks been stuck on this for ages, much prefer drag and drop. Great solution

johnmerrifield avatar May 11 '20 13:05 johnmerrifield

Thanks @qweasd1 !!! Works great!

pychap avatar Jun 03 '20 23:06 pychap

Thank you @qweasd1

racqel avatar Jun 08 '20 17:06 racqel

You Sir are a ⭐ Thank you so much for this! @qweasd1

michelvoillery avatar Sep 13 '20 09:09 michelvoillery

I think many users would find it beneficial if the official website's plugin list listed @qweasd1's hyper-drop-file.

MattEding avatar Jan 29 '21 05:01 MattEding