Menu

#1635 Regression: Only 4 database colors available in 2.36

KeePass_2.x
closed
nobody
5
2020-04-25
2017-06-12
BattleMage
No

Before KeePass 2.36 it was possible to select from 64 custom database colorsto be shown in the database tab (if multiple databases were open) and in the tray, when the database was active. After 2.36 the custom color from the 64 color palette is shown in the tab, but not in the tray. There are only 4 colors available as of 2.36 (blue, red, yellow, green)

2 Attachments

Discussion

  • Dominik Reichl

    Dominik Reichl - 2017-06-12
    • status: open --> closed
    • Priority: 7 --> 5
     
  • Dominik Reichl

    Dominik Reichl - 2017-06-12

    The support for 4 colors is not a regression. In order to resolve scaling problems on high DPI resolutions, KeePass 2.36 includes separate ICO files for each color (about 89 KB per color), and 4 colors looks like a good trade-off between variety and executable file size to me.

    Best regards,
    Dominik

     
  • FireZtreaM

    FireZtreaM - 2017-12-11

    This has been an inconvenience for some time now. I was hoping you would change your mind about this, but since it hasn't happened yet, i guess i'll have to ask about it too.

    I can understand why you didn't want 64 colors to choose from, but 3 isn't enough. And yes, i say 3, because the blue one doesn't really count since it stays the same for both locked and unlocked databases.

    Please reconsider adding a few more colors. Maybe the 8 first colors in the top row of the old palette just to give us a few more alternatives?

    Regards,
    Fire

     
  • Dominik Reichl

    Dominik Reichl - 2017-12-11

    When the database is locked, the tray icon gets a red 'Stop' overlay, i.e. for all colors you can easily determine from the tray icon whether the database is locked or not.

    I'm still happy with the current trade-off. 4 more icons/colors would increase the executable size by about 355 KB, and most users probably won't use that many colors...

    Maybe additional icons/colors could provided as a separate package/plugin. I'll think about it.

    Best regards,
    Dominik

     
  • fbachofner

    fbachofner - 2020-04-24

    If you have a red overlay (for locked DB) why is "red" one of the possible DB custom colors?

     
  • Dominik Reichl

    Dominik Reichl - 2020-04-25

    The database color is stored in the database file (in the encrypted part). When locking a database file, KeePass actually closes it [1]. So, when you see the KeePass tray icon with a 'locked' overlay symbol, this means that the database file is locked/closed and in this case the database color is unknown, i.e. in this situation the standard colors are used.

    Best regards,
    Dominik

    [1] https://keepass.info/help/base/security.html#seclocking

     

Log in to post a comment.

MongoDB Logo MongoDB