Bug 484540 - Panel settings have regressed, "windows can cover" is a missing option and is gravely missed.
Summary: Panel settings have regressed, "windows can cover" is a missing option and is...
Status: RESOLVED INTENTIONAL
Alias: None
Product: plasmashell
Classification: Plasma
Component: "Manage Desktop and Panels" window (show other bugs)
Version: 6.0.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-26 17:58 UTC by Jordan Cruz
Modified: 2024-10-28 17:28 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
a pair of screenshots showcasing the plasma 5 edit mode versus the plasma 6 edit mode and the sorely missed option. (418.21 KB, image/jpeg)
2024-03-26 17:58 UTC, Jordan Cruz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jordan Cruz 2024-03-26 17:58:22 UTC
Created attachment 167807 [details]
a pair of screenshots showcasing the plasma 5 edit mode versus the plasma 6 edit mode and the sorely missed option.

SUMMARY
in plasma 5 there was an option to allow windows to cover plasma panels. the option has since regressively been removed. 

STEPS TO REPRODUCE
1. Create panel
2. enter edit mode
3. attempt to select "windows can cover"
4. notice it is missing
5. panic

OBSERVED RESULT
this occurs in both wayland and x11. I'm assuming this option was just left out as a mere mistake, since I can't understand why such a nifty option has been removed. 

EXPECTED RESULT
the option should be available in the dropdown just as it has been since plasma 5. 

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:  EndeavourOS Linux x86_64 kernel 6.8.1-zen1-1-zen
KDE Plasma Version: 6.0.2
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2

ADDITIONAL INFORMATION
also I don't understand why the Kden Live icon is there in place of width icon...with my personal Icon set it makes no sense.
Comment 1 Niccolò Venerandi 2024-03-27 07:55:01 UTC
This has been removed intentionally as a result of a re-work of how the panel works; we decided to implement dodge-windows as a replacement for it.
Comment 2 benjamin weber 2024-03-30 17:49:25 UTC
Dodge windows is not currently a replacement for windows can cover. Dodge appears to autohide if windows are close, whereas windows can cover kept the panel visible behind.

Take this example https://benjiweber.co.uk/b/allscreens.png 

This panel now either covers the bottom of the chrome window , or disappears completely, making it useless. Whereas before the chrome could cover the panel in one place and the large amounts of panel on either side remain well usable.
Comment 3 benjamin weber 2024-05-23 05:38:08 UTC
Any pointers for where the right place to look to re-implement this is? I'm having some difficulty navigating the codebase.
Comment 4 Niccolò Venerandi 2024-05-23 12:28:23 UTC
(In reply to benjamin weber from comment #3)
> Any pointers for where the right place to look to re-implement this is? I'm
> having some difficulty navigating the codebase.

It would require a significant re-work of how layershells work in kwin. I don't think there's an easy way to implement this.
Comment 5 benjamin weber 2024-06-21 13:09:07 UTC
n.b. the userdocs still reference this missing feature https://userbase.kde.org/Plasma/Panels
Comment 6 benjamin weber 2024-10-28 17:28:20 UTC
I've managed to restore the desirable behaviour of windows-can-cover by 

1. Setting the window type to Net::Normal instead of Net::Dock ( KX11Extras::setType(winId(), NET::Normal); )
2. Setting window state to Net::KeepAbove when edge is interacted with and clearing the state when mouse leaves ( KX11Extras::setState(winId(), NET::KeepAbove);  KX11Extras::clearState(winId(), NET::KeepAbove);

Code level patch is working fine for me but will require a bit more work to make it configurable. Before I invest that time what problems do you foresee with this approach?