-
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
Show window top bar when idle #251
Comments
Oh wow, I didn't even realize this doesn't show, even on stock osc! I wonder why. |
Yeah it's strange indeed; there's a feature request for it here: mpv-player/mpv#13167 |
This would actually be awesome. |
I second this. |
I'm still trying to figure out why mpv hasn't implemented this by default in |
True. Would be simple to port it over once they add it officially. |
Indeed. One of the main things I wanted to keep with ModernZ is that it's based on This specific feature would require a drastic change (osc render). Unless there is a simple way that my brain is unable to think of yet. |
There's another popular 3rd party OSC that implemented it, but I didn't look into how he did it. |
What's their repo link? I'd love to see their implementation. |
Ohh. Yeah. To be very frank, uosc is an amazing implementation as an osc overall that broke the osc standard and went over and beyond. It is the closest thing to a GUI toolkit yet it's just an OSC. To be clear, this feature is doable. A simple (broken) example, in the tick function: Lines 3112 to 3117 in 80ea6b7
It controls osc render: Lines 3162 to 3170 in 80ea6b7
Changing this only shows it (broken) with osc in idle: end
+ end
- elseif (state.fullscreen and user_opts.showfullscreen)
+ if (state.fullscreen and user_opts.showfullscreen) Obviously it's broken here because it's essentially ticking render constantly, but it shows you why the osc would need many changes.
The end result though would be many changes that would break the "based on osc.lua" thing. I think this is me hesitating because of paranoia and false set of standards. Also, I'm almost certain there is even a simpler way to do this that my brain is just not picking up lol. |
Damn. That could explain why it hasn't made it into mpv yet because of all the changes. Probably not a lot of discussion around it either. Should we close and re open it later once it's added? |
I don't mind leaving it open, since the same mpv issue has been open for over a year now. Maybe this will allow it to be discovered more and someone shares an input or an idea that make the implementation of this feature not so complicated.. |
Expected behavior of the wanted feature
Enable
window_top_bar
functionality when mpv is on idle screen (no file loaded).The text was updated successfully, but these errors were encountered: