-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When osc visibility is set to always, apply margins to show select menus above it #302
Comments
Test script: osc_margins/modernz.lua Changes:
|
This comment was marked as resolved.
This comment was marked as resolved.
Updated: osc_margins/modernz.lua Changes:
|
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
Indeed. Updated: osc_margins/modernz.lua Changes:
|
This comment was marked as resolved.
This comment was marked as resolved.
Updated: osc_margins/modernz.lua Changes:
|
I'll wait a day or so before merging, just to make sure everything is working well. |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
Updated: osc_margins/modernz.lua Changes:
|
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
osc.lua also sets margins only with Not hiding the OSC with |
Updated: osc_margins/modernz.lua Changes:
|
Updated: osc_margins/modernz.lua Changes:
|
Flawless 🙌🏻 |
Updated: osc_margins/modernz.lua Changes:
|
Is it possible to have something like this even with visibility set to auto? Right now they overlap pretty badly |
That shouldn't be happening. If I had to guess, you just need to update mpv and/or The behavior is that when you click to show a select menu, it hides the osc until the menu is closed, as shown here: |
It may have something to do with the flatpak version of mpv. Thank you I will look into that |
Before you find an alternative method to update mpv, try updating Simply place them in your scripts folder: (from mpv's repo) |
That video is from before I added mouse support to console. |
As far as I know, that's not officially maintained by mpv team and is far behind the current mpv master release. I discussed mpv updates over flatpaks on irc. It was a casual discussion, but maybe in the future mpv will introduce more binaries (deb, rpm...etc) or flatpak Most of the Linux users I've seen tend to use |
I tried but it doesn't work :( |
I don't have mouse support neither so I guess it's really because I have those 2 files outdated |
I tried quickly but I got some compilation errors, I will try again when I have more time. Thank you for your help anyway. |
You need to set |
Now it doesn't work at all and shows these errors
Anyway don't worry i rarely change subs or language so it doesn't affect me much. |
If you want, until you update mpv, put this in your title_mbtn_left_command=show-text ${filename}
playlist_mbtn_left_command=show-text ${playlist} 3000
audio_track_mbtn_left_command=cycle audio
sub_track_mbtn_left_command=cycle sub
chapter_title_mbtn_left_command=show-text ${chapter-list} 3000 At least it'll give you some functionality (like changing sub/audio) instead of a buggy behavior. |
Yeah console depends on |
Tehehe. |
Thank you very much! |
I added notes about it, for future reference if it's ever needed |
Just a little follow up. I switched to Arch Linux and tried with the official package but i was still getting the same problems (I assumed the Arch package was updated and it looks so) so I tried mpv-build as you suggested and now it works perfectly. In conclusion I think having mpv 0.39 is not enough and probably not even 0.39.4 since it's the one in Arch repository. |
On arch you can just install |
I tried |
Expected behavior of the wanted feature
At the moment, all the interactive menus
console/select
force the OSC to hide.It was implemented like that so that
console
orselect
don't overlap with the OSC itself. It works, but it's not the best solution.A better implementation is to introduce osc margins, so that it draws console/select above the OSC if it's visible, and once OSC hides, it moves down.
This follows mpv's stock OSC implementation, and we wouldn't need to assign a
z
depth of-1
to draw the osc behind everything.Which should also follow the pending PR at mpv to improve
console/select
: mpv-player/mpv#15676The text was updated successfully, but these errors were encountered: