Skip to content

[Wayland] Menu positioning on the screen is broken #176

@probonopd

Description

@probonopd

The menu is placed at the center rather than at the top of the screen.

The panel in Raspberry Pi OS (which seems to work in X11 and Wayland session) apparently uses Layer Shell, a Wayland protocol for desktop shell components, such as panels, notifications and wallpapers.

Unfortunately the iplementation in Raspberry Pi OS is GTK specific. In X11, telling a window to be at the top of the screen was entirely toolkit agnostic.

https://github.com/raspberrypi-ui/wf-panel-pi/blob/21b2e67f0bd44e8066c63c192884b9410ac983bf/src/panel/panel.cpp#L215-L221

There seems to be a Qt specific implementation:
https://github.com/KDE/layer-shell-qt

Metadata

Metadata

Assignees

No one assigned

    Labels

    waylandWayland breaks working software by mandating new concepts, leaving it to others to fix the breakage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions