sugarlabs / sugar

Sugar GTK shell
GNU General Public License v3.0
263 stars 243 forks source link

Frame, Network Device icons: IP address #715

Closed quozl closed 8 years ago

quozl commented 8 years ago

Frame network device icon palette is to show IP address, but it lags or is wrong. Testing with NetworkManager 1.2.2 and 1.2.4 showed;

The problem is in NetworkManager, and Sugar is showing whatever NetworkManager provides as the Ip4Address property for the interface object.

However, the Ip4Address property has been deprecated. It may be that being deprecated, the Ip4Address property is no longer well maintained, or intentionally delayed, and we might not be able to get it fixed upstream.

This patch;

Tests were on Ubuntu 16.04 and 16.10. Tests must be with real hardware, or virtual machines that simulate wireless and ethernet connections.

Test method;