-
Notifications
You must be signed in to change notification settings - Fork 75
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
Topbar won't hide automatically after entering fullscreen #880
Comments
We already do Lines 425 to 430 in 6fa34c3
Don't know what else we can do. Or do you mean that the cursor is at the top of the screen, and when the mpv gets fullscreened, the top bar lands below it, then mpv sends us the new cursor position, so the top bar becomes visible? |
Yeah I do check the function there. It's odd that it doesn't work for Mac. recording2.mov |
5.0.0 works well. I'll try to trace deeper. |
26d71a8 It broke the behav on Mac. |
Is that new? There have been a lot of changes to the mac code in mpv lately. |
Those commits doesn't have effect on this issue. Tested both with mpv0.36 --- master. |
Since that commit, we're firing |
Idk if this will help here, but maybe logging when which property changes helps in figuring out what's different on mac. do
local msg = require('mp.msg')
local utils = require('mp.utils')
do
local orig_fn = mp.observe_property
mp.observe_property = function(name, _type, callback)
orig_fn(name, _type, function(pname, val)
msg.info("[logreplay][observe_property]", pname, utils.format_json(val))
callback(pname, val)
end)
end
end
end Putting this at the start of main.lua should end up logging all property change callbacks. |
It appears many times. |
How come
It's also interesting how on mac changing fullscreen resizes the window a bunch of times. Meanwhile on kwin wayland it immediately changes to the final size and the upscale animation is only scaling of the texture. |
Does that get run in the case mpv starts in fullscreen? I often start videos without a mouse at hand and get stuck with the title. |
That runs every time the |
Reproduced on Mac : If the cursor is near the topbar before cycling fullscreen...
The text was updated successfully, but these errors were encountered: