Hyprland icon indicating copy to clipboard operation
Hyprland copied to clipboard

`blur_new_optimizations=1` causes flashing

Open JustSimplyKyle opened this issue 2 years ago • 2 comments

  1. open an xwayland window(the example here being webcord)
  2. have a eww bar open
  3. turn off your internet
  4. webcord started flashing https://github.com/hyprwm/Hyprland/commit/a163ca92377a56c196222a48c0a5676a7bb4ac3b this might be the commit that introduced it, haven't got time to thoroughly check tho

JustSimplyKyle avatar Jan 06 '23 12:01 JustSimplyKyle

can't repro.

Is the window opaque?

Define flashing. What is flashing? webcord? the blurred background?

git bisect would be useful.

vaxerski avatar Jan 06 '23 12:01 vaxerski

blurflash.webm

(i'll do the git bisect)

decoration {
    active_opacity=0.9
    inactive_opacity=0.87
    fullscreen_opacity=1
    multisample_edges=1
    rounding=15
    blur=1
    drop_shadow=true
    shadow_range=15
    blur_size=3 # minimum 1
    blur_passes=3 # minimum 1, more passes = more resource intensive.
    # Your blur "amount" is blur_size * blur_passes, but high blur_size (over around 5-ish) will produce artifacts.
    # if you want heavy blur, you need to up the blur_passes.
    # the more passes, the more you can up the blur_size without noticing artifacts.
    blur_new_optimizations=1
}

JustSimplyKyle avatar Jan 06 '23 13:01 JustSimplyKyle

After doing a git bisect, I can indeed confirm that https://github.com/hyprwm/Hyprland/commit/a163ca92377a56c196222a48c0a5676a7bb4ac3b this is the commit that introduced the bug

JustSimplyKyle avatar Jan 22 '23 05:01 JustSimplyKyle

should be fixed with 2a5ae435e19e5ccc3a4d989497f062614307f104

vaxerski avatar Jan 23 '23 13:01 vaxerski

It is fixed! Thanks.

JustSimplyKyle avatar Jan 24 '23 02:01 JustSimplyKyle