mirror of
https://github.com/open-webui/desktop.git
synced 2026-07-15 04:35:40 -04:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 564a89baa8 | |||
| 25b9e195c2 |
@@ -5,6 +5,15 @@ All notable changes to this project will be documented in this file.
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## [0.0.14] - 2026-04-28
|
||||
|
||||
### Fixed
|
||||
|
||||
- **Grey/Blank Webview on Linux.** Disabled GPU compositing on Linux to prevent silent compositor failures that produce a grey rectangle instead of rendered content on systems with problematic Intel/NVIDIA drivers or certain Wayland compositors (#119).
|
||||
- **Renderer Crash Recovery.** The main window now automatically reloads when the renderer process dies unexpectedly, preventing a permanent blank/grey screen.
|
||||
- **Webview Crash Diagnostics.** Added logging for guest webview renderer crashes to aid debugging connectivity and rendering issues.
|
||||
- **macOS Notarization.** Resolved Apple notarization failure caused by an expired Developer Program agreement, restoring signed and notarized macOS builds.
|
||||
|
||||
## [0.0.13] - 2026-04-27
|
||||
|
||||
### Fixed
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "open-webui",
|
||||
"version": "0.0.13",
|
||||
"version": "0.0.14",
|
||||
"license": "AGPL-3.0",
|
||||
"description": "Open WebUI Desktop",
|
||||
"main": "./out/main/index.js",
|
||||
|
||||
@@ -105,6 +105,14 @@ if (process.platform === 'linux') {
|
||||
// This is required for xdg-desktop-portal features like GlobalShortcuts
|
||||
// to work (the portal is enabled by default in Chromium 134+ / Electron 33+).
|
||||
app.commandLine.appendSwitch('ozone-platform-hint', 'auto')
|
||||
|
||||
// Disable GPU compositing to prevent grey/blank webview rendering on
|
||||
// Linux systems with problematic Intel/NVIDIA drivers or certain Wayland
|
||||
// compositors. The GPU process may not crash (so the crash-recovery
|
||||
// marker never fires), but the compositor can fail silently — producing
|
||||
// a grey rectangle instead of rendered content. This is the standard
|
||||
// workaround used by VS Code and other Electron apps (#119).
|
||||
app.commandLine.appendSwitch('disable-gpu-compositing')
|
||||
}
|
||||
|
||||
// ─── GPU Crash Recovery ─────────────────────────────────
|
||||
@@ -1220,6 +1228,30 @@ if (!gotTheLock) {
|
||||
|
||||
app.on('browser-window-created', (_, window) => {
|
||||
optimizer.watchWindowShortcuts(window)
|
||||
|
||||
// Auto-reload when the renderer process dies so the user doesn't
|
||||
// see a permanent blank/grey screen.
|
||||
window.webContents.on('render-process-gone', (_event, details) => {
|
||||
log.error(
|
||||
`Renderer process gone: reason=${details.reason}, exitCode=${details.exitCode}`
|
||||
)
|
||||
if (details.reason !== 'clean-exit') {
|
||||
window.webContents.reload()
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
// Log webview guest renderer crashes for diagnostics — the existing
|
||||
// 'crashed' listener in Content.svelte surfaces these to the user.
|
||||
app.on('web-contents-created', (_event, contents) => {
|
||||
contents.on('render-process-gone', (_e, details) => {
|
||||
if (details.reason !== 'clean-exit') {
|
||||
log.error(
|
||||
`WebContents render-process-gone: type=${contents.getType()}, ` +
|
||||
`reason=${details.reason}, exitCode=${details.exitCode}`
|
||||
)
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
// ─── IPC Handlers ─────────────────────────────────
|
||||
|
||||
Reference in New Issue
Block a user