| Summary: | Hovering windows in the Present Windows effects creates a gap between the window title and window content | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | Adam Fontenot <adam.m.fontenot+kde> |
| Component: | effects-present-windows | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | nate, notify |
| Priority: | NOR | ||
| Version First Reported In: | 5.24.2 | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/plasma/kwin/-/commit/376ee357dbc50fec3b6e71c40938171ddb2e726a | Version Fixed/Implemented In: | 5.25 |
| Sentry Crash Report: | |||
| Attachments: | screenshot of the problem | ||
|
Description
Adam Fontenot
2022-03-05 02:12:18 UTC
Can't reproduce, what do you mean by "a gap appears"? (In reply to Niklas Stephanblome from comment #1) > Can't reproduce, what do you mean by "a gap appears"? This is almost certainly some kind of graphics / openGL bug, so it's not too surprising if not everyone can reproduce it. Can you see my screenshot of the problem attached to the issue? When in Present Windows, if I hover over a window it changes the size of the window. The is just a static bitmap preview of the window contents, and it looks like the window titlebar and the window are rendered as separate bitmaps. Resizing them at the same time creates aliasing artifacts between them, creating a gap between them through which you can kind of see colors from the background flickering through. In my screenshot, this is happening on the top left, just under the window title bar. I tested and was able to reproduce this on different hardware with a separate KDE installation. It's not consistent, even on my hardware. The bug seems to appear when a resize operation occurs on the window preview bitmap of a particular size. Certain amounts of resizing cause the gap to appear, others do not. In the following screenshot, you can clearly see that it *is* a gap that appears, not just a line. You can see hints of the background image (one of the default KDE wallpapers) behind the window: https://i.imgur.com/yrZ3CXY.png This has been fixed with the rewrite in Plasma 5.25, done by Marco Martin with https://invent.kde.org/plasma/kwin/-/commit/376ee357dbc50fec3b6e71c40938171ddb2e726a! |