Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Window goes grey #556

Open
RobertKirchner9 opened this issue Sep 23, 2022 · 10 comments
Open

Window goes grey #556

RobertKirchner9 opened this issue Sep 23, 2022 · 10 comments

Comments

@RobertKirchner9
Copy link

When there's another window in front of the ElectronMail window, the latter sometimes goes grey (see screenshot) and I don't know how to get it back. I have to quit and log in again.
Screenshot at 2022-09-23 14-36-26

@vladimiry
Copy link
Owner

Sounds mysterious so far. I mean, at the moment, I have no guess regarding a possible fix.

I have to quit and log in again.

A possible, simpler workaround is opening the account's context menu via a right mouse click and selecting the "unload" action in the list. This action reloads the webview/page which hosts the proton's web client.

@vladimiry
Copy link
Owner

vladimiry commented Sep 23, 2022

This gray screen indicates that mentioned webview/page is:

  • Not loaded. This is an initial stage, before proton's web client gets loaded on app start or account activation
  • Got destroyed. Including the related "renderer" process.
  • Got hidden for some reason (not by design).

It's not the first point (not the initial stage), since you could not sign-in into the account without loading the proton client.

If you can locate the error lines similar to the following in the log.log file located in the app settings folder, then it's point 2 (destroyed webview process, exitCode value might be different):

[error] src/electron-main/web-contents.ts {"details":{"reason":"killed","exitCode":9}}
[error] src/web/browser-window/app/_accounts/account-view.component.ts AccountViewComponent webview event {"type":"crashed"}

No such lines - point 3.

@RobertKirchner9

This comment was marked as resolved.

@vladimiry
Copy link
Owner

It does indeed include error lines similar to what you quoted

Not really. The only suspect is the following one, but it's just one case and quite old:

[2021-01-22 20:05:18.206] [error] [web-contents] {"details":{"reason":"abnormal-exit"}}

So I believe the issue cause can be narrowed down to point 3:

Got hidden for some reason (not by design).

@RobertKirchner9
Copy link
Author

RobertKirchner9 commented Feb 28, 2023 via email

@vladimiry
Copy link
Owner

@RobertKirchner9 see #588. The latest v5.1.4 release fixes the issue.

@RobertKirchner9
Copy link
Author

RobertKirchner9 commented Mar 23, 2023 via email

@vladimiry
Copy link
Owner

Sounds like somehow weird issue. I guess you could try the following steps:

  • Disable the persistent sessions flag for the account and click "Update" button on the form.
  • Restart the app.
  • Login into the proton account.
  • Enable the flag again for this account, including clicking "Update" button.

@vladimiry
Copy link
Owner

Can you tell me how to make Electron-Mail store the correct password?

I don't recommend storing the accounts passwords in the app as this feature is obsolete since v4.10.2, but using the persistent sessions feature.

@RobertKirchner9
Copy link
Author

RobertKirchner9 commented Mar 23, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants