osc-scalewindowed and osc-scalefullscreen are unreliable/glitchy #3429

Closed
dardoor opened this Issue Aug 17, 2016 · 3 comments

Projects

None yet

4 participants

@dardoor
dardoor commented Aug 17, 2016

mpv version and platform

mpv 0.19.0-git-ef2d6ed, Windows

Reproduction steps

  1. --script-opts=osc-scalewindowed=2,osc-scalefullscreen=1 in mpv.conf
  2. open a video windowed
  3. go fullscreen
  4. go back to windowed (exit fullscreen)

Expected behavior

It scales 2x when windowed and 1x when full screen.

Actual behavior

It scales correctly the first time (when opening a file windowed), but later it mostly reverts to default scaling when windowed. Also when full screen it often scales incorrectly (2x).

It's not a big deal for me, because I eventually switched to osc-vidscale=no, but anyway.

@ChrisK2 ChrisK2 was assigned by wm4 Aug 17, 2016
@wm4
Member
wm4 commented Aug 17, 2016

So what does "later" mean? When you resize the window manually?

@dardoor
dardoor commented Aug 17, 2016 edited

Ah, sorry. I meant when I go fullscreen and windowed several times (pressing F, for example).

@dragons4life
dragons4life commented Sep 19, 2016 edited

This is happening to me with the Sourceforge builds (haven't check the official builds, but I did compiled it myself and updated it to the last version and it worked fine)
https://sourceforge.net/projects/mpv-player-windows/

https://i.lithi.io/2DA2h.webm - sourceforge
https://i.lithi.io/ESmD.webm - compiled with mingw(it happens here once when I go fullscreen)
https://i.lithi.io/6tlkv.txt - log.txt (sourcefoge)
https://i.lithi.io/7tyj.conf - mpv.conf

Compare to him though, I am using osc-vidscale=no and it still happens.

script-opts=osc-layout=box,osc-timetotal=no,osc-minmousemove=0,osc-seekbarstyle=bar,osc-hidetimeout=200,osc-fadeduration=175,osc-deadzonesize=1,osc-vidscale=no,osc-scalefullscreen=1.6,osc-scalewindowed=0.8,osc-boxalpha=50,osc-valign=0.9,osc-seekbarstyle=bar

@wiiaboo wiiaboo added a commit to wiiaboo/mpv that referenced this issue Sep 25, 2016
@wiiaboo wiiaboo osc: Fix scaling issues when toggling fullscreen
Fixes #3429
8ebf28d
@wm4 wm4 closed this in 29d74ca Sep 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment