Bug 459363 - System Monitor widget does not refresh/display IP address on system wake.
Summary: System Monitor widget does not refresh/display IP address on system wake.
Status: REPORTED
Alias: None
Product: ksystemstats
Classification: Frameworks and Libraries
Component: General (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-19 01:31 UTC by Lemuel Simon
Modified: 2024-02-08 19:52 UTC (History)
4 users (show)

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


Attachments
System Monitor widget doesn't display IP Address when system wakes from sleep. (1.28 MB, video/mp4)
2022-09-19 01:31 UTC, Lemuel Simon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lemuel Simon 2022-09-19 01:31:43 UTC
Created attachment 152205 [details]
System Monitor widget doesn't display IP Address when system wakes from sleep.

SUMMARY
The text sensors of the System Monitor that displays any IP address (v4 or v6) will not refresh when the system wakes from sleep. On wake, the field will remain blank until the user manually triggers 'Edit Mode' and attempt to resize the widget.


STEPS TO REPRODUCE
1. Have a System Monitor widget with any IP Address displaying text-sensor. 
2. Put system to sleep.
3. Wake system.
4. Observe, that the IP Address no longer displays.

OBSERVED RESULT
The IP Address doesn't show up anymore, but the Network Name (SSID) does. The IP Address will re-appear if the user enters "Edit Mode" in Plasmashell and grabs the edge of the widget to resize it.

EXPECTED RESULT
The IP Address sensor would refresh normally on wake.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Leap 15.4
KDE Plasma Version: 5.25.90
KDE Frameworks Version: 5.98.0
Qt Version: 5.15.5
Kernel Version: 5.14.21-150400.24.18-default (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i5-3320M CPU @ 2.60GHz
Memory: 7.6 GiB of RAM
Graphics Processor: Mesa DRI Intel® HD Graphics 4000
Manufacturer: LENOVO
System Version: ThinkPad T430

ADDITIONAL INFORMATION
This bug isn't a regression of the Plasma 5.26 beta, it existed in 5.25.
Comment 1 Lemuel Simon 2022-09-24 12:51:54 UTC
(In reply to Lemuel Simon from comment #0)

> The IP Address doesn't show up anymore, but the Network Name (SSID) does.

Apparently, although the SSID shows, the network name isn't refreshed. It will show the name of the previous connection, before the system slept or hibernated.
Comment 2 Lemuel Simon 2022-10-22 00:03:50 UTC
I'm sure a dumb-fire solution can be used. 
Like have the SSID and IP{4,6} labels refresh by time intervals like the other stats.
I'm not sure how expensive it would be though.