Bug 444842

Summary: Tooltip borders get artifacts when the active window has media-playing capabilities
Product: [Plasma] kwin Reporter: David <david.cortes.rivera>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: john.kde
Priority: NOR    
Version First Reported In: 5.23.0   
Target Milestone: ---   
Platform: Debian unstable   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: bugged_borders
Display Config bugged
Display Config OK
Minimise bugged
Minimise OK

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