Skip to content

input/dnd: read initial enabled state of input-builtin-drag-and-drop - #18475

Open
Akemi wants to merge 2 commits into
mpv-player:masterfrom
Akemi:mac_open_file2
Open

Akemi wants to merge 2 commits into
mpv-player:masterfrom
Akemi:mac_open_file2

Conversation

@Akemi

@Akemi Akemi commented Sep 12, 2026

Copy link
Copy Markdown
Member

just to fix the file loading case on macOS for the time being and to restore the previous behavior. this doesn't cleanup the discrepancies between the different file open events on macOS yet, mentioned in the other PR.

hope this change is more acceptable for now and we can get rid of a blocker for a new release.

Alternative to #18225
Fixes #17921

Comment thread input/dnd.c Outdated
drag and drop is enabled by default in the options, but disabled in the
dnd handling in code before the initial property change event was
dispatched. leading to ignored dropped-files events when dispatched too
early.

Fixes mpv-player#17921
this is a shortcoming of cocoa, so clarify this behavior till it can
be fixed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

won't play when launched from Finder

2 participants