iina / iina

The modern video player for macOS.
https://iina.io
GNU General Public License v3.0
38.08k stars 2.56k forks source link

When automatically switching to Music Mode with the artwork hidden, most of the window goes offscreen #3058

Open ErikMinekus opened 4 years ago

ErikMinekus commented 4 years ago

System and IINA version:

Expected behavior:

The mini player window should not go offscreen.

Actual behavior:

After IINA switches to the mini player, frame.origin.y is -50. This occurs in toggleVideoView in MiniPlayerWindowController.swift, which is called from switchToMiniPlayer in PlayerCore.swift.

Steps to reproduce:

How often does this happen?

Always

tertiumsquid commented 3 years ago

Same problem happens for me. Beta 1.2.0 build 129, tried latest nightly. Currently on macOS 10.11.6 on a 2008 iMac but was also having the problem on a 2010 Mac Pro on High Sierra. Doesn't seem to matter what I set Initial Window Position to or whether I set "Automatically switch to Music Mode" as manually entering Music Mode does the same thing. Also, for me, hiding the playlist fixes the problem.

ArttuLai commented 2 years ago

+1. I noticed that the window also seems to jump off screen or just jump to a random position on subsequent launches if automatic Music Mode is turned on AND the album art is disabled. This can be mitigated by enabling album art.

The initial window position setting doesn't affect it (it jumps to random position wether I define an initial window position or just turn the setting off). Hiding or showing playlist has no effect.

App version 1.2.0 Build 129, Monterey 12.2 Beta (21D5025f). Thought I'd just post a video to add some activity on this issue 🙂

https://user-images.githubusercontent.com/42007282/148599604-15db6d49-2ac2-44a4-9b49-1f80e66f2f8c.mp4