anametologin/krohnkite

Krohnkite causes a flicker when opening any terminal with blur

Closed this issue · 5 comments

Symptom
Flickers in a terminal with blur

How to Reproduce

  1. Setup blur in any terminal
    For Alacritty in alacritty.toml:
[window]
opacity = 0.85
blur = true

For Kitty in kitty.conf:

background_opacity 0.85
background_blur 1
  1. Have Krohnkite enabled
  2. Open your terminal and you will see a flicker upon opening

For

Expected behavior
to not have the flicker upon opening a terminal with blur

Environment

  • Distro: [Archlinux]
  • KWin version: [kwin 6.1.4]
  • Krohnkite version: [commit: 3f52948 which added ability to ignore vdesktop (though the bug existed before that )]
  • List of KWin scripts in use: [Virtual Desktop only on primary window (i disabled it and i could still reproduce it) ]

Notes
The flicker is not noticeable when disabling blur in the terminals . I also Attached a video for visual reference.
EDIT: the bug happens with any window that has blur ex. dolphin

2024-09-05.13-55-38.mp4

I use konsole and kitty and cannot confirm the problem, try another tile script to look the problem persists. I think that the key problem may be in kwin script in general.

Screencast_20240920_115100.webm

I'm not sure if this is related, but I have a very bad flicker when using the keyboard shortcuts to move open windows.

The screencast unfortunately does not capture the severity of the issue. In the screencast you can see a small flicker, but in reality that flicker flashes the entire desktop wallpaper underneath with full transparency making it extremely jarring and unsettling.

What terminal emulator are you using?

What terminal emulator are you using?

kitty - https://github.com/kovidgoyal/kitty

However it happens with other applications too: emacs, firefox, konsole

The flicker is always on the right half of the window.