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

[Bug] Multiple ProgressBar Widgets #19

Open
Aq32 opened this issue Mar 29, 2020 · 2 comments
Open

[Bug] Multiple ProgressBar Widgets #19

Aq32 opened this issue Mar 29, 2020 · 2 comments
Labels

Comments

@Aq32
Copy link

Aq32 commented Mar 29, 2020

Hi, this probably needs confirmation by someone else but if you add more than one ProgressBar Widget (I tested with two) the first one doesn't work. By doesn't work you can only tap and edit the last widget making the first widget look like it's frozen. A notification should still popup when the timer completes it just can't be edited before/after and looks like it's bugged.

@mattvchandler
Copy link
Owner

I see this too.
I think I know where the problem is, but I'll need to do some experimenting to see what would fix it.
In Widget::build_view, is where we set the intent that is fired when you click on a widget. Somehow this is not persisting.

As a workaround, if you resize a widget, this will run build_view again, and reset the intent. After resizing, tap the widget, and it should work.

@Aq32
Copy link
Author

Aq32 commented Mar 31, 2020

Can confirm that resizing will allow you to reconfigure the widget but then the other widget doesn't work. Nothing else new to add. I'll leave it to you to look into.

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

No branches or pull requests

2 participants