u8sand / Baka-MPlayer

The libmpv based media player
https://u8sand.github.io/Baka-MPlayer/
GNU General Public License v2.0
433 stars 93 forks source link

can't remember the last window's size #185

Open 2alin opened 8 years ago

2alin commented 8 years ago

I'm on Ubuntu 15.04, and I just tried this player since yesterday (I was using SMPlayer +mpv) and I found it a pretty good option as default video player, but there was only one thing that really annoyed me. The player can't remember the window's size or if it was maximized in the last session. So, everytime I open a video (even the same one) it maps the window to an exactly fixed small size (1/4 of my screen or so). Furthermore, if I have the player maximized, go to fullscreen and then I get out from fullscreen; the player doesn't send me to the maximized mode again, instead it send me to small restored window.

u8sand commented 8 years ago

We used to remember the screen size but removed it in favor of the automatic FitWindow feature. I would recommend, if the videos you usually watch are much smaller than your screen--setting the autofit window percentage to be 200% or whatever tends to work. Please note that when your video is open you can automatically scale it proportionally to your screen with Alt+1/Alt+2/Alt+3/... (bigger).

I often find it more ideal to fit videos big and use the dim feature, my desktop is nicer than the black border of Baka MPlayer's maximized window. Have you used the FitWindow feature and do you still prefer maximizing and/or manual re-sizing?

2alin commented 8 years ago

Yup, I've been using FitWindow at 200% and Ctrl+D; some videos with 100% are enough, but some doesn't and I find it troublesome to change the percentage, even with keyboard shortcuts everytime I open a video. Your player is better than SMPlayer manipulating x265 videos and the audio in your player is better too, so I'm going to stick with it for a while.

But I still prefer the normal "remembering screen mode/size" feature, not all the videos that I have are 1080p or 720p, and for smaller ones 200% is not even enough to watch them in my monitor. Now, I think that it could be great to automatically enable "remembering screen" when the FitWindow feature is disabled. 646x400 is too small for screens with 1080p resolution. You could have both features in a single option.

Anyway, thank you so much. Your player is awesome, and even if it's not perfect, the way it handles x265 videos, the player's look, the features... makes me love it. Thank you!

duyfken commented 8 years ago

I have to agree it would be great to either have it remember "when the FitWindow feature is disabled" as 2alin mentioned or at least have some option to remember the previous window size. I previously used this on MPC-HC and bomi to set window size to 1280x720 on my 2560x1080 ultrawide (to take up half the screen and leave space for doing stuff as well) and having to resize the window every time is one of the frustrations preventing me moving from (the currently unmaintained) bomi to Baka atm.

u8sand commented 8 years ago

Should I also save position on screen, or just center it with your old size?

2alin commented 8 years ago

I think for a better wide range of personalization, it would be better to remember the position as well. Some people would love to put a file explorer at the left of the screen and the player at the right, while browsing videos in multiple directories, and remembering size/position will make the video browsing smooth as heck. And thank you for reading our opinions, u8sand.

my-life-is-confetti-zz commented 8 years ago

Using "View > FitWindow > size" works, but I am a bit confused why "View > AspectRatio > size" isn't constraining the window to the exact ratio you select. I feel it would make sense to snap all the borders to the selected Aspect Ratio. Also, couldn't the FitWindow and AspectRatio items be condensed into one menu? Logically you would be "Fitting Window" to a percentage or available aspect ratio. It seems like excess to have them split apart into two menus.

goetzc commented 8 years ago

Also remembering if the window was maximized or not would be useful.

Why no instead of "Auto-Fit Window", an option "Window size" with % options and maximized, and last size.