Weird drag and drop with Electron app

Abierto
#33 2 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
25/100
Tipo de issue
Error
Claridad
Necesita aclaración
Estado de actividad
Estancado
Stack tecnológico
electron
Área
desktop

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
HTML
Estrellas
134
Forks
10
Métricas de merge de PR
Sin PR fusionados en 30 d

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de scripting/Scripting-News

Todos los issues de scripting/Scripting-News

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.