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

Blank screen / Nothing being rendered sometimes #141

Closed
essenciary opened this issue May 27, 2019 · 9 comments
Closed

Blank screen / Nothing being rendered sometimes #141

essenciary opened this issue May 27, 2019 · 9 comments

Comments

@essenciary
Copy link

essenciary commented May 27, 2019

The macOS app is completely broken - it used to work a couple of weeks ago (might be related to latest macOS update / Safari changes?). Upon starting the app the screen is black so rendering is broken. Other things work (like main menu, switching the app to a menu app, etc) but there's no UI.

Opening the web app in Safari leads to the same behaviour (black page, no UI).

Opening the web app in Chrome works as expected (so it looks like a Safari issue).

@essenciary essenciary changed the title Completely broken on macO Completely broken on macOS (Safari) May 27, 2019
@brunolemos
Copy link
Member

brunolemos commented May 28, 2019

Thanks for reporting!

I wasn't able to reproduce... So it happened on both Desktop App and Safari web version, right?

Is there any error in the console? Are you using any beta version of safari or macos? What's the safari version?

@brunolemos
Copy link
Member

It very likely was introduced with this commit: 53bcc47#diff-4449edfad0fd7980aa0d146e34086b4d

I enabled React.lazy and Suspense. I see a couple errors about this on Bugsnag affecting a few users. I'll probably revert it.

For now it should work if you reload the app.

@brunolemos brunolemos reopened this May 28, 2019
@brunolemos brunolemos changed the title Completely broken on macOS (Safari) Nothing being rendered on macOS sometimes May 28, 2019
@brunolemos
Copy link
Member

brunolemos commented May 28, 2019

Ok yeah it happened to me on desktop app update. Pressing "View > Restart" makes it work, but I don't know what's causing this yet.

(On safari I couldn't reproduce)

@brunolemos brunolemos changed the title Nothing being rendered on macOS sometimes Blank screen / Nothing being rendered sometimes May 28, 2019
@brunolemos
Copy link
Member

brunolemos commented May 28, 2019

I think it will happen when upgrading from 0.XX.X to <= 0.90.0.

If it happens when upgrading from 0.90.0 to 0.90.1+ let me know.

@essenciary
Copy link
Author

essenciary commented May 28, 2019

@brunolemos Thanks for looking into this. The situation seems to have worsened.
1 - I restarted the app which downloaded an update. I clicked the menu to restart. It restarted. It still didn't render anything. Then a message in the menu said downloading the update failed. So I'm not sure if it updated or not.
2 - I went and downloaded the latest macOS release from Github. Same black screen.
3 - attempting to load the app on the web in Safari now hangs. The page doesn't finish loading and one of my CPU cores goes crazy, fans start buzzing, etc:
image

Currently at Version 0.90.1 (0.90.1.35) with a blank screen.

@essenciary
Copy link
Author

I deleted the app and removed all its related files (preferences and all other folders). Basically did a clean install. Upon restarting the app it asked me to login into Github. After logging in all worked perfectly.

@brunolemos
Copy link
Member

@essenciary I was about to ask you to try clearing cache and local storage. Great that it worked!
But super weird issue, no idea what could have caused this.

@essenciary
Copy link
Author

Thanks for your help - great app!

As a personal preference, it would be awesome if it would load the issues and would allow commenting in the app, instead of opening in the browser, like Gitscout does.


P.S. Attempting to load the app in Safari still has the same behavior (not loading). Probably because the cache needs to be cleared.

@brunolemos
Copy link
Member

brunolemos commented May 28, 2019

@essenciary if you want you can send me your localstorage contents from safari (without the github token) and I'll take a look (Cmd+Alt+I, Storage, Local Storage). But hopefully no one else has this.

About the feature suggestion, it's planned! #132 (help wanted)

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

No branches or pull requests

2 participants