Bug 462538

Summary: Floating Panels should always stay floating if they have auto-hide or Window can cover attribute
Product: [Plasma] plasmashell Reporter: Shakeel <ashakeel.me>
Component: PanelAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: niccolo.venerandi
Priority: NOR    
Version First Reported In: 5.26.3   
Target Milestone: 1.0   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Floating panel with no maximised window
Floating panel with maximised window

Description Shakeel 2022-12-02 10:31:06 UTC
Created attachment 154221 [details]
Floating panel with no maximised window

SUMMARY
The default behavior of floating panel where they maximize and stop floating if there is maximized window should not be applicable for panels which have either "auto hide" or "windows can cover" option checked. Ideally that should apply to panels which are always visible an have reserved space on screen.

But if panel is auto hiding, then they don't have any reserved space on screen and it make no sense to stop these panels floating for maximized windows.

STEPS TO REPRODUCE
1. Create new panel
2. Check Auto Hide or Windows can Cover option
3. Floating Panel option
4. Open any window (not maximised)
5. You will see good floating panel
6. Maximise the window and take cursor to edge of screen to reveal the panel
7. You will see ugly Maximized panel 



OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Shakeel 2022-12-02 10:31:39 UTC
Created attachment 154222 [details]
Floating panel with maximised window
Comment 2 Shakeel 2022-12-02 10:37:22 UTC
OBSERVED RESULT
Floating Panel always stop floating when there is maximized window

EXPECTED RESULT
Floating Panel should only stop floating on maximized window if it is always visible. If it is auto hiding or windows can cover it, then it should not stop floating.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Manjaro 
(available in About System)
KDE Plasma Version: 5.26.3
KDE Frameworks Version: 5.99.0
Qt Version: 5.15.7

ADDITIONAL INFORMATION
Comment 3 veggero 2022-12-02 11:11:26 UTC

*** This bug has been marked as a duplicate of bug 454950 ***