Bug 479288

Summary: Analog clock, when switched to calendar and back, leaves behind blank widget background
Product: [Plasma] plasmashell Reporter: Doug <dougshaw77>
Component: ContainmentAssignee: Plasma Bugs List <plasma-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: bshah, nate, notmart
Priority: NOR Keywords: qt6, wayland-only
Version First Reported In: 5.91.0   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Screenshot showing analog clock and empty widget box

Description Doug 2024-01-02 04:38:29 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Add Analog clock widget to desktop
2. left click and select "Show alternatives"
3. select "Calendar"
4. left click and select "Show alternatives" again
5. select "Analog Clock"

OBSERVED RESULT
Analog clock turns to calendar just fine.  When turned back to an analog clock, it leaves an empy widget box behind.  Disappears after logout.  Can repeat this process and add multiple empty widgets.  Cannot interact with the empty widget boxes.

EXPECTED RESULT
Analog clock turns to calendar and back again, leaving no residual window.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: KDE Neon Unstable
(available in About System)
KDE Plasma Version: 5.91.90
KDE Frameworks Version: 5.248.0
Qt Version: 6.6.1

ADDITIONAL INFORMATION
Comment 1 Doug 2024-01-02 04:40:28 UTC
Created attachment 164615 [details]
Screenshot showing analog clock and empty widget box
Comment 2 Nate Graham 2024-01-11 20:13:32 UTC
Can reproduce. I suspect what's happening is that the "Show Background" setting is not being reset when the applet switches from one to another.