Bug 491932 - Network manager icon does not update to reflect wifi connection status and signal strength
Summary: Network manager icon does not update to reflect wifi connection status and si...
Status: RESOLVED DOWNSTREAM
Alias: None
Product: plasmashell
Classification: Plasma
Component: Networks widget (show other bugs)
Version: master
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-20 09:49 UTC by Sergio
Modified: 2024-12-23 18:25 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergio 2024-08-20 09:49:49 UTC
SUMMARY

The network manager plasmoid often enters in a state where the icon in the systray is not updated to reflect the wifi connection status and signal strength. For instance, right now I am connected to a network, but the icon shows a no signal wifi with a "?" as if there was no connection.

STEPS TO REPRODUCE
1.  Connect to a wifi network.

OBSERVED RESULT
The icon remains unchanged after the connection.

EXPECTED RESULT
The icon should show reflect the connected status and vary depending on the signal strength.

SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux 
KDE Plasma Version: 6.0.5
KDE Frameworks Version: 6.4.0
Qt Version: 6.7.2
Kernel Version: 6.10.3-1-MANJARO (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Celeron® N4120 CPU @ 1.10GHz
Memory: 5.6 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 600
Manufacturer: CHUWI Innovation And Technology(ShenZhen)co.,Ltd
Product Name: Hi10 X

ADDITIONAL INFORMATION
Possibly seeing this more frequently on a tiny netbook that is a bit underpowered. Can it depend on some race?
Comment 1 Sergio 2024-08-20 10:34:50 UTC
Other hypothesis:
- the ap ssid is long
- the ap ssid initial part matches that of another network (e.g. "wifi_network_one" "wifi_netwokr_one_ext_one")
Comment 2 Nate Graham 2024-08-20 17:18:27 UTC
Can you reproduce this with Plasma 6.1.4 or later?
Comment 3 Sergio 2024-08-21 08:04:46 UTC
I think I have better identified the problem, that possibly is not a regression. The issue seems to happen when you connect to a network that is IPV6 only. In the case at hand the network is IPV6 only and `ip route` returns no specific route for the interface (but the network works!). Not an expert in IPV6 at all and in a few days I will not be able to test this setup anymore (where I normally stay everything is IPV4 only).
Comment 4 Nate Graham 2024-08-21 15:04:34 UTC
Are you by any chance also using iwd instead of wpa_supplicant?
Comment 5 Sergio 2024-08-23 10:13:27 UTC
I use `wpa_supplicant`.
The situation is in fact weird. The icon appears to work fine in most cases (e.g. when connecting to my mobile phone hotspot), but there are a couple of public hotspots in the place I am now where it does not update... So, definitely it seems to depend on something on the specific hotspot. I guess that the applet may "look" at something to see if the connection is established and cannot find it, so it does not update the icon. Yet, it says "connected".
Comment 6 Nate Graham 2024-08-29 23:15:41 UTC
Thanks for the info. Not idea what it could be, unfortunately.
Comment 7 Μπουμάκης Νικόλαος 2024-09-13 09:48:03 UTC
I can confirm this affects me as well. My system is:

OS: Manjaro Linux
Kernel: 6.6.47
KDE Plasma version: 6.0.5
KDE Frameworks version: 6.4.0
Graphics platform: Wayland

I don't think it is IPv6-specific, it happens constantly on my home network which is primarily IPv4. It happens to both 5GHz and 2.4 GHz networks, although both networks have the same SSID. The SSID is 13 characters long, "ISPNAMES_0000". I only have wpa_supplicant installed.

I also noticed that the icon doesn't reflect the VPN connection status either. Previously I think it would show a lock when connected to a VPN.
Comment 8 Μπουμάκης Νικόλαος 2024-09-13 11:07:04 UTC
Well, after more focused testing I think I figured it out. Something seems to go wrong with the theming. To fix/workaround I simply switched to a different theme and then again to my preferred theme. It also fixed the VPN lock problem I noticed.

More details:
I went through the plasmoid's QML and I found that the icon path was updating correctly relative to the received signal. That indicates to me that there is nothing wrong with this plasmoid, rather with the icons/theme themselves.
Comment 9 Nate Graham 2024-09-16 14:53:06 UTC
That's quite common when using 3rd-party icon themes, yeah.

A screenshot would have made this easier to diagnose; in the future please attach one for visual issues. Thanks a lot!
Comment 10 Ben Cooksley 2024-12-23 18:25:47 UTC
Bulk transfer as requested in T17796