Bug 475563 - Panel in "Windows Can Cover" mode disappears in Wayland
Summary: Panel in "Windows Can Cover" mode disappears in Wayland
Status: RESOLVED UNMAINTAINED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (show other bugs)
Version: master
Platform: Other Other
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: wayland
Depends on:
Blocks:
 
Reported: 2023-10-13 12:02 UTC by Matthias
Modified: 2023-10-23 19:02 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
panel and widgets (4.38 KB, image/png)
2023-10-13 12:02 UTC, Matthias
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias 2023-10-13 12:02:42 UTC
Created attachment 162274 [details]
panel and widgets

I have three panels, which are all set with the following properties: 

* Windows can cover
* Float
* Adaptive opacity

One is on the bottom as a dock, the second on the top left, and the third on the top right. 
The bottom one is aligned to the center, the top left one on the left, and the top right one to the right. 

The top right panel appears to crash sometimes. 

It contains the systray and "Window buttons", no other widgets. 
It reappears when I issue the command `plasmashell --replace`

I am on Wayland.

Operating System: Garuda Linux 
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.110.0
Qt Version: 5.15.11
Kernel Version: 6.5.6-zen2-1-zen (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i5-6200U CPU @ 2.30GHz
Memory: 7,4 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 520
Manufacturer: HP
Product Name: HP EliteBook 820 G3

ADDITIONAL INFORMATION
Comment 1 Matthias 2023-10-13 12:04:33 UTC
I suspect this could be caused by the third party "Window buttons" applet: 

https://github.com/psifidotos/applet-window-buttons/issues/207

I will try to reproduce the crash and read the backlog.
Comment 2 Matthias 2023-10-13 12:13:33 UTC
This is my backlog

https://paste.ee/p/7X9EV

I cannot see any crashes in it
Comment 3 Nate Graham 2023-10-13 20:56:43 UTC
Panels can't crash; all of Plasma can though. When you say the panel crashes, do you mean that it disappears, but other panels remain visible?

Does it stop happening if you remove the 3rd-party widget from it?
Comment 4 Matthias 2023-10-17 07:01:24 UTC
Hi Nate :-)

Yes, the panel disappears and all the others stay alive. 

I suspected it might not crash, but I did lack the term to describe it otherwise. 
So what could be the issue for it disappearing?

I will try to test to run the third party widget in a dedicated panel, it could take a while, though.
Comment 5 Matthias 2023-10-21 08:57:40 UTC
I got it to disappear on its own. 
It seems highly likely, to be caused by this application. 

I guess by that, its up to the widget?
Comment 6 Matthias 2023-10-21 12:06:28 UTC
I think this is yet another issue, that only happens with "windows can cover"

Lots of issues appear only with this setting, I suspect it has not been updated yet to work with Wayland.
Comment 7 Nate Graham 2023-10-23 18:22:33 UTC
I'm afraid the "Windows Can Cover" Panel visibility mode has been removed for Plasma 6 and we aren't planning to bring it back. In its place, we plan to implement an "intelligent auto-hide" or "dodge windows" mode, per Bug 349785. This should hopefully be much better than "Windows Can Cover" ever was, and offer support for its use cases.

Thanks for your understanding!
Comment 8 Matthias 2023-10-23 18:49:04 UTC
Ah, that explains why lots of issues occur with that setting. Did I miss the announcement about that deprecation?
I could have saved a bit of time, if I new that is effectively EOL. 
Thanks a lot!
Comment 9 Nate Graham 2023-10-23 18:56:17 UTC
Consider this the announcement. :) The decision was made only very recently. It's not going to be removed for Plasma 5, only Plasma 6, which will be released in 4 months.
Comment 10 Matthias 2023-10-23 19:00:45 UTC
So in Plasma5, it will remain broken?
Comment 11 Nate Graham 2023-10-23 19:02:55 UTC
Yeah.