elkowar / eww

ElKowars wacky widgets
https://elkowar.github.io/eww
MIT License
9.4k stars 381 forks source link

[BUG] Rendering bug on a variable update #605

Open PoSayDone opened 2 years ago

PoSayDone commented 2 years ago

Checklist before submitting an issue

Description of the bug

Background style from yuck file is ignoring background style from scss file.

https://user-images.githubusercontent.com/29358657/197986377-bad11aa3-8102-44da-a2ee-ee0a15e15c6f.mp4

Reproducing the issue

Create a box with background in yuck file and try to overwrite child blocks background from scss

Expected behaviour

Use background color from scss

Additional context

No response

PoSayDone commented 2 years ago

I figured out something strange. It seems like it's not my title and artist blocks background

https://user-images.githubusercontent.com/29358657/197989770-fd12c3a3-a25e-4ed0-af0e-f5226dde8557.mp4

PoSayDone commented 2 years ago

Another oddity is that if you swap the blocks, only the left one will still blink in the background

https://user-images.githubusercontent.com/29358657/198049196-d61f1acd-4735-45cf-9010-b8b39799e939.mp4

PoSayDone commented 2 years ago

If I set the rendering mode "Image", the problem is solved. But how to set it permanent?

https://user-images.githubusercontent.com/29358657/198052759-bf4a748d-672b-440b-a1b6-1e1d532bc88c.mp4

PoSayDone commented 2 years ago

I realized that this is a rendering bug, because css has no effect on the appearance of these strange backgrounds. I also noticed that these backgrounds appear when the variables that use these elements are updated.

https://user-images.githubusercontent.com/29358657/199301729-dd14ec6a-a691-4278-883b-3fef0c979644.mp4

https://user-images.githubusercontent.com/29358657/199301894-ae0e9c81-ad1d-4db2-b86d-ad59a0ef157e.mp4

Also there is no such glitches when using "Image" rendering mode, as I said before

viandoxdev commented 2 years ago

You sure you just didn't activate the show widget resize option of the inspector ? it makes any widget that updates flash red

PoSayDone commented 2 years ago

You sure you just didn't activate the show widget resize option of the inspector ? it makes any widget that updates flash red

Yes, I'm sure. Second video in previous message is with enabled "Show grafical update", I've enabled it to show that this glitches appears with similar timing as variables updates