G30 404a328a58 fix: PDF and Office preview zoom drifts, stalls, and loses track of its label (#33836)
Fixes several zoom problems in the Files pane preview (pdf, docx, and
pptx, which the backend converts to PDF):

- Switching tabs and back reset the page to 100% while the label kept the
  old percentage. Hidden tabs measure 0 px wide, so PdfPagesPreview
  collapsed its thumbnails; their return resized the viewer, which
  re-rendered every page. PdfPagesPreview now keeps its layout while hidden,
  so the chosen zoom stays.
- Changing slides in a pptx reset the zoom to 100% while the label kept
  the old value. A slide change now carries the zoom and position over to
  the new slide.
- A pane resize rebuilt the zoom at 100% but left the label at the old
  value. renderAllPages now resets the label with it.
- On pptx slides, zooming drifted off-center and stopped at about 244%.
  The element panzoom transforms was flex-centered inside its container,
  while panzoom measures bounds and zoom anchors from the container's
  top-left corner. That element now fills the container and centers the
  slide inside it, so the coordinates match the screen.
- Resetting from a low zoom left the page off to the side, and from a
  stalled high zoom it could leave the page enlarged under a 100% label.
  The reset moved and zoomed through panzoom's bounds check, which skips
  the scale change when it adjusts the position. The reset now rebuilds
  the panzoom instance, as every render already does.
2026-11-07 16:49:17 +09:00
2026-10-15 17:08:00 +04:00
2026-11-02 08:48:51 +09:00
2026-11-05 11:45:44 +09:00
2026-09-06 16:48:30 -04:00
2026-11-06 10:49:20 +09:00
2026-10-15 17:08:00 +04:00
2026-11-06 16:25:48 +09:00
2023-10-08 15:38:42 -07:00
2026-10-15 17:08:00 +04:00
2025-12-22 00:53:49 +04:00
2026-11-03 17:35:16 +09:00
2026-09-16 08:51:02 -04:00
2026-03-17 17:58:01 -05:00
2026-02-28 02:05:22 -06:00
2026-11-02 08:48:51 +09:00
2026-11-02 08:48:51 +09:00
2024-04-05 23:46:20 -04:00
2025-07-24 19:25:13 +04:00
2025-10-19 23:35:59 -04:00
2026-11-02 08:48:51 +09:00
2026-11-02 08:48:51 +09:00
2026-11-02 08:48:51 +09:00
2026-10-05 09:24:43 +04:00
2026-10-10 23:30:58 +04:00
2026-04-14 12:18:24 -05:00
2025-07-18 12:41:21 +04:00
2025-09-20 12:45:10 -05:00
2026-11-05 20:33:47 +09:00
2026-11-05 20:33:47 +09:00
2025-02-17 18:51:40 -08:00
2026-11-03 17:36:03 +09:00
2026-11-03 17:36:03 +09:00
2026-11-03 17:36:03 +09:00
2026-11-03 17:36:03 +09:00
2026-11-03 17:36:03 +09:00
2026-11-03 17:36:03 +09:00
2026-11-03 17:36:03 +09:00
2026-11-03 17:36:03 +09:00
2026-11-03 17:36:03 +09:00
2026-11-03 17:36:03 +09:00
2026-11-03 17:36:03 +09:00
2026-11-03 17:36:03 +09:00
2026-11-05 09:23:26 +09:00
2026-11-03 17:36:03 +09:00
2026-11-03 17:36:03 +09:00
2026-11-03 17:36:03 +09:00
2026-11-03 17:36:03 +09:00
2026-11-03 17:36:03 +09:00
2026-11-03 17:36:03 +09:00
2026-11-03 17:36:03 +09:00
2026-11-03 17:36:03 +09:00
2026-11-03 17:36:03 +09:00
2026-10-05 09:24:43 +04:00
2026-02-28 13:46:30 -06:00
2024-10-14 16:22:07 +09:00
2023-10-08 15:38:42 -07:00
2026-11-02 01:16:43 +09:00

Open WebUI

Open WebUI is a home for AI: an extensible, easy-to-use, self-hosted platform built to run entirely offline. Connect local models through Ollama or use OpenAI-compatible APIs for local and cloud models.

English | 简体中文 | 繁體中文 | 한국어 | Deutsch | Español | Français | Italiano | Dansk | 日本語 | Polski | Русский | Bosanski | العربية | Norsk | Português (Brasil) | ไทย | Türkçe | Українська | বাংলা | Ελληνικά | Tiếng Việt

Open WebUI Demo

GitHub stars GitHub forks GitHub watchers GitHub repo size GitHub language count GitHub top language GitHub last commit Discord

Explore Open WebUI →

Installation

Python

# With uv installed (macOS/Linux)
DATA_DIR=~/.open-webui uvx --python 3.12 open-webui@latest serve

# Or install and run with pip (Python 3.12)
pip install open-webui
open-webui serve

Then open http://localhost:8080.

Docker

docker run -d -p 3000:8080 --add-host=host.docker.internal:host-gateway -v open-webui:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:main

Then open http://localhost:3000.

Image tag Includes
:main Standard image with local AI dependencies
:slim Lightweight image using external services for embeddings, document extraction, and voice
:cuda Open WebUI with CUDA acceleration
:ollama Open WebUI bundled with Ollama
:dev Latest development build

Add these options to docker run before the image name as needed:

Option Purpose
-e OLLAMA_BASE_URL=http://your-ollama-server:11434 Connect to Ollama on another server
-e OPENAI_API_KEY=your_secret_key Set your OpenAI API key
-e HF_HUB_OFFLINE=1 Disable Hugging Face model downloads for offline use
--gpus all Enable Nvidia GPU access for :cuda or :ollama; requires the Nvidia Container Toolkit

See the Docker installation guide for setup instructions and configuration options.

Desktop App

Download the native desktop app for macOS, Windows, and Linux.

Read the docs →

Ecosystem

  • Open Terminal / Terminals (Enterprise): The action layer that turns Open WebUI into a full agent harness, with enterprise orchestration for per-user workspaces.
  • Knowledge Base Sync (oikb): Mirror folders, repos, buckets, and wikis into Open WebUI Knowledge Bases with incremental sync.
  • Open WebUI Computer: Your computer in any browser: files, editor, terminal, git, and optional AI agents, running on your real machine.

See the ecosystem documentation for details.

Troubleshooting and Updates

See the troubleshooting guide for connection issues and the updating guide to update your installation.

Documentation

See the docs for configuration and usage, and the roadmap for planned work.

For Docker Compose, Kubernetes, and other setups, see the installation docs.

Support

Open an issue or start a discussion.

Find us on Reddit, X, and Discord.

Security

Report vulnerabilities privately through GitHub security advisories. Security reports are accepted only through GitHub.

Star History

Star History Chart

License

Includes code under the Open WebUI License, which requires preserving the Open WebUI branding, and prior contributions under their original licenses. See LICENSE and LICENSE_HISTORY for terms and history.

Enterprise · Careers · Sponsor

Created by Timothy Jaeryang Baek.

Languages
Svelte 38.7%
Python 36.7%
JavaScript 15.7%
TypeScript 7%
CSS 1.6%
Other 0.1%