Bug 449535 - System Tray's popup (Full Representation of its applets) has a gray overlay when located on a desktop containment
Summary: System Tray's popup (Full Representation of its applets) has a gray overlay w...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: System Tray (show other bugs)
Version: master
Platform: Other Linux
: NOR minor
Target Milestone: 1.0
Assignee: ratijas
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-03 00:32 UTC by ratijas
Modified: 2022-02-04 15:24 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.24.1
Sentry Crash Report:


Attachments
System Tray applet - gray on desktop (1.25 MB, video/mp4)
2022-02-03 00:32 UTC, ratijas
Details
System Tray applet - gray on desktop - 1 (147.92 KB, image/png)
2022-02-03 00:33 UTC, ratijas
Details
System Tray applet - gray on desktop - 2 (138.48 KB, image/png)
2022-02-03 00:37 UTC, ratijas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ratijas 2022-02-03 00:32:44 UTC
Created attachment 146201 [details]
System Tray applet - gray on desktop

SUMMARY

System Tray applet's popup looks like there is a gray overlay (or "underlay") in front or behind of it, when added to the desktop containment (not on a panel).

STEPS TO REPRODUCE
1. Add System Tray applet to the desktop, or move an existing one from a default panel.
2. Click on any plasmoid's icon that has a popup (e.g.: Audio Volume, Clipboard, Disks & Devices, Battery and Brightness etc).

OBSERVED RESULT
The popup is gray, as can be seen on a screenshot attached.

EXPECTED RESULT
Popup should be normally colored.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.24.80
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.2
Kernel Version: 5.16.4-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-6700HQ CPU @ 2.60GHz
Memory: 15.6 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 970M/PCIe/SSE2

plasma-desktop: c2b4113722d395f1c7122689c119555f3ed7c0eb
plasma-workspace: a61b3faecb1e13c8100084f14e6646721c6e48bb
plasma-framework: 602ab69160de190eff7d9daa45ac7a9c0e489764
Comment 1 ratijas 2022-02-03 00:33:36 UTC
Created attachment 146202 [details]
System Tray applet - gray on desktop - 1

Some screenshots in addition to the video
Comment 2 ratijas 2022-02-03 00:37:40 UTC
Created attachment 146203 [details]
System Tray applet - gray on desktop - 2
Comment 3 Patrick Silva 2022-02-03 01:47:46 UTC
duplicate of bug 439374
Comment 4 ratijas 2022-02-03 14:23:12 UTC
> duplicate of bug 439374

https://bugsfiles.kde.org/attachment.cgi?id=139782

Not exactly. This was a different one, and it was fixed a while ago.
Comment 5 Nate Graham 2022-02-03 18:20:37 UTC
Can confirm. Only noticeable when using a dark color scheme though. I couldn;t tell the difference when using the Breeze Light color scheme
Comment 6 Bug Janitor Service 2022-02-04 04:30:20 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/1435
Comment 7 ratijas 2022-02-04 15:23:57 UTC
Git commit eb2fe693020f8767ecc22a1508701506a4eb9f4f by ivan tkachenko.
Committed on 04/02/2022 at 04:29.
Pushed by ngraham into branch 'master'.

systray: Fix applet's appearance on a desktop

All the sizing and positioning code in this SvgItem relies on assumption
that plasmoid's location would we strictly either one of four edge
types. So this patch ensures that this thin separator line is only
visible when this assumption is true. Otherwise its both width and
height get reset (by binding `undefined`), and SVG starts filling up
the whole available area, which leads to a visual glitch that looks
like a as grayed out or faded applet.

See also: https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/576

M  +3    -0    applets/systemtray/package/contents/ui/main.qml

https://invent.kde.org/plasma/plasma-workspace/commit/eb2fe693020f8767ecc22a1508701506a4eb9f4f
Comment 8 Nate Graham 2022-02-04 15:24:19 UTC
Git commit ce21699c45097e1fbe8a4360c7b05bb5c893bf31 by Nate Graham, on behalf of ivan tkachenko.
Committed on 04/02/2022 at 15:23.
Pushed by ngraham into branch 'Plasma/5.24'.

systray: Fix applet's appearance on a desktop

All the sizing and positioning code in this SvgItem relies on assumption
that plasmoid's location would we strictly either one of four edge
types. So this patch ensures that this thin separator line is only
visible when this assumption is true. Otherwise its both width and
height get reset (by binding `undefined`), and SVG starts filling up
the whole available area, which leads to a visual glitch that looks
like a as grayed out or faded applet.

See also: https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/576


(cherry picked from commit eb2fe693020f8767ecc22a1508701506a4eb9f4f)

M  +3    -0    applets/systemtray/package/contents/ui/main.qml

https://invent.kde.org/plasma/plasma-workspace/commit/ce21699c45097e1fbe8a4360c7b05bb5c893bf31