Weird drag and drop with Electron app
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- electron
- Domain
- desktop
Research direction
Start by reproducing the difference between debugging and the built Electron app when an OPML file is dragged onto the browser. Compare the built app's drag-and-drop handling with the behavior in Chrome and the OPML Editor. Done means the built app opens the dropped OPML file itself rather than launching the OPML Editor.
Written by the indexing model from the issue text.
Description
I want my Electron app to handle drag-and-drop from the desktop.
I want to drag an OPML file onto it, and have it open it.
I have done this before with Electron apps, for example Public Folder lets you drag a file onto it to upload it. It works.
In this case, it works when I'm debugging the app, but when I build the app, it launches the OPML Editor. This is so weird. When I drag an OPML file onto Chrome, it shows me the OPML source.
But when I do it with the browser inside Electron it opens it in the OPML Editor.
I figure I have something configured in the OS to make it do this, but I have no memory of doing it and no idea how it might have worked.
Any suggestions most welcome.
- Dominant language
- HTML
- Stars
- 134
- Forks
- 10
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from scripting/Scripting-News
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
scripting/Scripting-News#353 · 6 comments ·
-
Difficulty 1/5 Under an hour Newbie friendliness 75/100
scripting/Scripting-News#332 · 25 comments · 1 reaction ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
scripting/Scripting-News#362 ·
-
Matt is moved aside Open
Difficulty 5/5 Over a week Newbie friendliness 20/100
scripting/Scripting-News#361 ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
scripting/Scripting-News#360 · 1 comment · 1 reaction ·
All issues in scripting/Scripting-News
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
extension extension: raycast-system-monitor feature request platform: macOS
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
raycast/extensions#31335 · 2 comments ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
AvengeMedia/DankMaterialShell#3520 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
SubtitleEdit/subtitleedit#15108 · 1 comment ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100