mpv icon indicating copy to clipboard operation
mpv copied to clipboard

Can we have a "Remember Window Size and Position" setting = yes/no?

Open Pentaphon opened this issue 2 months ago • 7 comments

Expected behavior of the wanted feature

I know about geometry and autofit and there was an issue that asked for my setting at https://github.com/mpv-player/mpv/issues/3201 but the user closed it after accepting geometry and autofit as an acceptable solution.

However, I'd like to ask for the actual setting to be added, because for me, it is much easier to change "no" to "yes" in such a setting that actually remembers my last used window size and position instead of a predefined value, especially because it accomplishes more than an pre-defined value does by remembering my window size and position as I change it from time to time.

Can we have such a setting added to mpv? Something along the lines of --rememberwindowsizeposition=yes/no?

Alternative behavior of the wanted feature

No alternatives considered because the setting proposed is simple enough.

Log File

N/A

Sample Files

N/A

Pentaphon avatar Oct 25 '25 16:10 Pentaphon

isn't that something your OS should be doing for you? Mine does.

Image

CounterPillow avatar Oct 25 '25 17:10 CounterPillow

isn't that something your OS should be doing for you? Mine does.

Again, pre-defined values are not the same as automatically remembering the last place and size and put the mpv window. I consider it a useful feature worth adding.

Pentaphon avatar Oct 25 '25 17:10 Pentaphon

mpv.net has this feature, it saves data for various features in an XML file (.NET didn't support JSON back then, now it does).

I don't remember if the feature was requested or if I added it without request.

I think that for a certain amount of users it can be helpful, probably not many though.

MPC-BE (Windows only), which is easily the second-best player after mpv, supports it too.

stax76 avatar Oct 27 '25 08:10 stax76

+1

zhouxinghong avatar Oct 27 '25 10:10 zhouxinghong

MPC-BE (Windows only), which is easily the second-best player after mpv, supports it too.

MPC-BE has many vulnerabilities and its developers are very rigid. Many community enthusiasts have contributed fixes and improvement patches, but they never accept them.

Therefore, using MPC-BE is not recommended.

You can choose PotPlayer, the most user-friendly media player for Windows. It inherits all the advanced features of MPC-BE and also implements its own unique features, surpassing all other current players. It's incredibly stable and has a very active and well-maintained development team, which is unmatched by any other media player.

zhouxinghong avatar Oct 27 '25 10:10 zhouxinghong

mpv.net has this feature, it saves data for various features in an XML file (.NET didn't support JSON back then, now it does).

I get that but this is a basic feature worth having on all platforms. I'm surprised mpv didn't already have it when I needed it.

Pentaphon avatar Oct 27 '25 18:10 Pentaphon

MPC-BE (Windows only), which is easily the second-best player after mpv, supports it too.

MPC-BE has many vulnerabilities and its developers are very rigid. Many community enthusiasts have contributed fixes and improvement patches, but they never accept them.

Sounds like the ass clown who made VLC Shittier Player

Digita1Menace avatar Nov 13 '25 17:11 Digita1Menace