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

No app icon when mpv started in fullscreen #2229

Closed
pavelxdd opened this Issue Aug 16, 2015 · 1 comment

Comments

Projects
None yet
2 participants
@pavelxdd
Contributor

pavelxdd commented Aug 16, 2015

If open video with --fullscreen on WIndows 10, there's no mpv icon near the window title.

@pavelxdd

This comment has been minimized.

Contributor

pavelxdd commented Sep 24, 2016

Currently this can be "fixed" using this lua script:

start_fullscreen = function(event)
    mp.unregister_event(start_fullscreen)
    if not mp.get_property_native("fullscreen") then
        mp.add_timeout(0.5, function()
            mp.set_property_native("fullscreen", true)
        end)
    end
end

mp.register_event("file-loaded", start_fullscreen)

Or, using this script: https://github.com/wm4/mpv-scripts/blob/master/auto-profiles.lua
add the following profile to the mpv.conf:

[auto-fullscreen]
profile-desc=cond:p.vo_configured
fullscreen

@wm4 is it possible to enter the fullscreen state after the window has been properly initialized, so there wasn't any need to use the dirty hacks I mentioned above?

@pavelxdd pavelxdd changed the title from Windows 10: no app icon when started in fullscreen to No app icon when mpv started in fullscreen Sep 24, 2016

@rossy rossy closed this in #3894 Dec 12, 2016

rossy added a commit that referenced this issue Dec 12, 2016

win32: window styles improvements
Allow minimizing the borderless/fullscreen window by clicking on the
taskbar button or pressing Win+Down hotkey.

Also fixes #2229 and probably fixes #2451
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment