Skip to content
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 · Fixed by #3894
Closed

No app icon when mpv started in fullscreen #2229

pavelxdd opened this issue Aug 16, 2015 · 1 comment · Fixed by #3894

Comments

@pavelxdd
Copy link
Contributor

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

@pavelxdd
Copy link
Contributor Author

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:/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 Windows 10: no app icon when started in fullscreen No app icon when mpv started in fullscreen Sep 24, 2016
rossy pushed a commit that referenced this issue Dec 12, 2016
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
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant