hyperterm-overlay icon indicating copy to clipboard operation
hyperterm-overlay copied to clipboard

Sometimes the global shortcut stops.

Open obetomuniz opened this issue 8 years ago • 18 comments

I can't add many details about it, but sometimes the global shortcut stops and the overlay does not work, so I need close and open Hyperterm to enable it again. A tiny detail is that when this behavior happens, the tray icon disappear.

Hyperterm Version: 0.7.1

obetomuniz avatar Aug 17 '16 17:08 obetomuniz

Possible related: zeit/hyperterm#339

rickgbw avatar Aug 17 '16 17:08 rickgbw

Yes, probably.

obetomuniz avatar Aug 17 '16 18:08 obetomuniz

I have this issue as well and though I can't reliably reproduce it, it does seem to happen even when my macbook does not go to sleep. At times, it even seems to happen when I've had Hyperterm active within the past ~20 minutes.

I will try to pay closer attention and see if I notice any other factors regarding the issue.

tyetrask avatar Aug 24 '16 14:08 tyetrask

I've done further testing by removing this plugin. Hyper continues to behave normally after several days of use, sleep, closing MacBook lid, etc. I'm currently looking over the source of hyperterm-overlay to see if I can spot any issues, but I'm not too familiar with electron yet.

(Latest tests with and without the plugin on Hyper 0.8.3)

tyetrask avatar Nov 30 '16 15:11 tyetrask

@tyetrask I experience this issue also and it drives me nuts. Have you found a workaround or fix for this yet?

r3volution11 avatar Jan 10 '17 22:01 r3volution11

+1 same on this one!

chrisnovello avatar Jan 12 '17 01:01 chrisnovello

I feel like it stops working after hooking up to an external display.

r3volution11 avatar Jan 12 '17 06:01 r3volution11

@r3volution11, I don't ever use an external display, so it can't be that alone. It does seem like it may relate to sleep/wake cycle, but in some of my tests, it still occurred even when I didn't let the machine sleep.

I don't have a solution or workaround yet. It was causing enough problems that for now I've stopped using the plugin altogether.

tyetrask avatar Jan 12 '17 15:01 tyetrask

It looks like the other similar plugin, hyperterm-visor, has this problem as well? https://github.com/CWSpear/hyperterm-visor/issues/15

I wonder if that could be useful at all when trying to determine the issue.

tyetrask avatar Jan 24 '17 15:01 tyetrask

I came here to report this problem. Same issue. I am not sure how to reproduce the issue. I also have a MAC, so I am wondering if this is a MAC related issue or someone using Linux/Windows are also experiencing this?

jhuesos avatar Apr 04 '17 12:04 jhuesos

Same issue here. It seems that the global hotkey works exactly once and then fails thereafter.

Pyrepenol avatar Apr 15 '17 16:04 Pyrepenol

Happening for me as well. It occurs 100% of the time after waking from an extensive sleep (a few hours or more) and hitting the global hotkey, after which nothing happens.

Particularly nasty bug when i've set overly plugin options to not show hyper in dock, and the only way to resolve is then to force quit via terminal (or activity monitor...).

hejhi avatar Apr 17 '17 09:04 hejhi

From my experience, hyperterm-summon does not suffer from this issue. I know it utilizes hyperterm-register-shortcut (a library created by the same author).

It may be worth exploring using hyperterm-register-shortcut for hyperterm-overlay or, at the very least, comparing the approaches used to bind the global shortcut.

Hope this helps some. 😊

dcalhoun avatar Apr 17 '17 13:04 dcalhoun

Any news here?

beamercola avatar Jun 13 '17 21:06 beamercola

I also have this issue. I have the menu bar icon enabled and I notice that when overlay stops working, the menu bar icon disappears and any attempt to open hyper term (ie clicking the icon from the dock, or from spotlight/alfred) causes a new tab to open, and then immediately close.

As long as this is visible, I know the hot key will work alt

jtgrenz avatar Sep 12 '17 17:09 jtgrenz

I still have this issue too, randomly closed or at the very least hides the console and I'm unable to call the instance. I need to open other instance, close the instance recently open and call again to completely restart everything.

luispereira avatar Feb 09 '18 09:02 luispereira

I looked into this issue for my fork hyper-overlay but I can't quite figure out how hyperterm-register-shortcut could be implemented without completely restructuring the code. If anyone wants to have a crack and it and gets it working then please PR it to my fork and I'll be sure to accept it.

Notice: I made this fork, and published it to NPM, as it should be pretty obvious that this project has been deserted. I'm going through the various issues and looking to address any I can.

favna avatar Jun 27 '18 23:06 favna

@Favna -- with Hyper v2, it seems the problem stopped happening (at least, it has for me).

cobrabr avatar Jun 28 '18 14:06 cobrabr