#1254 Bad display prevents correct operation of create profile in UbuntuStudio


In UbuntuStudio 14.04, using the Ubuntu package for KeePass2 v2.25, it seems impossible to create a custom profile in password generator because it appears impossible to get cursor focus in the length of password field. And the small up and down arrows appear not to work.

In fact, tests prove that focus is achieved but the first three digits typed are hidden behind the up and down arrows.

The whole thing can be confirmed by placing focus in the length field, hitting delete a number of times and then hitting, say 2. Nothing will be displayed in the length field. Then select the preview tab, and you will see a page of sample passwords each with length 2.

Next time, hit delete several times to be sure nothing remains then enter say 23. Nothing will be visible in the length field. Preview will give you a series of 23 char passwords.

This is repeatable as long as you have the patience to continue.

I never had this problem in Windows but I have seen it twice in linux (Ubuntu desktop and UbuntuStudio). I first reported this problem on the help forum on 9th June but received no responses. The font size in the main window is also very small and does not respond to changes in system font size.

I updated my help post on 16th June after further testing showed where the problem resided. It must be related to the build parameters used to make the version used in Ubuntu.

Should this be fixed by Ubuntu or by KeePass2 teams ?


  • Philj34

    Philj34 - 2014-06-21

    A follow up comment regarding the very small font size in the display.

    I found a KeePass.config.xml in the ~/.config directory. This has a section specifiying fonts and sizes for 'StandardFont', 'PasswordFont' and 'DataEditorFont'. These were all set at 8.25 and for fonts like Microsoft Sans Serif and Courier New which are not available in UbuntuStudio.

    I changed the fonts to ones present in UbuntuStudio and the font size to 11.

    This .xml config file seems to get regenerated each time KeePass is closed so to get edits to persist, I had to close KeePass before editing and saving.

    This did make a difference to the display in terms of ease of reading.

    These changes improved ease of use but did nothing to change the way the first 3 digits are not displayed in the 'length of password' field.

  • Dominik Reichl

    Dominik Reichl - 2014-06-28
    • status: open --> closed
  • Dominik Reichl

    Dominik Reichl - 2014-06-28

    This is a Mono bug. Mono draws the text below the up/down buttons. I've now added a workaround: when running under Mono, KeePass enforces left-aligned text.

    Furthermore, the system font detection has been enhanced to support the latest Ubuntu version.

    Here's the latest development snapshot for testing:

    Thanks and best regards,


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks