Nativefier: Can't close app when onbeforeunload is set

Created on 26 Feb 2018  路  7Comments  路  Source: jiahaog/nativefier

Description

Hey there 馃
I can't close my compiled regex 101 app.

Steps to reproduce issue

Run the App,
type something into the field,
click on exit button.

Details

  • Are you nativefying a public website? Yes
  • Full nativefier command used to build your app:
    nativefier -n "regex101" "https://regex101.com/"
  • Version of Nativefier: v7.5.4
  • Version of node.js: v9.3.0
  • OS: Windows
bug

All 7 comments

Hi @TGotwig and thanks for the feedback. Sorry, I can't reproduce the issue. Can you be more precise? Is it the only website that exhibits the problem? Can you try to isolate the problem by comparing to another machine?

In that video you can see the bug:
https://mnithmde-my.sharepoint.com/:v:/g/personal/thomas_gotwig_mni_thm_de/EcpAE3N26GpGrlDW9ynpkDUBaBto72lF1sLtYOdVRrJpxw?e=4D77gm

Yeah I can try it.

I can't run the binary under my Ubuntu 17.10 VM

Command: bash regex-101-linux-x64/regex-101
Error: regex-101-linux-x64/regex-101: regex-101-linux-x64/regex-101: cannot execute binary file

Command: ./regex-101-linux-x64/regex-101
Error: ./regex-101-linux-x64/regex-101: error while loading shared libraries: libgconf-2.so.4: cannot open shared object file: No such file or directory

"I can't run the binary under my Ubuntu 17.10 VM".

@TGotwig nothing wrong with that. Dynamically-linked Linux binaries are not upwards-compatible (and that's why if you distribute them, you usually compile on the oldest CentOS VM that can run your software). Just re-build your app from the VM.

The closing bug also exists in Ubuntu 14.

This sould be the reason for the bug,
appears after you want to close the tab in the browser,
after you typed something in the fields:

I believe this is also happening to me with Google play music (if I try to close it from a browser tab while music is playing, it gives me a little are-you-sure popup, which I don't get from the nativefied app).

Was this page helpful?
0 / 5 - 0 ratings

Related issues

simonweil picture simonweil  路  5Comments

mklaber picture mklaber  路  5Comments

jasonivers picture jasonivers  路  4Comments

raulcraveiro picture raulcraveiro  路  4Comments

citrusui picture citrusui  路  3Comments