Summary: | XWayland apps drawing dark pixels on rounded corners | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Svyatoslav Timofeev <timofeevsv1989> |
Component: | decorations | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | kde, nate, xnaxdy |
Priority: | NOR | Keywords: | wayland |
Version: | 5.27.6 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: |
White pixels in transparent area
Dark pixels on winecfg Video demo of the bug using Slack under Xwayland Comparison of Xwayland window with Breeze (dark pixel) and native Wayland window with Breeze round third party windoe decoration is filled with dark pixels |
Description
Svyatoslav Timofeev
2023-02-05 15:26:43 UTC
Created attachment 155963 [details]
White pixels in transparent area
Created attachment 155964 [details]
Dark pixels on winecfg
Cannot reproduce with Discord using XWayland. (In reply to Nate Graham from comment #3) > Cannot reproduce with Discord using XWayland. Set dark theme, with bright consistent wallpaper Move XWayland window upon other application (window content upon dark application, and headerbar upon wallpaper) So with this action I can see dark pixels (In reply to Nate Graham from comment #3) > Cannot reproduce with Discord using XWayland. The window manager on XWayland cloning background pixels from window background, but in wrong place Created attachment 156172 [details]
Video demo of the bug using Slack under Xwayland
Can confirm this as well. Attached a video to further showcase it.
Application: Slack
Window decorations: Sierra Breeze Enhanced
Application style: kvantum-dark
Color scheme: Dracula
Oh I see, you're using a 3rd-party window decoration theme. That's quite relevant. Created attachment 156186 [details]
Comparison of Xwayland window with Breeze (dark pixel) and native Wayland window with Breeze
No, it isn't. In the video, I'm not using an aurorae decoration, but Sierra Breeze Enhanced, which is a native decoration forked from Breeze.
Also, the dark pixel still appears in Breeze, it is just (a lot) less noticeable, because the corners aren't as rounded. Even on the zoomed-in screenshot it's very hard to detect if you're not looking for it. But this bug is very much present regardless.
Also, not sure how relevant this is, but if using the third-party KWin effect LightlyShaders ( https://github.com/a-parhom/LightlyShaders ), which rounds all corners of a window, this problem disappears entirely (regardless of which decoration is being used), which leads me to believe that this may actually be an effect misbehaving, rather than the decorations. Created attachment 160609 [details]
round third party windoe decoration is filled with dark pixels
Observed the same problem when using a rounded window decoration theme (Lavanda-Sea) with Wine applications in a Wayland session.
*** This bug has been marked as a duplicate of bug 478080 *** |