Skip to content

Symlinks in recently opened files can cause duplicates in Welcome Window #3788

@svobs

Description

@svobs

System and IINA version:

  • macOS 12.4
  • IINA 1.3.0

IINA-InitialWindow-Screenshot

Steps to reproduce:

  1. In IINA Preferences > General, make sure "Enable playback history" and "Resume last playback position" are selected.
  2. In the terminal, copy a video into /tmp and change its permissions like this:
sudo cp myVideo.mp4 /tmp/myVideo.mp4
sudo chown `whoami` /tmp/myVideo.mp4

Then open it with IINA-cli:

/Applications/IINA.app/Contents/MacOS/iina-cli /tmp/myVideo.mp4

When it starts to play, quit IINA. Then open it again without a video file, so it displays the Welcome window.

Expected behavior:
Recent video appears first in the list with the option to "Resume"

Actual behavior:
Recent video appears first in the list with the option to "Resume", and again right below it.


Steps to reproduce:

How often does this happen?
Always for these paths.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions