Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Request] Hide 'HTTP Error' toast after attempt succeeds #292

Open
mvastola opened this issue Jan 4, 2022 · 1 comment · Fixed by ALikesToCode/plasma-applet-eventcalendar#4 · May be fixed by #293
Open

[Request] Hide 'HTTP Error' toast after attempt succeeds #292

mvastola opened this issue Jan 4, 2022 · 1 comment · Fixed by ALikesToCode/plasma-applet-eventcalendar#4 · May be fixed by #293

Comments

@mvastola
Copy link

mvastola commented Jan 4, 2022

I have an issue where I have intermittent network connectivity.

When I don't have internet and this widget tries to refresh my calendar, I get a toast message on the bottom of the widget saying HTTP Error 0: Could not connect. Will try again soon. It obviously makes perfect sense to show this sort of message.

There is one slight irritation though: when this problem clears up and the widget next succeeds in fetching my calendar, this error does not disappear. Instead, I have to manually close it each time, even though it is no longer relevant.

Can you please fix this? Alternatively, could you/someone point me to documentation for how I would clear an error? I'd be more than happy to submit a PR, but I'm not at all familiar with this API.

Thanks so much.

PS: This looks like it might be a dup of # #273, but I thought I could lay out the problem a bit more clearly.

mvastola pushed a commit to mvastola/plasma-applet-eventcalendar that referenced this issue Jan 4, 2022
@mvastola mvastola linked a pull request Jan 4, 2022 that will close this issue
@mvastola
Copy link
Author

mvastola commented Jan 4, 2022

Update: this was even simpler than I thought. Just create a PR at #293

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant