Bug 477760

Summary: Manage Desktop and Panels remains accesible when it shouldn't be
Product: [Plasma] plasmashell Reporter: Martin Riethmayer <ripper>
Component: "Manage Desktop and Panels" windowAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED INTENTIONAL    
Severity: minor CC: nate
Priority: NOR    
Version First Reported In: 5.90.0   
Target Milestone: 1.0   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Martin Riethmayer 2023-11-30 10:30:58 UTC
SUMMARY
***
"Manage Desktop and Panels" should not be shown if only one screen and one panel is active, but it remains visible after deleting a second panel.


STEPS TO REPRODUCE
1. Add a panel (so that there's at least two)
2. Enter "Manage Desktop and Panels"
3. Remove one panel

OBSERVED RESULT
"MDaP" is still available, even though there's only one screen and one panel available right now.

EXPECTED RESULT
"MDaP" should not be accessible in Edit Mode.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:  KDE neon unstable with all updates from 2023-11-30, 09:21 UTC
(available in About System)
KDE Plasma Version: 5.90.0
KDE Frameworks Version: 5.246.0
Qt Version: 6.6.0

ADDITIONAL INFORMATION
The problem is resolved after a reboot.
Comment 1 Nate Graham 2023-11-30 16:41:48 UTC
You can have inactive desktops and panels even if you only have one visible desktop with only one visible panel on it.

We could check for this condition, but then the feature would be appearing and disappearing contextually, and I think that would be more confusing than useful.