YuzuBrowser icon indicating copy to clipboard operation
YuzuBrowser copied to clipboard

Speeddial icon size idependent from column width / favicon scaling

Open Avrution opened this issue 5 years ago • 6 comments

I have noticed many favicons do not scale well in Yuzu and end up being super blurry compared to other browsers.

This issue is made worse by the fact that increasing the Maximum column width also increases the icon size.

For example, most of my icons are readable on 50, but then the speed dial takes up a small fraction of the screen. Increasing the width to 200 so it fills the width fully and the icons scale to the size where they are just giant fuzzy blurs.

I think having each as an option would help this problem.

Secondary, adding the ability to have an X or close button on each tab would be helpful versus having to waste the long press action in order to close. I may be missing it, but don't recall this option.

Avrution avatar Apr 07 '19 05:04 Avrution

Also, it might just be me, but I can't even seem to actually set custom images for a website. I select an image, it has me crop it, says it is saving and no change.

After that, I can also no longer use the favicon option as it is blank.

Avrution avatar Apr 10 '19 03:04 Avrution

// ==UserScript== // @name Homepage Round Favicons // @description 重定义首页样式 // @version 1.0 // @include yuzu:speeddial // @namespace none // @author Anonymous

// ==/UserScript== var styleEl = document.createElement('style'); styleEl.type = 'text/css'; styleEl.innerHTML = ` .browserName{color:orange;} #searchBox, .search{width:76%; margin:10px auto;} .search{padding-left:15px; border:0; box-shadow:0 0 18px rgba(70,70,40,0.2); background-color:rgba(255,255,255,0.1); border-radius:40px;} img{padding-bottom:2px; border:none; border-radius:80px;} .box{padding-bottom:3px; background:none !important; border:none !important; box-shadow:none !important; opacity:0.9;} `; document.documentElement.appendChild(styleEl);

meDevil avatar Apr 10 '19 13:04 meDevil

@medevil Thanks - I entered the scripts and tried each one, but saw no change. Is there anything more than just adding and enabling that needs to be done?

Avrution avatar Apr 10 '19 22:04 Avrution

Some special characters were filtered by github editor,now fixed, try again.

meDevil avatar Apr 11 '19 01:04 meDevil

Works now, but still doesn't actually change the icon image size, only makes them circles.

Here is an example of how Yuzu treats the favicon image versus how my normal browser does it (both are close to the same size).

https://imgur.com/a/ZHEi1qE

It seems all about the scaling of each icon - some work great, but others are very small and get enlarged to the point of distortion.

Avrution avatar Apr 11 '19 02:04 Avrution

In case anyone wants to do it, you can get everything set the way you like it and have things actually look good.

Either on a computer or the device you can edit the speeddial1.db in the database folder. In the main_table table there is a field for icon.

I went through and made icons for all of my sites and imported them in. Be sure to go through and uncheck the use favicon option for each speeddial or else the custom icons will be erased.

Since the custom icon is broken, don't bother trying in Yuzu itself as you will just end up with a blank icon.

Avrution avatar May 27 '19 03:05 Avrution