Bug 444842 - Tooltip borders get artifacts when the active window has media-playing capabilities
Summary: Tooltip borders get artifacts when the active window has media-playing capabi...
Status: CONFIRMED
Alias: None
Product: kwin
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 5.23.0
Platform: Debian unstable Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-02 17:24 UTC by David
Modified: 2023-02-19 20:24 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
bugged_borders (63.85 KB, image/png)
2021-11-02 17:24 UTC, David
Details
Display Config bugged (12.06 KB, image/png)
2023-02-19 20:22 UTC, John Veness
Details
Display Config OK (12.24 KB, image/png)
2023-02-19 20:23 UTC, John Veness
Details
Minimise bugged (16.88 KB, image/png)
2023-02-19 20:23 UTC, John Veness
Details
Minimise OK (17.01 KB, image/png)
2023-02-19 20:23 UTC, John Veness
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David 2021-11-02 17:24:47 UTC
Created attachment 143144 [details]
bugged_borders

SUMMARY
I am seeing some artifacts in the bottom corners of some tooltips, like the ones that appear when hovering the mouse over a systray icon. There is a similar bug report (438644) about this happening in wayland with scaling, but for me, this happens:
- In X11.
- Without scaling.
- Only when the active window has media-playing capabilities (e.g. in web browsers or VLC, but not in konsole or kate), regardless of whether it intersects with the tooltip or not.

STEPS TO REPRODUCE
1. Disable blur or translucency or similar effects just in case.
2. Launch VLC or a web browser.
3. Hover the mouse over some systray icon and watch the bugged bottom borders (top ones render fine).
4. Optionally, launch konsole or some other app (don't even close nor minimize the app from step 2) so that it becomes the active window, and then repeat point 3 and observe that all the borders render correctly.

OBSERVED RESULT
Bottom borders of tooltips have artifacts.

EXPECTED RESULT
Tooltips should not have artifacts.

Operating System: Debian GNU/Linux
KDE Plasma Version: 5.23.0
KDE Frameworks Version: 5.86.0
Qt Version: 5.15.2
Kernel Version: 5.14.0-3-amd64 (64-bit)
Graphics Platform: X11
Processors: 16 × AMD Ryzen 7 2700 Eight-Core Processor
Memory: 15.5 GiB of RAM
Graphics Processor: AMD VEGA10

ADDITIONAL INFORMATION
There used to be no such artifacts in earlier KDE releases (5.21 or so).
Comment 1 John Veness 2023-02-19 20:22:33 UTC
Created attachment 156508 [details]
Display Config bugged
Comment 2 John Veness 2023-02-19 20:23:08 UTC
Created attachment 156509 [details]
Display Config OK
Comment 3 John Veness 2023-02-19 20:23:30 UTC
Created attachment 156510 [details]
Minimise bugged
Comment 4 John Veness 2023-02-19 20:23:53 UTC
Created attachment 156511 [details]
Minimise OK
Comment 5 John Veness 2023-02-19 20:24:32 UTC
I'm seeing the same with the bottom corners of system tray tooltips, in X11, no scaling, although I haven't found any correlation with media-playing. For me, it seems to happen randomly. Moving the mouse to hover over a different item and then back again usually fixes the issue temporarily.

Operating System: openSUSE Tumbleweed 20230217
KDE Plasma Version: 5.27.0
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Kernel Version: 6.1.12-1-default (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i5-7200U CPU @ 2.50GHz
Memory: 15.5 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 620
Manufacturer: HP
Product Name: HP ProBook 450 G4