iGlance
iGlance copied to clipboard
Network speed is not correctly monitored when using a VPN
Describe the bug🐛 A clear and concise description of what the bug is. When beeing connected to a VPN the network menu bar item is displaying constantly displaying 0KB/s both for upload and download.
To Reproduce Steps to reproduce the behavior:
- Connect to a VPN
- Open a website or download something
- The network speed is not shown
Expected behavior That the current network speed is displayed.
Desktop (please complete the following information):
- MacOS Version: 10.15.4
- Version of the app: 2.0.5
Because the re-write in #147 introduced breaking changes and caused the app to crash after some time the breaking changes were reverted in #156. Therefore, this issue has to be re-opened.
Another solution to get the correct network interface would be to use the same approach as menu meters: https://github.com/yujitach/MenuMeters/blob/master/MenuExtras/MenuMeterNet/MenuMeterNetConfig.m