Bug 477884

Summary: De-floated panel loses shadow on plasmashell restart
Product: [Plasma] plasmashell Reporter: Jin Liu <ad.liu.jin>
Component: PanelAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: minor CC: nate, niccolo.venerandi
Priority: NOR Keywords: qt6
Version First Reported In: 5.90.0   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Jin Liu 2023-12-02 02:28:35 UTC
STEPS TO REPRODUCE
1. Set a panel as "floating".
2. Maximize a window, so the panel de-floats.
3. `systemctl restart --user plasma-plasmashell.service`
4. Panel shadow will disappear.
5. Restore the window, so the panel floats.
6. Now the shadow will re-appear.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.90.0
KDE Frameworks Version: 5.246.0
Qt Version: 6.6.1
Kernel Version: 6.6.3-arch1-1 (64-bit)
Graphics Platform: offscreen
Processors: 12 × AMD Ryzen 5 5600H with Radeon Graphics
Memory: 13.5 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Comment 1 Nate Graham 2023-12-05 21:30:34 UTC
Can reproduce!
Comment 2 Bug Janitor Service 2023-12-06 23:06:46 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/3665
Comment 3 Nate Graham 2023-12-06 23:27:23 UTC
Git commit f88c6e3b23c2d060a7c773ed09506edf614fca1c by Nate Graham, on behalf of Niccolò Venerandi.
Committed on 07/12/2023 at 00:27.
Pushed by ngraham into branch 'master'.

Update panel shadows after change in QML values

During startup, QML values might be initially incorrect; when they
change, the shadow isn't updated accordingly. This fixes the issue.

M  +1    -0    shell/panelview.cpp

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