Skip to content

Open Recent menu cleared with each new build #4688

@low-batt

Description

@low-batt

System and IINA version:

  • macOS 14.1.1
  • IINA develop

Expected behavior:
The list of recent files in the Open Recent menu item under the File menu is only cleared when the user clicks on Clear Menu.

Actual behavior:
Running an IINA executable built with Xcode 15.0.1 under macOS 14.1.1 clears the list of recent files. After that the Open Recent menu item works as expected. However if a source is modified and IINA is rebuilt, then the list will be cleared again when the new executable is run.

Steps to reproduce:
Under macOS Sonoma 14.1.1 and using Xcode 15.0.1 follow these instructions:

  • Start the released version of IINA

  • Play a video

  • Open the File menu and move the cursor over the Open Recent menu item

  • Notice the video is listed in the Open Recent menu item

  • Quit the released version of IINA

  • Run IINA from Xcode

  • Open the File menu and move the cursor over the Open Recent menu item

  • Notice the list is empty

  • Play a video

  • Open the File menu and move the cursor over the Open Recent menu item

  • Notice the video is listed in the Open Recent menu item

  • Quit the develop version of IINA

  • Modify a source

  • Run IINA from Xcode

  • Open the File menu and move the cursor over the Open Recent menu item

  • Notice the list is empty again

  • MPV does not have this problem.

It does not support Open Recent.

How often does this happen?
Every time a new executable is run.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions