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

Unsharp tray icon Ubuntu 18.04 #2929

Closed
AJJLagerweij opened this issue Apr 2, 2019 · 7 comments
Closed

Unsharp tray icon Ubuntu 18.04 #2929

AJJLagerweij opened this issue Apr 2, 2019 · 7 comments

Comments

@AJJLagerweij
Copy link

AJJLagerweij commented Apr 2, 2019

My keepassxc, as intended, closes to the system tray. The icon does however look blurry.
This does not make it unusable, but it would be more beautiful when the item would be sharp.

Expected Behavior

The expected behavior is that the item tray icon would be sharp, even in high resolution screens.
When running the program in windows the systemtray icon is sharper when using the same machine.

Current Behavior

Both the locked and unlocked item look bury, as show in the screenshot below.
image

Possible Solution

It might be that the current icon is pixel based or compressed.
Having the icon as a vector image (such as .svg) might solve the issue already.

Steps to Reproduce

  1. Install KeePassXC Snap from the Ubuntu store
  2. Make sure that the system tray icon is activated

Context

No major impact on use.

Debug Info

KeePassXC - Version 2.4.0
Revision: c51752d
Distribution: Snap

Libraries:

  • Qt 5.9.5
  • libgcrypt 1.8.1

Operating system: Ubuntu Core 18
CPU architecture: x86_64
Kernel: linux 4.19.0-041900-generic

Enabled extensions:

  • Auto-Type
  • Browser Integration
  • SSH Agent
  • KeeShare (signed and unsigned sharing)
  • YubiKey
@michaelblyons
Copy link

michaelblyons commented Jul 3, 2019

Can the tray icons, at least optionally, use "1-bit color" (i.e. just be an alpha layer) and take advantage of setIsMask(true)?

This will let the tray icons respond well to dark/light desktop theme changes, and (where OS-appropriate) dim for inactive workspaces.

@wolframroesler
Copy link
Contributor

Here's the KeePassXC icon in the middle of some other icons in the system tray and dock of elementary OS 5.1 (Hera). The others are crisp but the KeePassXC one is blurry. And, this is the KeePassXC version that uses SVG icons exclusively (#475/#4066).

Screenshot from 2019-12-27 16-28-41

Screenshot from 2019-12-27 16-24-41

But it even looks fuzzy in the tray menu. Maybe the SVG needs some rework to make it scale better to small numbers of pixels?

Screenshot from 2019-12-27 16-30-19

@droidmonkey
Copy link
Member

Are you sure its drawing from your development version? Make sure ALL other installs are cleaned from your computer. Ot could be preferring what is in /usr/local/share

@wolframroesler
Copy link
Contributor

I've got no other version installed except the AppImage, and there's no KeePassXC-related stuff in /usr/local/share, so I suppose it's coming from the version I built. But who knows what kind of caching is going on behind the scenes.

@droidmonkey droidmonkey added this to the v2.6.0 milestone Dec 27, 2019
@phoerious
Copy link
Member

Try replacing the icon with something else. If that something is blurry as well, we got a problem somewhere. I noticed the awkward looks of our icon as well. Even if it were sharp, it looks somewhat out of place.

@droidmonkey
Copy link
Member

All icons are now SVG or 256x256 PNG for the application icon.

@wolframroesler
Copy link
Contributor

For the record, with the latest develop version the icon is crisp and clear in my dock (elementary OS Hera). Thanks to whoever fixed it.

Screenshot from 2020-04-25 02 21 50

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

5 participants