jellyfin / jellyfin-media-player

Jellyfin Desktop Client
GNU General Public License v2.0
2.87k stars 297 forks source link

Windows: Moving window out of displayable boundary results in freezing #665

Open misterkiem opened 1 month ago

misterkiem commented 1 month ago

Bug

When moving the player out of bounds of the displayable boundaries of Windows, the player becomes unresponsive / glitchy, and will freeze in its off screen position. This usually lasts around 500ms when no video is playing. When video is playing, the freezes become longer, and the player can potentially crash, though playback continues throughout the freeze

To Reproduce

  1. Open player
  2. Grab and hold click on title bar to move window
  3. While holding the LMB down, drag the window so a portion of it is out of bounds of the displayable screen space (left, right, bottom)
  4. Move it around a bit while keeping it out of bounds, Keeping LMB down
  5. Window will 'freeze' in position even though mouse remains responsive, after it unfreezes the window snaps to the current mouse position

This behavior triggers seemingly randomly, but consistently, whenever window is out of display boundary. It does not occur if the window is in between monitors, only when it is out of bounds of displayable area. It also doesn't trigger when moving the Title Bar outside of the top boundary. Only the actual window content

Expected behavior

Window remains responsive through out move operation, no freezes occur

Desktop (please complete the following information):