bt icon indicating copy to clipboard operation
bt copied to clipboard

.ico format support in change browser/profile icon

Open YESNLars opened this issue 3 months ago • 17 comments

I'd like the option to change the icon with a .ico file, as all my custom icons are in that format (for windows shortcuts) and I also like to have those files of my browser (profiles) in BT.

Also because (bug?) when I updated to the main 5.2.0 release, my icons as seen in the image don't differentiate anymore, when they previously did. The profiles had their own image and TOR vs Private window in Brave was also differentiated easily. But now, as seen in the image, they all are the same.

Image

YESNLars avatar Oct 11 '25 15:10 YESNLars

All fixed in 5.2.1. Feel free to reopen if still an issue.

aloneguid avatar Oct 13 '25 10:10 aloneguid

Yes I see it, thanks. The logo quality is very low tho, it works enough for me that it is distinguishable, but not a lot. Also I expected the whole icon to change, not only the profile icon. See image for quality (and I don't have permissions to re-open) @aloneguid

Image

YESNLars avatar Oct 13 '25 17:10 YESNLars

+1 on the whole icon thing. Firefox has its own shortcut image to launch private mode directly, and I would love to be able to set that as the entire image in the picker.

gitgizmo7 avatar Oct 13 '25 18:10 gitgizmo7

I see, leave it with me.

aloneguid avatar Oct 14 '25 06:10 aloneguid

I'm thinking of allowing you to select one of 4 options on how icons are rendered, thoughts?

https://github.com/user-attachments/assets/4fcebb3e-dc07-474d-8375-df793569b15f

aloneguid avatar Oct 14 '25 14:10 aloneguid

I think it looks great, it would definitely be better. Btw have you checked the low quality thing, or is that probably because of .ico files have maybe less pixels or something, because they are usually shown small? Anyway I think it's very good, enough customization. Maybe some1 else has another idea?

YESNLars avatar Oct 14 '25 14:10 YESNLars

Thanks. Regarding .ico - I think BT takes the first icon from the file (.ico is a container of images with different resolutions, the lowest comes first). I've made a fix to select image resolution close to 256x256 rather than the default, and it looks better. Including this fix in 5.2.2 release.

aloneguid avatar Oct 14 '25 14:10 aloneguid

Ah ok, thanks for explaining how the .ico files work, nice for fix, I'll be awaiting it happily

YESNLars avatar Oct 14 '25 17:10 YESNLars

I have downloaded the new version, but the .ico file is still low quality after re-setting the icon as the icon, see image (and yes I purposely tested it with this url :D)

Image

YESNLars avatar Oct 15 '25 15:10 YESNLars

(this is how the icon looks in explorer in bt)

Image

YESNLars avatar Oct 15 '25 15:10 YESNLars

Oh and just because I like to give credit for stuff I find: Reddit Page for the brave icons

YESNLars avatar Oct 15 '25 15:10 YESNLars

Looks great. Thank for the link, I'll download and debug why they show low quality in BT.

aloneguid avatar Oct 16 '25 08:10 aloneguid

Ok I think i've got it now.

Current version (5.2.2):

Image

Dev version:

Image

Great looking icons btw.

aloneguid avatar Oct 16 '25 08:10 aloneguid

@YESNLars you can have a go at trying this before it goes public: https://github.com/aloneguid/bt/actions/runs/18555663816/artifacts/4286183144

aloneguid avatar Oct 16 '25 09:10 aloneguid

Yeah thanks it looks great, btw I don't think mine remembers the choice of icon handling and standardly has the profile small? @aloneguid

YESNLars avatar Oct 16 '25 17:10 YESNLars

Let me try it again, ok yes I reset the setting (in the new 5.3.0. version) to profile big and then browser small. But when I open another link it standardly has the browser big and profile small.

YESNLars avatar Oct 23 '25 11:10 YESNLars

could be a bug as settings are only saved when picker is closed

aloneguid avatar Oct 23 '25 12:10 aloneguid