mb21 / panwriter

Markdown editor with pandoc integration and paginated preview.
https://PanWriter.com
GNU General Public License v3.0
1.04k stars 51 forks source link

White screen on launch #120

Closed SchroedersKater closed 1 year ago

SchroedersKater commented 1 year ago

I downloaded the x64 app (iMac 2020, macOS Ventura). Launching the program shows an empty window, completely white, not even a title bar. Menus can be used, but nothing happens. Program must be terminated manually. Quitting the program the regular way doesn't work either.

mb21 commented 1 year ago

I just made a new release with the latest electron version: PanWriter 0.8.5 – can you try again with that? Unfortunately, I don't have macOS Venture installed yet to try myself...

SchroedersKater commented 1 year ago

Sorry, but the result is the same. You could install Ventura in a virtual machine.

mb21 commented 1 year ago

I'll upgrade my machine to Ventura soon anyway, but probably between Christmas and New Year...

Can you try in the "View" menu -> "Toggle Developer Tools" (or Cmd-alt-i) and see whether there are any errors there?

SchroedersKater commented 1 year ago

This is the onliest message there is:

Audit usage of navigator.userAgent, navigator.appVersion, and navigator.platform

A page or script is accessing at least one of navigator.userAgent, navigator.appVersion, and navigator.platform. Starting in Chrome 101, the amount of information available in the User Agent string will be reduced.

To fix this issue, replace the usage of navigator.userAgent, navigator.appVersion, and navigator.platform with feature detection, progressive enhancement, or migrate to navigator.userAgentData.

Note that for performance reasons, only the first access to one of the properties is shown.

1 source

main.a0856418.js

HTH Thomas

mb21 commented 1 year ago

Huh, I just updated to macOS Ventura 13.1 and everything works as expected. Are you sure you're on the latest PanWriter version (check in menu PanWriter -> About PanWriter)? And that there's nothing else shown in the developer console?

Finally, you could try launching it from the Terminal using the following command and see whether it prints anything unusual:

 /Applications/PanWriter.app/Contents/MacOS/PanWriter
mb21 commented 1 year ago

Closing this as "cannot reproduce"... but feel free to reopen with more information... thanks!