openstudiocoalition / OpenStudioApplication

The OpenStudio Application is a fully featured graphical interface to OpenStudio models including envelope, loads, schedules, and HVAC.
https://openstudiocoalition.org
Other
136 stars 25 forks source link

[v1.8.0-rc3] Can't see QtWebEngine pages on macOS #745

Closed jmarrec closed 2 months ago

jmarrec commented 2 months ago

Issue overview

Current Behavior

Cannot see QtWebengine pages

image

Steps to reproduce

OPENSTUDIO_APPLICATION_DEBUG=1 QT_DEBUG_PLUGINS=1 /Applications/OpenStudioApplication-1.8.0-rc3/OpenStudioApp.app/Contents/MacOS/OpenStudioApp
Debug: checking directory path "/Applications/OpenStudioApplication-1.8.0-rc3/OpenStudioApp.app/Contents/MacOS/tls" ... ((null):0, (null))
Warning: No functional TLS backend was found ((null):0, (null))
Warning: No functional TLS backend was found ((null):0, (null))
Warning: No functional TLS backend was found ((null):0, (null))
Warning: No TLS backend is available ((null):0, (null))
Warning: No functional TLS backend was found ((null):0, (null))
Warning: No functional TLS backend was found ((null):0, (null))
Warning: No functional TLS backend was found ((null):0, (null))
Warning: No functional TLS backend was found ((null):0, (null))
Warning: No TLS backend is available ((null):0, (null))
Warning: No functional TLS backend was found ((null):0, (null))
Warning: No functional TLS backend was found ((null):0, (null))
Warning: No functional TLS backend was found ((null):0, (null))
Warning: No functional TLS backend was found ((null):0, (null))
Warning: No TLS backend is available ((null):0, (null))
Warning: No functional TLS backend was found ((null):0, (null))
Warning: No functional TLS backend was found ((null):0, (null))
Warning: No functional TLS backend was found ((null):0, (null))
Warning: No functional TLS backend was found ((null):0, (null))
Warning: No TLS backend is available ((null):0, (null))
Warning: No functional TLS backend was found ((null):0, (null))

Warning: No functional TLS backend was found ((null):0, (null))
Warning: No functional TLS backend was found ((null):0, (null))
Warning: QSslSocket::connectToHostEncrypted: TLS initialization failed ((null):0, (null))
Warning: QLayout: Attempting to add QLayout "" to openstudio::PreviewWebView "", which already has a layout ((null):0, (null))
Warning: No functional TLS backend was found ((null):0, (null))
Warning: No functional TLS backend was found ((null):0, (null))
Warning: QSslSocket::connectToHostEncrypted: TLS initialization failed ((null):0, (null))

In chrome I see nothing

image

Possible Solution

?

Details

Environment

Some additional details about your environment for this issue (if relevant):

Context

jmarrec commented 2 months ago

@macumber any ideas on how to diagnose this?

jmarrec commented 2 months ago

I just tested with 1.8.0-rc1 and it was working, so I'm leaning towards something happening due to codesigning #727

macumber commented 2 months ago

Have you tried using the Chrome Debugger? If you go to the about page and hit show details you'll get a url like http://localhost:14286. If you open that URL in Chrome when you are on a web view page you can open the console and see if there are any errors.

jmarrec commented 2 months ago

Yes, it's empty, like I said above. I think we're hitting this, trying to fix it now: https://forum.qt.io/topic/102212/qtwebengine-signing-issues/4

macumber commented 2 months ago

Oh I see its fully crashing, yuck