Y2Z / Liquid

:ocean: Turn websites into desktop applications
Creative Commons Zero v1.0 Universal
19 stars 1 forks source link

Transparent background not working on macOS #105

Closed snshn closed 2 years ago

snshn commented 2 years ago

Potentially need to switch LiquidAppWindow to inherit QOpenGLWidget and then use QWebEngineView as a child for platforms that use OpenGL for rendering and not XRender (Windows, macOS). Otherwise transparency only works when Qt::FramelessWindowHint is set.

If OpenGL doesn't work, then alternatively for macOS and Windows, there could be forced frameless window with non-native window decoration (kinda like Chrome/Chromium used to have). This way transparency should work on those platforms as well.

snshn commented 2 years ago

Implemented and seems to be working. Has some glitches sometimes, but nothing disastrous.

snshn commented 2 years ago

For future references: