Mpv: wayland: window has not border and title bar

Created on 16 Jul 2013  路  22Comments  路  Source: mpv-player/mpv

When using with weston-1.2.0 mpv has no window borders, no title bar with filename and buttons.

feature-request wontfix vowayland

Most helpful comment

wontfix? Ok, in two years, mpv is a dead project...

All 22 comments

I like to implement client side decorations, but for that I have to use the subsurfaces protocoll in weston.
I will look into it once I have more time.

Also, doesn't it depend on the compositor whether client side decorations are required or not?

Yes. I guess once it becomes mainstream there will be server side decorations, just like in x11, to have a more consistent look.

I won't add client side decorations in the near future, because the subsurface protocol extension is still not in the core protocol and it would add dependencies on cairo or any other toolkit I might use for drawing decorations.

I also heard they want to deprecate client side decorations?

In any case, depending on cairo or gtk or qt just for decorations would be major bloat.

GTK/Qt is very unlikely, but cairo or any other drawing library would be sufficient for just border and buttons.

They also won't deprecate client side decorations. I guess in the future the will there will be a gnome compositor and a kde compositor that will provide server side decorations that will look native. The gtk client side decorations are already themeable which would make mixing gtk and qt applications also painless.

The gtk client side decorations are already themeable which would make mixing gtk and qt applications also painless.

Always requiring server-side decorations would get them rid of this non-sense.

I think using cairo is fine: weston example apps use it, gtk+2,3 require it, most users of wayland most likely have it installed.

I will probably have time in October to add a prototype of client side rendering, but no promises. I also still have a barely working code for Wayland/SHM backend which I could also pick up again.
The problem still remains that this will add further dependencies, but we could add a switch --enable-wayland-csd to solve this.

Resizing, moving and closing is already possible without any decorations.

Anyway, I am going to wait for the first KDE and Gnome releases with their own compositor to see how the server side decorations will work and if client side decorations have any use at all.

Never going to happen until there is some really basic library for adding window borders and other stuff. Because this needs some serious work for input regions and drawing the borders. i don't feel like investing the work needed for this.

mpv on Fedora 24 with Gnome 3.20 under Wayland still lacks a border and title bar. I don't know if anything has changed since 2014 that would make it easier to implement now?

I don't know if anything has changed since 2014 that would make it easier to implement now?

No. You can use the mpv X11 backend instead.

wontfix? Ok, in two years, mpv is a dead project...

In two years, every compositor will be able to draw server-side decorations.

So far, still nothing :-P
so ~10 month left

But so far MPV is the only software, that has this issue for me.

@DooMMasteR update your garbage compositor, GTK implemented the server side decoration protocol. Guess haasn was right, huh?

yeah, but the current state on an Ubuntu 17.10 machine ist still: no decorations unless gnome-mpv is used which still has no OSD-Control-UI

You can enable OSD in gnome-mpv in settings (you can pass options to mpv), just google it.

but not disable the slider again :-P
it is still crippled for me with Gnome 3.26.1 compared to Xorg

also the windows are still click through :-P

yeah, but the current state on an Ubuntu 17.10 machine ist still: no decorations unless gnome-mpv is used which still has no OSD-Control-UI

You using outdated software is not upstream mpv's problem.

BTW, Gnome on wayland is broken until Gnome 4...: slow effects, slow mouse pointer, ...

ahh so the maintainer of MPV might be to blame?

Ubuntu 18.04 will get GNOME 3.28 so I don't expect any improvement on that end. But I might try using a newer version and see if the issues are fixed, maybe even poke the package maintainer.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

laichiaheng picture laichiaheng  路  3Comments

yuvadm picture yuvadm  路  3Comments

ghost picture ghost  路  3Comments

WoLpH picture WoLpH  路  3Comments

xanadupark picture xanadupark  路  3Comments