Shadowsocksx-ng: HUD should not move every time using shortcut to switch (video attached)

Created on 27 Apr 2017  ·  6Comments  ·  Source: shadowsocks/ShadowsocksX-NG

System and Shadowsocksx-NG version:

  • macOS 10.12.4
  • Shadowsocksx-NG 1.5.0

Expected behavior:

HUD should always stay still in the middle of screen.

Actual behavior:

HUD will move every time using shortcut to switch.

Video: https://www.youtube.com/watch?v=7zHPclvpMoE

Steps to reproduce:

  1. Setup shortcut for switching Shadowsocksx-NG on/off
  2. Press the shortcut continuously and HUD will move

How often does this happen?

Always.

bug

Most helpful comment

i suspect here we might be having an issue which causes the window move every time using shortcut to switch. I will debug when i have time.

All 6 comments

It's known issue. But I don't know the deep reason now.
I don't have enough time and it's trivial. So I won't dig it.

i suspect here we might be having an issue which causes the window move every time using shortcut to switch. I will debug when i have time.

@rizwankce I tried some time to debug this issue. If I remember right, even setting hudWindowFrame.origin.x to a static value, the HUD will still move using shortcut to switch. It will be nice you can have a look at it.

@wyudong it weird. I am running v1.5.1 ss-ng on macOS 10.12.4 (and 10.12.5) and i cannot reproduce the issue you have.

is it possible for you to try installing v1.5.1 from first and check?

still
@rizwankce Same. v1.5.1 SS-ng on macOS 10.12.4.

@rizwankce After reboot, the issue is gone now.

Was this page helpful?
0 / 5 - 0 ratings