-
Notifications
You must be signed in to change notification settings - Fork 849
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
Blank window when app starts automatically on login #713
Comments
Probably there are some trouble in rendering though, unfortunately I'm not sure in detail. Would you try disabling GPU as a workaround?
|
We have this same problem (on Win 7 PC's) when Mattermost starts at login but the needed VPN connection is established after it OR when PC wakes from the hibernation and again the Mattermost desktop app wakes before the VPN connection. Previous version of the Mattermost app did not have this issue or it just was able to try to connect again a bit later on one or more times. The only way to fix it is to totally shutdown Mattermost app and restart it once again. |
Sorry, I misunderstood the situation. However not reproduced on my PC even when I use "Start app on login".
@jasonblais Possibly we need "Disable GPU acceleration" option. In startup, applying our workaround @kaksikanaa Is the window completely blank? As far as reading your report, I think that the app merely failed to connect to the server due to unestablished VPN. The order of startup is managed by Windows, so unfortunately there are no way we can do in source code. As a possible workaround, how about creating a batch file to wait VPN then launch the app? |
@yuya-oc Adding
|
Great, the "--disable-gpu" option resolved our case also, thanks! Would it be nice if user could find these option right in his/her settings/profile...? |
Looks like a bug in electron, maybe related to electron/electron/issues/4380 or electron/electron/issues/8505 ? |
@yuya-oc If we added the setting, would the steps be to first quit, then reopen the app, go to the Settings page, and disable GPU acceleration? You brought it up before too, so maybe it's worth adding the setting to fix these issues. We can consider naming the setting so that it's clear to end users, perhaps something like
PS: Feedback welcome on settings text @kikijiki @kaksikanaa |
Looks good to me 👍 |
Thanks, the text is okay! We still wonder if this option could be disabled as default? Then the text should be another way around of course "Enable this setting if you want to have the Mattermost UI rendered more efficiently. When enabled this setting can still cause stability issues for some systems. The changes on this setting takes affect after restarting the app." |
@jasonblais Yes if GPU acceleration is enabled by default. "Disabled by default" is safer, but many users might not notice it's disabled even if it's applicable. |
Thanks all! Wondering how much benefit there is to have the option of enabling GPU acceleration if it's disabled by default. Does UI rendering performance degrade noticeably, or not really for the Mattermost app? |
Personally I don't see much of a difference, but disabling it by default might be too much. |
Actually, we've been having issues among our users too, and what makes things more difficult is that because of some security specifications, the Mattermost desktop app is ran through a separate program (written in C#), we've managed to use the Having a hardware acceleration option would work wonders for us (especially if handled by the config.json file) |
I'm having same issue in Windows 7, Lenovo X260 (integrated graphics Intel HD 520). Almost always occurs on first load after fresh reboot. I close app using right click menu in taskbar and then reopen. On reopen I see the loading graphics and it works. |
I added the PR #734. I'm wondering if you could test whether your problem are gone with latest artifacts. Artifacts are available here. https://circleci.com/gh/yuya-oc/desktop/696#artifacts (if you can't see them, please try again later) |
Closed due to #734 |
I confirm (by marking "x" in the [ ] below: [x]):
Summary
When logging in, Mattermost starts correctly but the window stays blank.
The page contents seem to be there (if I move the mouse I can see it changing when hovering on a link for example), but they are not rendered (same for the devtools window).
Closing and reopening the app fixes this (just closing the window is not enough).
This started happening with
v4.0.0
.Things I tried:
Steps to reproduce
Login, check Mattermost (happens every time).
4.0.0
4.6.0
The text was updated successfully, but these errors were encountered: