Description of problem:
First noticed while testing the M8 Beta2 Live iso candidates. On a wifi-only machine, Xfce boots up indicating no Internet connection. After using the net_applet to bring up Network Center, configure wifi, and make the connection, the panel icon continues to indicate no connection. If the user moves the cursor over the icon, a tool tip pops up that says "Connecting..." even though there is already a working wifi connection.
Similar behavior exists after installation. The icon indicates the proper connection state at boot. If the user disconnects the wifi, the icon changes as it should, but the cursor tool tip says "Connecting..." If the user then reconnects to the wifi, the panel icon doesn't change, even though the wifi connection is functioning.
Oddly enough, the Plasma version doesn't show this behavior.
Here is what I believe is happening: Live mode and installs are pre-configured to start the wired connection at boot. If for whatever reason a wifi connection fails or is disconnected, the applet/Network Center attempts to automatically connect using the wired connection, even if there is no wired connection to connect to, or if the wifi connection is connected first.
It's as if there is no way for the Network Center to detect that there is no wired Internet connection to make, so it just keeps trying to make one no matter what. To test that theory, I reconfigured the wired connection to not start at boot, and the net_applet icon reacted to changes as expected.
It's easy enough to work around this on installed systems, by simply changing the default configuration of the wired connection. But Live mode isn't so easy. While it doesn't seem to affect overall function very much, still it would be confusing to new Mageai users the way it is.
I confirm seeing this now, and also on earlier versions but did not report...
Thank you for the report, TJ; and Morgan's confirmation.
Having to rather guess the relevant source RPM, but it looks like what is shown for M7 (pkgs libdrakx-net, drakx-net-text). Doubtless similar for M8.
Assigning to the Mageia Tools people.
This comment refers to latest source, drakx-net-2.55-2.mga9.src.rpm and proposes a tested patch to bin/net_applet perl script to call icon update subroutine each time network status surveillance script is run (sub checkNetwork). A single line calling 'network::net_applet::update_tray_icon();' as the last one inside 'checkNetwork' does the job. Line after 440 is the one added, therefore 441.
The following link contains the aforementioned patch for bin/net_applet inside drakx-net-2.55-2.mga9.src.rpm . Earlier versions may benefit from a similar patch, but the only one tested is that one.
@josé: thank you for the suggestion.
@tools people: any plan how to solve this?
I just tested Mageia 9 on my Thinkpad T510 laptop, in both Plasma and Xfce.
net_applet fail identically.
i.e at login wireless is connected and net_applet tray icon say so.
I close it and launch it from terminal to see output.
Icon say I am connected.
I choose to disconnect:
In terminal i see it disconnect OK.
Icon still show connected symbol, hoovering ovet it, it sau Connecting - both are wrong.
I tell it to connect:
A popup tells i am connected
In terminal i see it connect OK
net_applet Symbol shows it is connected (as it always do...)
In Xfce, net_applet does not react to changes in connection status properly =>
net_applet does not show connection status properlyWhiteboard: