Bug 488295 - Blurry graphic artifact visible behind floating panel in plasmashell
Summary: Blurry graphic artifact visible behind floating panel in plasmashell
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (show other bugs)
Version: git-stable-Plasma/6.1
Platform: Arch Linux Linux
: VHI normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: qt6, regression
: 488351 488356 488371 488394 488406 488519 488531 488545 488679 488779 488873 490770 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-06-10 10:46 UTC by yellow.dog625
Modified: 2024-07-24 19:18 UTC (History)
20 users (show)

See Also:
Latest Commit:
Version Fixed In: Frameworks 6.3.1
Sentry Crash Report:


Attachments
screenshot showing the floating panel with the graphic artifact visible behind it (122.72 KB, image/png)
2024-06-10 10:46 UTC, yellow.dog625
Details
On git master (90.63 KB, image/jpeg)
2024-06-10 20:35 UTC, Nate Graham
Details

Note You need to log in before you can comment on or make changes to this bug.
Description yellow.dog625 2024-06-10 10:46:21 UTC
Created attachment 170319 [details]
screenshot showing the floating panel with the graphic artifact visible behind it

SUMMARY

A graphic artifact is visible behind the panel when it is set to "floating" mode in plasmashell. A rectangle appears behind the panel when there should be nothing displayed. This artifact disappears after plasmashell is restarted.

SOFTWARE/OS VERSIONS

Linux: 6.9.3
KDE Plasma Version: 6.0.90
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.1
Comment 1 Nate Graham 2024-06-10 20:35:24 UTC
Created attachment 170359 [details]
On git master

I can reproduce this on current git master too.
Comment 2 duha.bugs 2024-06-11 20:42:45 UTC
*** Bug 488351 has been marked as a duplicate of this bug. ***
Comment 3 duha.bugs 2024-06-11 20:43:21 UTC
*** Bug 488371 has been marked as a duplicate of this bug. ***
Comment 4 duha.bugs 2024-06-11 20:44:18 UTC
*** Bug 488356 has been marked as a duplicate of this bug. ***
Comment 5 nlearned 2024-06-12 02:52:19 UTC
*** Bug 488394 has been marked as a duplicate of this bug. ***
Comment 6 nlearned 2024-06-12 02:57:08 UTC
I can reproduce.
SOFTWARE/OS VERSIONS
Linux: Arch Up To Date as of June 11 2024
(available in About System)
KDE Plasma Version: 6.0.5
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.1

ADDITIONAL INFORMATION
iGPU: AMD Radeon 780M

I think it might be related to a transparency texture.
Comment 7 Nate Graham 2024-06-12 18:32:22 UTC
*** Bug 488406 has been marked as a duplicate of this bug. ***
Comment 8 Cameron Smith 2024-06-15 09:52:39 UTC
Can reproduce this bug on my ThinkPad T480s laptop, wayland session, Arch Linux.

Curiously, this is NOT present on my AMD/Nvidia main pc, only my intel/intel laptop. Not sure what's going on there, but for interest's/debugging's sake my pc without the issue is:

Plasma: 6.0.5
KDE Frameworks: 6.3.0
Qt: 6.7.1
Kernel: 6.9.4
CPU: AMD Ryzen 5
GPU: Nvidia Quadro RTX 4000
Comment 9 Felix Zhu 2024-06-16 12:30:27 UTC
I can also reproduce. It only happens sometimes but not always.
SOFTWARE/OS VERSIONS
Linux: Latest arch Linux
(available in About System)
KDE Plasma Version: 6.0.90
KDE Frameworks Version: 6.3.0
Qt Version: 6.8.0

ADDITIONAL INFORMATION
Intel iGPU
Comment 10 Robert 2024-06-16 17:05:49 UTC
I can also reproduce, a fresh session works fine, however, when a window is maximized and then closed, the bug appears. The tooltips for panel elements are also defective with cut off corners where some of them don't have rounding.

Operating System: EndeavourOS 
KDE Plasma Version: 6.0.5
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.1
Kernel Version: 6.9.4-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 32 × AMD Ryzen 9 5950X 16-Core Processor
Memory: 62.7 GiB of RAM
Graphics Processor: AMD Radeon RX 5700 XT
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: X570 AORUS XTREME
System Version: -CF
Video Drivers: Mesa 24.1.1
Comment 11 David Redondo 2024-06-17 08:27:48 UTC
*** Bug 488531 has been marked as a duplicate of this bug. ***
Comment 12 David Redondo 2024-06-17 09:16:06 UTC
*** Bug 488519 has been marked as a duplicate of this bug. ***
Comment 13 Nate Graham 2024-06-17 17:59:18 UTC
*** Bug 488545 has been marked as a duplicate of this bug. ***
Comment 14 Owabs Zhar 2024-06-18 00:00:30 UTC
I've been seeing this for a while now.

Operating System: Fedora Linux 40
KDE Plasma Version: 6.0.5
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.1
Kernel Version: 6.9.4-200.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: Intel Core 13th gen Mobile
Memory: 15.3 GiB of RAM
Graphics Processor: Mesa Intel® Graphics
Comment 15 Vlad Zahorodnii 2024-06-19 06:38:11 UTC
*** Bug 488679 has been marked as a duplicate of this bug. ***
Comment 16 Marco Martin 2024-06-19 09:11:59 UTC
Git commit 74f9f9cbd226407f8cde08c5cd5a711444e2775d by Marco Martin.
Committed on 19/06/2024 at 09:11.
Pushed by mart into branch 'master'.

Restore proper devicepixelratio when extracting from cache

like in base Svg, also in FrameSvg restore the proper devicepixelratio
when getting the image from the cache, as KImageCache doesn't save or
restore the information about it.

This fixes blur region mask sometimes wrong behind floating panels

M  +6    -0    src/ksvg/framesvg.cpp

https://invent.kde.org/frameworks/ksvg/-/commit/74f9f9cbd226407f8cde08c5cd5a711444e2775d
Comment 17 Shakeel 2024-06-19 15:32:24 UTC
Is it possible to backport this fix to Framework 6.3.x so that we don't have to wait another month?
Comment 18 ray 2024-06-19 15:47:01 UTC
(In reply to Shakeel from comment #17)
> Is it possible to backport this fix to Framework 6.3.x so that we don't have
> to wait another month?

Yup, same question. Things like that completely ruined user experience. From developer and logic perspective it's almost nothing but if you have to look at it everyday it's... I already can't stand with only 1 day

So, yes, please guys release some kind of fix very soon :) or how we can temporary fix it if it possible before release fix if it take long time.
Comment 19 nlearned 2024-06-19 16:22:00 UTC
I just compiled the latest git master and it seems to work fine. A backport would be nice though.
Comment 20 Owabs Zhar 2024-06-19 22:18:56 UTC
I second the motion for a backport.
Comment 21 Felix Zhu 2024-06-20 11:11:51 UTC
I'd also like a backport
Comment 22 Nate Graham 2024-06-20 12:37:51 UTC
It looks like all the Frameworks packagers are on vacation right now, so unfortunately a new Frameworks release from KDE is not likely. I've emailed distros about this and asked them to backport it themselves, so the good distros should be shipping the a backport soon.
Comment 23 Jonathan Riddell 2024-06-20 14:07:19 UTC
Git commit e16e4f8b9379c0d938fe55158ed7d80c25c9cffa by Jonathan Riddell, on behalf of Marco Martin.
Committed on 20/06/2024 at 14:02.
Pushed by jriddell into tag 'v6.3.1'.

Restore proper devicepixelratio when extracting from cache

like in base Svg, also in FrameSvg restore the proper devicepixelratio
when getting the image from the cache, as KImageCache doesn't save or
restore the information about it.

This fixes blur region mask sometimes wrong behind floating panels

M  +6    -0    src/ksvg/framesvg.cpp

https://invent.kde.org/frameworks/ksvg/-/commit/e16e4f8b9379c0d938fe55158ed7d80c25c9cffa
Comment 24 cwo 2024-06-20 14:46:33 UTC
*** Bug 488779 has been marked as a duplicate of this bug. ***
Comment 25 Robert 2024-06-20 18:15:12 UTC
(In reply to Nate Graham from comment #22)
> It looks like all the Frameworks packagers are on vacation right now, so
> unfortunately a new Frameworks release from KDE is not likely. I've emailed
> distros about this and asked them to backport it themselves, so the good
> distros should be shipping the a backport soon.

Thanks Nate, Arch has already backported the fix to stable and I just installed the latest KSvg and Plasma 6.1 and can confirm that all artifacts are gone, keep up the good work.
Comment 26 Nate Graham 2024-06-20 18:20:43 UTC
In this case the good work was done by Marco who fixed it, and Jonathan who made a release of KSvg while on vacation! :O
Comment 27 Shakeel 2024-06-20 18:34:12 UTC
Thanks Nate, Marco and Jonathan. Really appreciate your efforts on fixing this issue.
I can confirm the fix is now available in Arch repos and working great. 
Kudos to all...
Comment 28 Nate Graham 2024-06-20 19:30:58 UTC
Fantastic!
Comment 29 ray 2024-06-20 21:34:06 UTC
That's why KDE is the best!
Comment 30 Nate Graham 2024-06-21 19:44:02 UTC
*** Bug 488873 has been marked as a duplicate of this bug. ***
Comment 31 Nate Graham 2024-07-24 19:18:52 UTC
*** Bug 490770 has been marked as a duplicate of this bug. ***