Project

General

Profile

Defect #1238

Broken when running through Electron

Added by Scott Butler almost 7 years ago. Updated almost 7 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Start date:
06/19/2017
Due date:
% Done:

0%

Estimated time:
Browser (if web client):
Electron

Description

Electron ( https://electron.atom.io ) doesn't support window.opener because of its threading model. So Servoy wrapped apps break.

In https://www.servoyforge.net/projects/multi-file-upload/repository/entry/trunk/MultiFileUploader/src/net/stuff/servoy/plugins/multifileuploader/utils/uploader.html
consider something like:

if(window.opener)
  window.opener.location.reload();

or possibly a try/catch around it.

History

#1

Updated by Patrick Talbot almost 7 years ago

Don't know much about Electron, but I can certainly safe-guard window.opener, although in this case the Servoy client will not be reloaded and will not be aware of the changes (at least until a data broadcast happens).

#2

Updated by Patrick Talbot almost 7 years ago

  • Status changed from New to Resolved

Done in v1.0.10

Also available in: Atom PDF