More fine-grained rerender on variable updates? #1019
Replies: 3 comments
-
A relatively simple solution would be the introduction of a new widget property named
Say all these notifications come from a |
Beta Was this translation helpful? Give feedback.
-
It looks like you don't even have to be using the variable as a literal. I'm using and setting a variable for the value of a scale bar, and the entire window updates and flickers every time I update the variable. |
Beta Was this translation helpful? Give feedback.
-
Ah! I think I found the problem with both of these examples. Spurious calls to |
Beta Was this translation helpful? Give feedback.
-
Hi! I'm new to the project and have no understanding how it's internals work. But today I noticed as I was working on a notification daemon made for eww that works by setting a variable used as a literal every time a notification is added or removed, that the window flickers every update. My WM also takes a very short amount of time to reapply the blur I am applying to the window. My guess as to why this is happening is that every update to this variable is causing eww to destroy every widget in the window, then create them all again, even though theoretically it could just delete or create the one widget that has actually changed.
Is my guess correct?
Beta Was this translation helpful? Give feedback.
All reactions