LightlyShaders icon indicating copy to clipboard operation
LightlyShaders copied to clipboard

Window become blurry after dragging when using Plasma 6 Wayland with HiDPI.

Open su226 opened this issue 10 months ago • 1 comments

Window become blurry after any dragging (Titlebar, CSD, Meta Key+Mouse Left, etc.) when using both Wayland and HiDPI.

Not sure but Xwayland seems fine, only affects native Wayland windows.

Using X11 or disable HiDPI will be fine, but this is annoying as I prefer Wayland.

OS: Arch Linux KWin: 6.0.2-3 LightlyShaders: plasma6 branch commit https://github.com/a-parhom/LightlyShaders/commit/a380ae644caa874d79626bccc5674c7e653b99fe

LightlyShaders enabled: LightlyShaders enabled

LightlyShaders disabled: 屏幕截图_20240328_205942

su226 avatar Mar 28 '24 13:03 su226

Can confirm, Plasma 6 on ArchLinux. Doesn't happen on my Gentoo box with Plasma 5, but I could replicate it on that machine aswell when trying out Plasma 6; (all of them Wayland).

All fonts get blurry when DPI scaling (1440p 125% for me) is involved. Moved, unminimized and freshly opened windows all get blurry fonts. Deactivating lightlyshaders in the kwineffects kcm instantly turns them crisp again.

Since Plasma6 doesn't support scaling by just setting the font DPI anymore (the option was completely removed), adding support for fractional scaling may now be justified. Anyhow, why does the shader affect the window contents in the first place? Shouldn't it just act on the borders/decoration?

DiabeticCrab avatar Mar 29 '24 00:03 DiabeticCrab