Keepass 2 shows new icon with low resolution

Bug #813378 reported by Kabanov Dmitry
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mono
Unknown
Unknown
keepass2 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

I have keepass2 icon pinned to Docky. But when I click on it new keepass2 icon appears with low resolution.

It's the same problem as with Java applications. For Java we have workaround.

But keepass2 is Mono application. I work in Ubuntu 11.04, which have Banshee music player, which is also Mono application. But with Banshee there is no problem in Docky.

How can I set Keepass 2 so that it behaves as Banshee?

Revision history for this message
Julian Taylor (jtaylor) wrote :

keepass2 has no vector icon available, only raster in the size 16,32,48 and 256
I do not know which icon docky uses, apparently not the largest one.

What is he workaround for java applications?

Revision history for this message
Kabanov Dmitry (kabanovdmitry) wrote :

It's no problem with vector icons, it's linked with window matching.

The problem is that Mono (.Net) applications launch as /usr/bin/cli, as the same as Java applications launches as java.

The workaround for java applications can be found here:

http://blog.jteam.nl/2011/01/09/make-intellij-idea-behave-properly-in-linux-docks/

Description of the same bug for Java applications:

https://bugs.launchpad.net/docky/+bug/484610

Revision history for this message
Julian Taylor (jtaylor) wrote :

I can't reproduce the problem as I can't even get keepass to pin to docky.

But from reading the bug it docky seems to need the WM_CLASS property which mono winform apps do not set:
https://bugzilla.novell.com/show_bug.cgi?id=702306
I'm an not aware of a workaround.

Revision history for this message
Julian Taylor (jtaylor) wrote :

banshee works as it is a gtk# application which does set WM_CLASS

Revision history for this message
David Lechner (dlech) wrote :

This was fixed in KeePass 2.20

Changed in keepass2 (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.