Summary: | Invisible Media Player icon in System Tray | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | Konrad Materka <materka> |
Component: | System Tray widget | Assignee: | Konrad Materka <materka> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | materka, nate |
Priority: | NOR | ||
Version: | master | ||
Target Milestone: | 1.0 | ||
Platform: | Neon | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/plasma-workspace/commit/2ce60f4e502a29e7ce468fc9796fa5088a3486f6 | Version Fixed In: | 5.19.0 |
Sentry Crash Report: | |||
Attachments: | Screenshot from Nate who is also affected |
Description
Konrad Materka
2020-05-04 10:36:01 UTC
Can reproduce. Git commit 2ce60f4e502a29e7ce468fc9796fa5088a3486f6 by Konrad Materka. Committed on 25/05/2020 at 22:17. Pushed by kmaterka into branch 'Plasma/5.19'. [applets/systemtray] Lazy initialize SystemTray model Summary: SystemTray model was created in constructor, delay initialization and create it lazily. The `SystemTray::appletAdded` signal is connected to both SystemTray's model and `Container`. `Container` must be connected first, because it sets some properties of newly added applet: `visible` to false and `parent` to the root item (container). If `Container` is connected second, then newly created applet ios added to the model and rendered, but immediately after that `Container` changes visibility to false. Test Plan: 1. Do not play anything (no Medial Player icon at all) 2. Run Gwenview 3. Check if Medial Player icon in hidden view is rendered correct. Before change: Sometimes icon is not rendered, looks like invisible or fully transparent. After change: Icon rendered correctly. M +27 -15 applets/systemtray/systemtray.cpp M +4 -2 applets/systemtray/systemtray.h https://invent.kde.org/plasma/plasma-workspace/commit/2ce60f4e502a29e7ce468fc9796fa5088a3486f6 |