Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

Fix #4300 by preventing 'will-navigate' event from firing - #9101

Merged
kevinsawicki merged 1 commit into
masterfrom
tj-fix-dragging-and-dropping-files
Oct 12, 2015
Merged

kevinsawicki merged 1 commit into
masterfrom
tj-fix-dragging-and-dropping-files

Conversation

@thomasjo

@thomasjo thomasjo commented Oct 9, 2015

Copy link
Copy Markdown
Contributor

According to #4300 (comment) preventing the will-navigate event from firing/propagating will resolve the file dragging and dropping problem reported in #4300.

I've been unable to reproduce the problem on OS X, so I'm unsure if this actually fixes it or not. Will test on a VM in the morning (UTC) unless someone can verify that this fixes the problem.

In addition I wasn't sure whether we wanted to add the event subscription in atom-window.coffee or atom-application.coffee.

/cc @atom/feedback


Fixes #4300 (unverified)

@maxbrunsfeld

Copy link
Copy Markdown
Contributor

👏

@zcbenz

zcbenz commented Oct 10, 2015

Copy link
Copy Markdown
Contributor

👍

kevinsawicki added a commit that referenced this pull request Oct 12, 2015
Fix #4300 by preventing 'will-navigate' event from firing
@kevinsawicki
kevinsawicki merged commit 21d11da into master Oct 12, 2015
@kevinsawicki
kevinsawicki deleted the tj-fix-dragging-and-dropping-files branch October 12, 2015 19:01
@kevinsawicki

Copy link
Copy Markdown
Contributor

Thanks for this, I think this should definitely fix the issue.

@benogle

benogle commented Oct 12, 2015

Copy link
Copy Markdown
Contributor

Thanks for taking this on @thomasjo

@thomasjo

Copy link
Copy Markdown
Contributor Author

Thanks for taking this on @thomasjo

My pleasure 🙇

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Dragging and dropping a file from the file system occasionally opens it as Chromium instead of Atom

5 participants