https://bugs.kde.org/show_bug.cgi?id=475325

--- Comment #3 from Huang-Huang Bao <i...@eh5.me> ---
Created attachment 163293
  --> https://bugs.kde.org/attachment.cgi?id=163293&action=edit
An insufficient fix/workaround for the bug, only fix the blurriness of QT apps

After some digging on kwin and fractional debug shader pass [1], I have found
there are mismatches between renderTarget.size() and deivce geometry calculated
using viewport.renderRect() * viewport.scale() that cause the unalignment of
items. Fix it by supplying `fractionalGeometry()` of output instead of
`geometry()` into RenderViewport in WorkspaceScene.

However this fix/workaround is insufficient and does not fix the blurriness of
decoration title[2] and some non-QT apps like Firefox, Electron and VS Code
with fractional-scale-v1 integration enabled on fractional logical geometry. 

Surprisingly, the QPainter backend(KWIN_COMPOSE=Q) has no problem on all of
these case at all (without the mentioned patch of course), all components looks
sharp under any scales no matter it's QT6 apps or other
fractional-scale-v1apps.

So there is certainly some other alignment issues in OpenGL backend.

[1] https://invent.kde.org/plasma/kwin/-/merge_requests/3988
[2] https://bugs.kde.org/show_bug.cgi?id=475886

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to