Closed tonycpsu closed 4 years ago
Not really a bug. By default, the windowcontrols is activated if --no-border
is given which displays the title at the top. If you want to disable it, you could use --script-opts=osc-windowcontrols=no
. Of course, maybe this is an argument for it to be possible to show the windowcontrols but without the extra title at the top.
I thought about this when I wrote the code, but I decided not to - as it would require more special case code and it doesn't save any space. If you remove one of the names, you don't get any space back.
--script-opts=osc-windowcontrols=no
seems to interfere with --script-opts=osc-visibility=always
. If I enable the former, I have to move the mouse to see the OSC, even though --script-opts=osc-visibility=always
should keep it on at all times. So I don't think that's a good workaround in this case.
doesn't save any space. you remove one of the names, you don't get any space back.
Sure, but you also don't have two titles covering portions of your video for no good reason.
--script-opts=osc-windowcontrols=no seems to interfere with --script-opts=osc-visibility=always
It should be okay if you use --script-opts=osc-windowcontrols=no,osc-visibility=always
.
That'll do.
duplicate of #7481.
To summarize:
--no-border
is used.${media-title}
and you can replace it with anything you want.script-opts
configurations, every one of them replaces (deletes) the previous one. If you want them to add up then you should either use several at the same option, or use --script-opts-add
.The OSC title area can be modified to not include a title, if you prefer using the title osc option. It defaults to
${media-title}
and you can replace it with anything you want.
Thanks for this advice, and I'm totally with this ticket being closed now that I have a workaround, but just for the record, replacing the title option with an empty string doesn't work -- it just goes to the default. This might be a useful change for anyone who wants to keep window controls when border is disabled but doesn't want title duplicated.
The OSC title area can be modified to not include a title, if you prefer using the title osc option.
windowcontrols
title logic is shared with whatever one have declared as title=
in osc.conf
.
Important Information
Provide following Information:
Reproduction steps
See:
vs.
Expected behavior
Title only appears in OSC, or perhaps an option to have it appear in OSC or at the top.
Actual behavior
Title is duplicated, once at the top, once as part of the OSC bar.