noctalia-shell icon indicating copy to clipboard operation
noctalia-shell copied to clipboard

[BUG] WiFi toggle cannot re-enable WiFi after turning it off via the bar toggle

Open wu4nzhen opened this issue 2 months ago • 7 comments

Submission checklist

  • [x] I have searched existing issues and confirmed this is not a duplicate.
  • [x] I am using the latest available version of Noctalia.

Bug description

When I turn off WiFi using the WiFi toggle in the bar, I cannot turn it back on using the same toggle. The toggle appears unresponsive to re-enable WiFi. The only way to restore WiFi is to run nmcli radio wifi on manually in a terminal.

Steps to reproduce

  1. Click the WiFi toggle in the bar to turn WiFi off
  2. Click the WiFi toggle again to try to turn WiFi back on
  3. WiFi remains off — the toggle does not re-enable it

Expected behavior

Clicking the toggle again should turn WiFi back on.

Actual behavior

When I click the WiFi toggle in the bar to turn WiFi off, and then click the same toggle again to turn WiFi back on, nothing happens — WiFi remains disabled. The toggle does not respond to re-enable WiFi.

The only way to restore WiFi is to run nmcli radio wifi on manually in a terminal, which confirms the hardware and NetworkManager itself work fine — the issue appears to be in Noctalia's toggle logic for re-enabling WiFi after it has been turned off.

Logs / error output


Noctalia version

v5.1.0

Compositor

Hyprland

Distribution

NixOS

Environment information

Installation method: Nix (NixOS, via flake — programs.noctalia module)
GPU: Intel integrated graphics (i915 driver)
Distribution: NixOS unstable
Compositor: Hyprland
Noctalia version: 5.1.0

Additional context

No response

wu4nzhen avatar Sep 12 '26 03:09 wu4nzhen

I have the same bug I'm using Fedora 44 with Hyprland 0.56.2 and Noctalia v5.1.0

Mahmoud12344 avatar Sep 19 '26 23:09 Mahmoud12344

Same for me, on cachy os (arch based) with niri. on noctalia 5.2.1-1.1 niri 26.04-1.1. nmcli solve the problem and re enable wifi anche also the widget in working good after that

piocane9-lgtm avatar Oct 04 '26 19:10 piocane9-lgtm

Just dropping a small workaround here

When you toggle the Wi-Fi off via the Noctalia status bar, it applies a soft block to the wireless adapter. The UI then refuses (or fails) to turn it back on.

Workaround: You can manually clear the soft block from the terminal by running:

rfkill unblock wifi

Once you run that, NetworkManager detects the radio is back, and the Noctalia UI syncs up and works normally again.

Note for devs: It looks like the "toggle on" logic in the widget isn't properly clearing the rfkill state, or the widget's internal state gets desynced from NetworkManager once the soft block drops.

Mahmoud12344 avatar Oct 04 '26 23:10 Mahmoud12344

Do you guys still having the issue in latest v5.4.1? Because I had no issue like this in a while

AdityaKr015 avatar Oct 30 '26 14:10 AdityaKr015

This is an automated message from our backlog cleanup, posted from a maintainer's account.

Hi, and thanks for the report! We are going through older bug reports, and this one was filed against v5.1.0 while the latest release is v5.4.1. Even if you commented recently, a lot has changed since, so it may already be fixed. Could you give v5.4.1 a try and let us know whether it still happens? If we do not hear back within 14 days, this issue will be closed automatically. No hard feelings, you can reopen it or comment at any time.

ItsLemmy avatar Oct 30 '26 19:10 ItsLemmy

This issue is waiting on a reply and has had no activity for 7 days. It will be closed in 7 more days unless there is new activity. You can reopen it or comment at any time.

github-actions[bot] avatar Nov 07 '26 03:11 github-actions[bot]

Closing because there was no reply. Comment here with the requested details and we will reopen it.

github-actions[bot] avatar Nov 14 '26 03:11 github-actions[bot]