[Plasma 6.2] Panel Auto-Hide Behavior

Hey guys. I’ve got a quick questions about the behavior of panels in Plasma 6.2.0.

My current setup looks similar to how the dock in macOS might appear (floating, centered on the bottom, etc.). There are only a few things on the panel so it does not take up the whole width of the screen.

The specific behavior that I am looking to get with this panel is to have it pop up (appear) whenever my cursor touches the bottom edge of the screen, regardless of whether the dock is where my cursor is on the bottom edge. Currently, the panel only appears if my cursor touches the bottom edge of the screen near the center, where the panel sits. I use macOS about 50% of the time and this is one of those features I would really like to figure out in Plasma 6.

Does anyone know of a way to achieve this panel behavior? Is it even possible?

Thanks!

Edit:

Here’s a visual example of what I’m looking to do.

panel

The only thing that would look different here is that the application launcher would not be present when my cursor touches the bottom of the screen.
This recording was achieved by setting up a screen edge that opens the application launcher.

I don’t think you can do that, but touching the Meta key should open the menu bringing up the panel with it - and in edit mode, you could set a ‘panel’ shortcut - something like Meta+X or something would do it.

Your best bet is to use a custom dock application.

Plasma Panels in my opinion are pretty unpolished, if you are able to, try using a dock instead of a panel.

If you’re using X11 you can use Plank, if you’re using Wayland you can use Crystal Dock.

Both of these are customizable and have macOS inspired themes.

Ahh, that’s a shame. Thanks for the advice!

Yeah I definitely agree with you there.

Thanks for the recommendations!

This is my understanding of how the feature works so correct me if I am wrong.

Looking at the code it seems the Panel it creates its own screenEdge plasma-workspace/shell/panelview.cpp at 93d96c8e58edeb5df1665c5a5247b97723b5fe40 · KDE/plasma-workspace · GitHub which is a KWin effect that allows triggering action when the mouse hovers over the screen edges/corners screenedge.cpp, in this case making the panel visible.

So it seems for this to work the panel would need to request a bigger area where the gesture will be triggered.

One thing I wonder is how this would work if there are more than one panel on the edge of the screen.

Also wonder if this could be triggered instead from a KWin script, though at first glance the Plasma Scripting API doesn’t seem to allow triggering a panel.

Edit: fount the relevant bug report [wishlist] 464856 - Non-maximized auto-hidden Panel should un-hide when cursor moves to any part of its screen edge, not just the part of the edge that’s over the panel