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

Flicker when pop_until_active is used #5085

Open
mzebrak opened this issue Oct 3, 2024 · 3 comments
Open

Flicker when pop_until_active is used #5085

mzebrak opened this issue Oct 3, 2024 · 3 comments

Comments

@mzebrak
Copy link

mzebrak commented Oct 3, 2024

Please see what happens when pop_until_active is used between 0:05 and 0:06:

Video starts on "installed" Dashboard screen, then 3 screens are pushed, then self.app.get_screen("dashboard").pop_until_active() gets called by binding from def action_dashboard

Screencast.from.10-03-2024.02.22.10.PM.webm
Copy link

github-actions bot commented Oct 3, 2024

Thank you for your issue. Give us a little time to review it.

PS. You might want to check the FAQ if you haven't done so already.

This is an automated reply, generated by FAQtory

@willmcgugan
Copy link
Collaborator

MRE please

@mzebrak
Copy link
Author

mzebrak commented Oct 3, 2024

I try to include MRE every time. Unfortunately, this time I tried to trigger it having several screens on the stack containing a placeholder widget and I couldn't reproduce it. Maybe it depends on the widgets on the screen, or updating them from a worker. That's why I included a video showing the behavior I'm talking about in a more complex app.

Generally, it seems to me that this might be some kind of regression because this problem was fixed some time ago and came back with new versions (we observed it before pop_until_active, when calling pop_screen in a loop).

I thought that the video itself could help and outline the problem a bit.
When I'll have some more time, will try to provide an MRE.

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

No branches or pull requests

2 participants