Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use unicode icons for entry icons #10534

Open
davidfraser opened this issue Apr 2, 2024 · 7 comments
Open

Use unicode icons for entry icons #10534

davidfraser opened this issue Apr 2, 2024 · 7 comments

Comments

@davidfraser
Copy link

Use unicode icons to give a wider range of options for entry icons

By default KeePassXC shows a limited list of about 70 default icons when choosing the icon for an entry.
Users can then supplement these by selecting custom icons. This is great when used together with the favicon selector for a website. But these icons all need to be added to the database, and other than a favicon it requires a little effort to select and download an icon
Unicode now includes a wide variety of emojis that are specified merely by a single code point. Sites like unicode.party allow searching these emojis to quickly find one with a given theme.
I think providing an option to use these emojis as the icon would be great.

Examples

The icon editor could show:

[ ] Use default icon
(default icons)
[ ] Use unicode icon
(optional text box to search for icon, list of icons)
[ ] Use custom icon
(custom icons)

The text box could like like it does in unicode party:
image

Context

I often find the set of icons available limiting when choosing for example pictures for people's security codes for an alarm

@droidmonkey
Copy link
Member

These should be implemented together: #7159

@droidmonkey
Copy link
Member

droidmonkey commented Apr 4, 2024

https://github.com/svgmoji/svgmoji

I personally like Noto and Twemoji. OpenMoji is too sketch art for our overall UI theme.

@phoerious
Copy link
Member

Do we need a library? Most systems should support emoji out of the box if you just display the code points.

@droidmonkey
Copy link
Member

Just preparing myself

@droidmonkey
Copy link
Member

@phoerious
Copy link
Member

If possible, we should use the system's emoji picker. At least macOS offers one.

@droidmonkey
Copy link
Member

droidmonkey commented Apr 6, 2024

Windows does as well, will investigate the api call necessary. Edit: looks like you need to simulate keypresses to show it. Luckily we do that rather well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants