You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
NethLink: the "No internet connection" dialog never closes, even with Refresh, once the connection is back #8327
NethLink 1.6.0 (same behavior on main), regression introduced in 1.6.0-testing.10
Steps to reproduce
Log in to NethLink
Make NethLink show the "No internet connection" dialog (e.g. a temporary network loss detected by the connectivity check)
Restore the network and click "Refresh" in the dialog
Wait without clicking
Expected behavior
As soon as the connection is available again, "Refresh" closes the dialog, and the dialog also closes by itself when the periodic connectivity check succeeds.
Actual behavior
The dialog stays open forever: clicking "Refresh" does nothing and it never closes by itself. The only workaround is to close and reopen NethLink.
Two causes:
Refresh is ignored by the main process store: the main store.set() decides whether a key changed by comparing the values of all the store keys (lodash.difference), not the value of the changed key. Setting connection: true is discarded whenever another key already holds true. Since 1.6.0-testing.10 the store always contains cameraPermission: true (Linux, and Windows/macOS with the camera permission granted), so connection can never go back to true from the main process and no update reaches the windows.
Automatic recovery never fires: the PhoneIsland event listeners are attached once with the handlers created at the first render, so phone-island-internet-connected compares against the connection value of the first render (true) and never restores it after phone-island-internet-disconnected set it to false.
Suggested fix or workaround
Workaround: close and reopen NethLink.
Fix: compare only the value of the changed key in store.set(), and make the PhoneIsland internet event handlers read the current account/connection values.
Setup: NethLink logged in with a user of a NethVoice instance, on Windows/macOS with the camera permission granted (on Linux it is always granted). To show the dialog, briefly disconnect the network (Wi-Fi off or cable unplugged) until "No internet connection" appears.
Test Case 1 - Refresh closes the dialog once the connection is back
Disconnect the network: the "No internet connection" dialog appears
Reconnect the network and click "Refresh" right away: the dialog closes
Test Case 2 - The dialog closes by itself
Disconnect the network: the dialog appears
Reconnect the network and do not click anything: the dialog closes by itself within a few seconds
Test Case 3 - Refresh while still offline
Disconnect the network: the dialog appears
Click "Refresh" while still offline: the dialog stays open
Reconnect the network and click "Refresh": the dialog closes
Test Case 4 - Startup without network
Close NethLink, disconnect the network and start NethLink: the splash screen shows the no connection dialog
Reconnect the network: NethLink starts and logs in automatically, with no "No internet connection" dialog left open
Test Case 5 - Regressions
Change the theme from the NethLink settings (light/dark/system) and the operating system theme with NethLink on "system": NethLink follows the selected theme
Log out and log in again, then repeat Test Case 2: the dialog still closes by itself
Make and receive a call with NethLink, with the video call icon enabled/disabled according to the camera permission
Activity
tonyco97 commentedon Nov 17, 2026
Test
PR: NethServer/nethlink#266
Setup: NethLink logged in with a user of a NethVoice instance, on Windows/macOS with the camera permission granted (on Linux it is always granted). To show the dialog, briefly disconnect the network (Wi-Fi off or cable unplugged) until "No internet connection" appears.
Test Case 1 - Refresh closes the dialog once the connection is back
Test Case 2 - The dialog closes by itself
Test Case 3 - Refresh while still offline
Test Case 4 - Startup without network
Test Case 5 - Regressions
tonyco97 commentedon Nov 17, 2026
NethLink testing version: https://github.com/NethServer/nethlink/releases/tag/untagged-014d4f8e17a5dd050e23
andrea-marchionni commentedon Nov 17, 2026
MacOS testing ok
edospadoni commentedon Nov 17, 2026
Release
NethServer/nethlinkv1.6.1