Bug 460755

Summary: Cannot switch from floating to maximized mode
Product: [Plasma] plasmashell Reporter: Patrick Silva <bugseforuns>
Component: PanelAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: nate, niccolo.venerandi
Priority: NOR    
Version First Reported In: master   
Target Milestone: 1.0   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: screenshot

Description Patrick Silva 2022-10-20 11:00:17 UTC
STEPS TO REPRODUCE
1. right-click on Plasma panel and choose 'Enter edit mode'
2. click on 'More options...' button
3. click on 'Floating panel' - this option takes effect
4. click on 'Maximize panel'

OBSERVED RESULT
'Maximize panel' option does not work. Floating mode persists.

EXPECTED RESULT
'Maximize panel' option works

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.26.80
KDE Frameworks Version: 5.100.0
Qt Version: 5.15.6
Graphics Platform: Wayland
Comment 1 Nate Graham 2022-10-20 19:45:30 UTC
Maximizing the panel doesn't make it un-float; it just makes it as large as possible while preserving the floatyness. Can you attach a screenshot of how your panel looks when both floating and maximized?
Comment 2 Patrick Silva 2022-10-22 09:18:39 UTC
Created attachment 153109 [details]
screenshot
Comment 3 veggero 2022-10-23 14:24:08 UTC
This is the correct behavior. A maximized panel is a panel whose window touches both edges of the screen. When the panel is floating, there's some additional margin around the screen, but the panel still extend from border to border. This button isn't really meant to un-float the panel. It is meant, as an example, if you make the panel smaller horizontally (even when floating) and then you want to maximize horizontally again. I'll consider how the wording could become more clear, though.