excalith / excalith-start-page

Terminal-inspired, clean, feature-rich and customizable browser start page for geeks. Has built-in editor for customizing.
https://excalith-start-page.vercel.app
MIT License
554 stars 163 forks source link

[BUG] SVG wallpaper appears differently in Safari in comparison to other browsers #74

Closed mureev closed 5 months ago

mureev commented 5 months ago

Describe The Bug

SVG wallpaper appears significantly darker in Safari in comparison to other browsers.

To Reproduce

Steps to reproduce the behavior:

  1. Open online version of the page in Safari on macOS/Mac device or using iPhone

Expected Behavior

I would expect visually background to look the same in Safari as in Chrome, or to have an option to adjust.

Screenshots

 2024-03-24 в 17 53 19

2024-03-24 в 13 47 52

Specs

excalith commented 5 months ago

Can you please share your settings.json file if not private? Seems like the blurring effect kicks in differently. Will try it on my old trusty mac. Is the browser on the top is a customized Chrome or an app that runs on Chromium?

mureev commented 5 months ago

yes, its was Chromium based browser (Arc), but no worries. I've updated screenshot to include one from Chrome.

my config is attached, but you can also reproduce it with online version you have. whatever works best for you. settings.json

2024-03-24 в 18 01 03

excalith commented 5 months ago

Hey @mureev, I was able to reproduce that issue on MacOS using Safari. Turns out the issue is related to how Safari handles SVG files, where it requires additional SVG definitions to handle it correctly. In this case, this is not a bug and can be fixed by changing the wallpaper asset url into a PNG file instead. If you liked the wallpaper, you might be able to find the same (GNOME wallpaper) as PNG on the internet and replace it with the SVG file in the project.

I might change the SVG file into PNG in this repository, but giving its big size and possible changes later on, it is best to switch Git LFS. Doing so will require other users to use LFS as well, and it is not convinient for most of the users.

I will update the documentation with this information right now. Let me know if this answers your question and cheers!

mureev commented 5 months ago

indeed. thanks for sharing!

excalith commented 5 months ago

Updated the documentation with the new info and closing this issue right now. Please feel free to ask if you need anything else!