textual icon indicating copy to clipboard operation
textual copied to clipboard

Flicker when pop_until_active is used

Open mzebrak opened this issue 1 year ago • 3 comments

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

mzebrak avatar Oct 03 '24 12:10 mzebrak

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

github-actions[bot] avatar Oct 03 '24 12:10 github-actions[bot]

MRE please

willmcgugan avatar Oct 03 '24 19:10 willmcgugan

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.

mzebrak avatar Oct 03 '24 20:10 mzebrak