mpv icon indicating copy to clipboard operation
mpv copied to clipboard

no shortcut key to enter [native] fullscreen mode under OS X

Open cwbsw opened this issue 11 years ago • 25 comments

There are two fullscreen behaviors under OS X. When pressing "k", mpv will playback in the current desktop. When clicking the fullscreen button at the upper left corner, mpv will playback in a new desktop, like other application's fullscreen mode. But no key binding could handle it.

cwbsw avatar Oct 04 '15 09:10 cwbsw

Uh ... the "OS X fullscreen mode" has been removed months (or years?) ago and the k key is assigned to something entirely different by default and the green button should only "maximise" the window. f gets you into normal fullscreen.

ChrisK2 avatar Oct 04 '15 10:10 ChrisK2

@ChrisK2 Sorry, I made a mistake in the first post. It is "pressing f ", instead of "pressing k". I mean, the green button still works in the current version of mpv. Its default behavior is entering fullscreen mode, not "maximizing" the window. But no shortcut key.

cwbsw avatar Oct 05 '15 02:10 cwbsw

According to the reference, ⌘+f should toggle fullscreen mode. If that's not the case then we have a doc bug.

brunal avatar Oct 13 '15 10:10 brunal

@brunal When pressing ⌘+f, nothing happen.

cwbsw avatar Oct 13 '15 13:10 cwbsw

It should just do the same thing as f anyway. I suspect your mpv version is heavily outdated.

ChrisK2 avatar Oct 13 '15 13:10 ChrisK2

@ChrisK2 No, it's 0.11.0 and OS X 10.11.

cwbsw avatar Oct 13 '15 13:10 cwbsw

So .. uh ... on 10.11 the green button makes mpv go full screen on a new space although mpv doesn't support this itself? Is that new? Can someone confirm?

ChrisK2 avatar Oct 13 '15 20:10 ChrisK2

Yep, it seems like it. It should be new, I'm pretty sure it didn't work like this in Yosemite.

ArPrt93 avatar Oct 13 '15 20:10 ArPrt93

Okay and Window -> Zoom (⌘Z) just does the old window "maximize" I guess?

ChrisK2 avatar Oct 13 '15 22:10 ChrisK2

@ChrisK2 I'm not sure if it's new, because I have no older OS X and mpv versions to test. But at least under OS X 10.11 and mpv 0.11, Window -> Zoom (⌘ + z) or ⌥ + green button "maximize" the window, green button makes mpv go full screen on a new space like other native OS X applications, it also supports OS X 10.11's new feature split view. So please just bind green button to a shortcut key like ⌘ + f.

cwbsw avatar Oct 14 '15 01:10 cwbsw

Yes, it's new behavior in El Capitan, it doesn't happen in Yosemite. Works on older versions of mpv too.

Fyi, the standard way of doing this is to have a View menu, with a menu item Enter Full Screen, and the keyboard shortcut ^ ⌘ F (control-command-F).

Personally I prefer the normal f fullscreen, with its ability to black out the secondary monitor. I suppose they could co-exist.

sumyungguy avatar Nov 25 '15 16:11 sumyungguy

I came across this thread while looking for a way to use OS X' full-screen mode instead of the current implementation. On Mavericks there is no way to use it: no button in the window, no menu entry and the above-mentioned keyboard shortcuts don't work. Have I understood this correctly: this feature was intentionally removed?

Eitot avatar Dec 04 '15 21:12 Eitot

Yes, it never worked properly.

ChrisK2 avatar Dec 05 '15 13:12 ChrisK2

This is exactly what I have been looking for. My issue is that under the current full screen implementation, the video would be kinda laggy. It seems like it has something to do with the dock, because if I use the green button to enter the native mac full screen, the video is nice and smooth, no issue.

The difference I figure is that under the native full screen the dock won't show up no matter what, but under the current implementation, the dock will pop up if I move my mouse to the side it locates. The reason of the laggy issue could be something else, but a native full screen shortcut would be nice. Though I like the current implementation, too.

wygsephi avatar Dec 26 '15 02:12 wygsephi

Really hoping to have a handy shortcut to enable native macOS fullscreen like "f" do for the normal fullscreen. Possible to implement?

martinoturrina avatar Jul 11 '16 16:07 martinoturrina

Being able to use macOS native full screening has the advantage of being able to use split-screen. I.e. drag another app on the space occupied by mpv and it plops on its side. You can then adjust the relative size of the split by dragging the dividing line and plop both apps out of full-screen mode by clicking on the top left corner of the icon in mission control top bar.

That said, having both options would be great still, not advocating for removing features here.

ear avatar Oct 13 '16 16:10 ear

@ear You already have both options. Native full screen works fine, click the green button at the top left of the window.

This issue is about getting a keyboard shortcut for it. Normally that's ^ ⌘ F in macOS, but it doesn't work in mpv. So for now, just click the button.

sumyungguy avatar Oct 13 '16 20:10 sumyungguy

Oh cool, I had not noticed because I use mpv without any chrome, the window is prettier this way 😃

Is it possible to add such a binding through the configuration file?

ear avatar Oct 14 '16 13:10 ear

No, it's not - that's basically the point of this feature request.

sumyungguy avatar Oct 14 '16 15:10 sumyungguy

I use 'no-border' because this looks so cool and the gray border doesn't match the white OS X. But here is the problem. When the title is hidden, the green button disappears too. So I'm not able to get native fullscreen by clicking the button. A keyboard shortcut will be helpful.

ghost avatar Oct 19 '16 02:10 ghost