mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-05 18:38:17 -05:00
[GH-ISSUE #4461] macOS PWA Launchpad/Dock icon is a square, not a squircle #52286
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @reddiedev on GitHub (Aug 8, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/4461
Bug Report
Installation Method
Self-hosted Docker installation via Digital Ocean droplet. Add the PWA on macOS via the icon on the address bar in Chrome
Environment
Open WebUI Version: v0.3.12
Ollama (if applicable): None, I use Perplexity pipeline
Operating System: Ubuntu 24.04 LTS
Browser (if applicable): v119.0.6045.105 (Official Build) (arm64)
Confirmation:
Expected Behavior:
Icon should be a squircle, as is the case in IOS PWA. Please see issue #1886
Actual Behavior:
Icons are square. Apart from the icon, the PWA works as expected
Dock

Launchpad

Description
Bug Summary:
macOS PWA Icon in launchpad/dock is square image
Reproduction Details
Steps to Reproduce:
Notes
This is a very minor bug, but I tried looking at the src code to see where it could be fixed but I can't find the references on how to resolve it. If anyone can provide any guides or points on where to start, that would be awesome. Thanks!
@sebdanielsson commented on GitHub (Aug 8, 2024):
Looking good for me. How are you installing the PWA? What browser, how did you install it?
@reddiedev commented on GitHub (Aug 8, 2024):
I just used this button on the address bar.
For reference, my Open-webui instance is hosted on a digital ocean droplet and I access it with https via a Caddy server running a reverse proxy to the instance. Would that in any way affect how the logo is displayed?
I am using this version of Google Chrome:
Version 119.0.6045.105 (Official Build) (arm64)And I am on macOS
Sonoma v14.6@mfauveau commented on GitHub (Aug 8, 2024):
Hi @sebdanielsson, I have the same issue. I used the install app icon as well.
Chrome version:
127.0.6533.89 (Official Build) (arm64)Mac OS:
Sonoma v14.5@justinh-rahb commented on GitHub (Aug 8, 2024):
Adding to Dock from Safari will give a rounded icon like @sebdanielsson has, but doing so in Chrome gives a square.
@reddiedev commented on GitHub (Aug 8, 2024):
Thank you for that. I just tried it and it's now giving the expected rounded icon
@sebdanielsson commented on GitHub (Aug 8, 2024):
Please keep the issue open as users might want to use another browser than Safari for their PWAs.
Maybe relevant:
https://issues.chromium.org/issues/40190430#comment34
Looks like a maskable icon needs to be provided:
https://www.w3.org/TR/appmanifest/#icon-masks
@tjbck commented on GitHub (Aug 14, 2024):
PR Welcome!
@sebdanielsson commented on GitHub (Aug 14, 2024):
I could give it a shot. Where can I get a high resolution version of the icon? At least 512x512px.