libs-back icon indicating copy to clipboard operation
libs-back copied to clipboard

NSMacintoshMenuStyle drawn in center of screen on Wayfire/Wayland

Open DMJC opened this issue 11 months ago • 5 comments

When running GNUstep applications on Wayfire/Wayland, the Menus always draw in the center of the monitor and not at the top of the screen like they do on X11.

Example Image: image

DMJC avatar Jan 03 '25 21:01 DMJC

Just to make sure. Is this behaviour with the X11 backend or with the experimental Wayland backend?

fredkiefer avatar Jan 04 '25 12:01 fredkiefer

It's the experimental wayland backend.

On Sat, 4 Jan 2025 at 23:14, Fred Kiefer @.***> wrote:

Just to make sure. Is this behaviour with the X11 backend or with the experimental Wayland backend?

— Reply to this email directly, view it on GitHub https://github.com/gnustep/libs-back/issues/55#issuecomment-2571277895, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFS2Y7B45ADL5Z3WOE6EHT2I7JRBAVCNFSM6AAAAABUSKZVZSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNZRGI3TOOBZGU . You are receiving this because you authored the thread.Message ID: @.***>

DMJC avatar Jan 04 '25 18:01 DMJC

Not every compositor does this. Others like Hikiri, and Hyprland render it at the top perfectly fine. There are issues to fix like buttons not working, menus crashing when GNUstep/Library/Services is populated that I am looking into.

Image

Image

pkgdemon avatar Mar 15 '25 01:03 pkgdemon

I've moved to labwc, it's much better. I'm mostly running into window/buffer teardown stability issues on Wayland now.

DMJC avatar Aug 30 '25 05:08 DMJC

custom element positioning it is supported through wlr layer shell protocol that many compositors support but not all of them you can check here: https://wayland.app/protocols/wlr-layer-shell-unstable-v1

nongio avatar Aug 30 '25 09:08 nongio