Bug 451721 - Add refresh/update to right-click menu or widget
Summary: Add refresh/update to right-click menu or widget
Status: RESOLVED INTENTIONAL
Alias: None
Product: plasmashell
Classification: Plasma
Component: Weather widget (other bugs)
Version First Reported In: 6.2.3
Platform: Manjaro Linux
: NOR wishlist
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
: 486908 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-03-20 10:01 UTC by Michael D
Modified: 2025-01-16 23:36 UTC (History)
4 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 Michael D 2022-03-20 10:01:43 UTC
The weather information often doesn't refresh after resume or at login so it would be nice to have a refresh button instead of having to change the refresh interval time to get it to update.

This likely belongs to another wish report, but I would propose adding a header to the widget that displays the location and that adds configure and refresh buttons.
Comment 1 Nate Graham 2022-03-27 04:03:09 UTC
Yeah, this is reasonable.
Comment 2 Ismael Asensio 2024-05-25 11:12:51 UTC
*** Bug 486908 has been marked as a duplicate of this bug. ***
Comment 3 ivan.planinar 2025-01-11 15:07:27 UTC
(In reply to Nate Graham from comment #1)
> Yeah, this is reasonable.

Well, Happy New 2025. 😁
Seriously, please add this functionality this year, it's soooo missing.
I'd do it myself if I knew programming, but I don't.
Comment 4 Nate Graham 2025-01-16 21:35:43 UTC
> The weather information often doesn't refresh after resume or at login
As of Plasma 6.3.0, it will! This ideally should eliminate the need for a manual refresh button.
Comment 5 medin 2025-01-16 22:00:15 UTC
(In reply to Nate Graham from comment #4)
> > The weather information often doesn't refresh after resume or at login
> As of Plasma 6.3.0, it will! This ideally should eliminate the need for a
> manual refresh button.

The real problem is that if the session starts or resumes without any internet connection, for example for someone who uses a USB 4G dongle which is connected after the session finishes loading, or he/she starts the home router after the session is already started, after the connection to internet is established it will never trigger any automatic refreshing to weather widget and user should wait for all that timeout (default 30Β min) to get weather info.

It would never hurt to have a small icon button at top right of the widget window to force manual refresh. Or add an event that triggers automatic update to weather widget whenever the system connects to internet.
Comment 6 Nate Graham 2025-01-16 22:11:05 UTC
That's exactly the use case we fixed, in fact! See Bug 498009.
Comment 7 medin 2025-01-16 22:15:26 UTC
(In reply to Nate Graham from comment #6)
> That's exactly the use case we fixed, in fact! See Bug 498009.

Thanks for your efforts Nate :)
Comment 8 Nate Graham 2025-01-16 22:20:09 UTC
You're welcome, but I had nothing to do with it! It was all Ismael.
Comment 9 ivan.planinar 2025-01-16 23:01:44 UTC
So, if I got it right, the widget will constantly monitor if internet connection is on, after login/reload, right? Or at least, it will always try to refresh itself if data is missing.
 
Then yeah, the button won't be needed anymore.
Can't wait to see this, hopefully soon.
Comment 10 Nate Graham 2025-01-16 23:36:37 UTC
Even better: it connects to networkmanager's "I got network connectivity again!" signal, so it gets notified instantly without having to poll at all.