You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
JavaScript error when attempting to close the app, requiring kill via Task Manager.
To Reproduce
Steps to reproduce the behavior:
Get app into a state such that it just displays an entirely white screen. See additional context section below.
Click on the 'X' in the upper right to close the window.
Error dialog pops up with title "A JavaScript error occurred in the main process" and content:
Uncaught Exception:
Error: Render frame was disposed before WebFrameMain could be accessed
at Object.n.send (node:electron/js2c/browser_init:169:413)
at Object.b.send (node:electron/js2c/browser_init:165:2492)
at BrowserWindow.<anonymous>
(C:\Users\chad\AppData\Local\Logseq\app-0.5.1\resources\app\electron.js:13688:38)
at BrowserWindow.emit (node:events:406:35)
Closing this error just takes me back to LogSeq with the white screen.
Expected behavior
Normal "Application is not responding" dialog from Windows, with buttons to "Close the program" or "Wait for the program to respond" upon clicking the 'X' when in this state. Or, even better, a LogSeq-generated prompt to restart, similar to what Slack does.
Screenshots
LogSeq with white screen
Error that pops up when closing
Example of desired, normal "Application is not responding" dialog from Windows
Desktop (please complete the following information):
OS: Windows 10
Desktop App
Version 0.5.1
Additional context
Issue #3054 sees a similar dialog pop up.
Regarding step 1: The browser backend occasionally gets hung up on my machine. This manifests as both my browser windows and all Electron apps getting hung up. Once in this state, when I click the "X" to close browser windows, I get the normal "Application is not responding" dialog from Windows. For Slack, when I click the "X" to close it, the app itself actually prompts me to reload via an internally generated dialog. But for LogSeq I get the behavior described above, and the only resolution is to use the Task Manager to kill it. I'm sorry I don't have better repro steps for step 1 above. I believe the root of the issue is my use of the Distill browser extension to poll web pages throughout the night.
After killing LogSeq with the Task Manager and restarting it, everything seems fine, with no ill effects.
The text was updated successfully, but these errors were encountered:
Describe the bug
JavaScript error when attempting to close the app, requiring kill via Task Manager.
To Reproduce
Steps to reproduce the behavior:
Closing this error just takes me back to LogSeq with the white screen.
Expected behavior
Normal "Application is not responding" dialog from Windows, with buttons to "Close the program" or "Wait for the program to respond" upon clicking the 'X' when in this state. Or, even better, a LogSeq-generated prompt to restart, similar to what Slack does.
Screenshots
LogSeq with white screen
Error that pops up when closing
Example of desired, normal "Application is not responding" dialog from Windows
Desktop (please complete the following information):
Additional context
Issue #3054 sees a similar dialog pop up.
I believe this may be fixable by just updating electron to 15.2.0. See in the release notes the first fix listed.
Regarding step 1: The browser backend occasionally gets hung up on my machine. This manifests as both my browser windows and all Electron apps getting hung up. Once in this state, when I click the "X" to close browser windows, I get the normal "Application is not responding" dialog from Windows. For Slack, when I click the "X" to close it, the app itself actually prompts me to reload via an internally generated dialog. But for LogSeq I get the behavior described above, and the only resolution is to use the Task Manager to kill it. I'm sorry I don't have better repro steps for step 1 above. I believe the root of the issue is my use of the Distill browser extension to poll web pages throughout the night.
After killing LogSeq with the Task Manager and restarting it, everything seems fine, with no ill effects.
The text was updated successfully, but these errors were encountered: