Menu

#2165 Opening another database resizes the window

KeePass_2.x
closed
nobody
None
5
2022-07-11
2022-07-07
Sworddragon
No

I'm using KeePass 2.51.1 and its window here is normally maximized but when I opened another database and KeePass asked me for the master password the window got resized to a smaller non-maximized state. I think it would be better if the window geometry would not be altered here if another databases is trying to be opened.

Discussion

  • Paul

    Paul - 2022-07-07

    I can't reproduce this on my system.
    Exactly how do you open the database?
    Is the password on a secure desktop?

    cheers, Paul

     
    • Sworddragon

      Sworddragon - 2022-07-07

      I'm on Windows 10 21H2 (64 bit) and have 2 different .kdbx files on my desktop. I just double-click the first .kdbx file which causes the prompt for the master password to appear and after entering my password KeePass opens its window with maximized geometry. After that I just minimize KeePass into the taskbar and double-click the second .kdbx file which asks for the master password as well and alters then automatically the geometry of the KeePass window to a non-maximized state.

      I think this also works with a single .kdbx file (e.g. after opening the file and entering the master password you just open the same file again which causes the window geometry to be altered to a non-maximized state as well).

       
  • Paul

    Paul - 2022-07-08

    I normally have KeePass minimized to tray instead of taskbar and in that mode it works as expected.
    If I change KeePass to minimize to the taskbar it changes to windowed when you open another file by double clicking in Explorer.

    You can get around this by opening the file from within KeePass, or just click once to maximize after opening.

    cheers, Paul

     
  • T. Bug Reporter

    T. Bug Reporter - 2022-07-11

    and double-click the second .kdbx file which asks for the master password as well

    Do you use the same master password for both of these "files"? If so, it suggests these might actually be opening the same file. When you have both of these open, do you see a bar of tabs on the main screen, as in the attached screenshot?

    alters then automatically the geometry

    This also suggests that the things on your desktop may not actually be KDBX files, but rather shortcuts (to one or more KDBX files, or more likely to the KeePass program itself) that access different copies of the program, or different configuration files.

    There's nothing wrong with using KeePass this way, if you're comfortable with it, but you should probably clear up in your own mind exactly where your database files are, if for no other reason than to be sure they're getting properly backed up.

     
  • Paul

    Paul - 2022-07-11

    This also suggests that the things on your desktop may not actually be KDBX files, but rather shortcuts

    My testing is on a KDBX file running the same copy of KeePass - tabs for the databases.

    cheers, Paul

     
  • Dominik Reichl

    Dominik Reichl - 2022-07-11
    • status: open --> closed
     
  • Dominik Reichl

    Dominik Reichl - 2022-07-11

    Thanks for reporting this issue! I've fixed it now.

    Here's the latest development snapshot for testing:
    https://keepass.info/filepool/KeePass_220711.zip

    Best regards,
    Dominik

     

Log in to post a comment.

MongoDB Logo MongoDB