Bug 495453 - Mock system tray needs a visual update to better match reality again
Summary: Mock system tray needs a visual update to better match reality again
Status: RESOLVED FIXED
Alias: None
Product: Welcome Center
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR task
Target Milestone: ---
Assignee: Oliver Beard
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-28 01:22 UTC by Nate Graham
Modified: 2025-02-22 23:47 UTC (History)
2 users (show)

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


Attachments
Mock panel vs reality (803.47 KB, image/png)
2024-10-28 01:22 UTC, Nate Graham
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nate Graham 2024-10-28 01:22:07 UTC
Created attachment 175289 [details]
Mock panel vs reality

6.2 differs from what we're showing. Some differences from reality are unavoidable (e.g. presence or absence and enablement/disablement status of Bluetooth), but we should otherwise try to be accurate.

Since the Brightness & Color widget is shown by default, we should mirror that in the mock panel. I'd say we can replace the Clipboard widget with it, since that widget is normally hidden until you copy something.
Comment 1 Bug Janitor Service 2025-02-22 22:53:22 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-welcome/-/merge_requests/196
Comment 2 Nate Graham 2025-02-22 23:47:33 UTC
Git commit 0040c61dd468cdfc653cd525970fc4d202152a34 by Nate Graham.
Committed on 22/02/2025 at 22:42.
Pushed by ngraham into branch 'master'.

Make mock System Trays more accurate

After some changes to default applets in Plasma 6.2, the mock trays
didn't match reality completely. In addition, two out of the three mock
trays used hardcoded network icons rather than getting their icon from
plasma-nm.

Remedy both issues by using the real network icons in all three places,
and matching up with the real tray applets' icons.

To do this, the plasma-nm loader has been extracted into a generic
component re-usable from multiple pages, and then used there.
FIXED-IN: 6.4.0

M  +1    -0    src/CMakeLists.txt
M  +12   -49   src/qml/pages/Network.qml
M  +6    -1    src/qml/pages/SimpleByDefault.qml
A  +52   -0    src/qml/pages/network/PlasmaNMLoader.qml     [License: GPL(3+eV) GPL(v3.0) GPL(v2.0)]
M  +7    -3    src/qml/pages/powerfulwhenneeded/Vaults.qml

https://invent.kde.org/plasma/plasma-welcome/-/commit/0040c61dd468cdfc653cd525970fc4d202152a34