Menu

v2.40 no longer sync result visible

2018-11-12
2018-12-24
  • Hans Harder

    Hans Harder - 2018-11-12

    Since I upgraded to 2.40, I don't see a popup anymore when it is syncing using a trigger.
    Is there a way to see if the trigger has been activated and if syncing was successfull ...

    Trigger Properties: enabled, initially on
    Event: Opened database file
    Condition: remote host pingable
    Action: synchronise active database with a file

     
  • wellread1

    wellread1 - 2018-11-12

    As of version 2.40 the status dialog is no longer displayed. Progress saving during synchronization is displayed in the lower right corner of the main KeePass window. See https://keepass.info/news/n180910_2.40.html (second item under improvements).

     
  • Hans Harder

    Hans Harder - 2018-11-13

    Only if you do a manual synchronize with recent entry, it states "Synchronization completed successfully"

    But when the program is started and the trigger was started (I hope) the lower right corner only shows 'Ready'
    No indication if the sync was started or if it was successful or not.

     
  • wellread1

    wellread1 - 2018-11-13

    That sounds like your sync trigger is not executing. My sync triggers display the sychronization message. Check the date modified of the sync target database. The date modified time stamp will reflect the date of the most recent successful save (a save occurs with each successful synchronization).

    Note: Triggers that depend on "User interface state updated" event are no longer supported as of KeePass 2.39. Users should use the "Time - Periodic" event instead. If you don't know which trigger contained "User interface state updated" event you can find it as described in https://sourceforge.net/p/keepass/discussion/329220/thread/cc139360/#33df.

     
  • Hans Harder

    Hans Harder - 2018-11-14

    The trigger is not being executed.
    I changed the trigger to run once, and after stopping and starting keepass it was not turned off.

    tried it with events:
    Event: Opened database file
    Event: Application started and ready

    Both are not being executed.
    So far I can tell both are not "User interface state updated" dependent

    The only trigger that now is working is: Saved database file
    Both triggers use same condition and action, made sure that it matched by copy/paste the xml content. The application started and ready does not work and the saved database file works.

    so I am puzzled.

     
  • Paul

    Paul - 2018-11-15

    Add a messagebox to the trigger to check it works.
    You can paste the trigger here for us to test. Select the trigger > Tools > Copy selected triggers...

    cheers, Paul

     
  • Hans Harder

    Hans Harder - 2018-11-16

    That messagebox worked... So the trigger is executed,
    what I see is happening, is that messagebox appears, click ok, and then keepass window appears.
    Status bar then shows ' Ready'
    I think the message "synchronization completed successfully' if overwritten by Ready before the window appears.

    I see the same think happening when I do the save.
    If I put a messagebox at the end of the sync trigger on save, when the messagebox appears, the status of the main window shows the sync result message, when I click ok, I see a quick bar on the right hand appear and disappear and then the status is rewritten with 'Ready'

    So without the messagebox I can not see that the sync has been done.

     
  • Matthias

    Matthias - 2018-12-13

    Hello,

    I have also noticed the change in the Change Log. Frankly speaking, I am not very happy with that change

    When starting up KeePass, I sync my database with a remote location (using a trigger), which takes some 5 seconds. With v2.40, after starting up KeePass, I see "nothing" for those 5sec until the main window comes up and I always wonder whether my double-click action to start up KeePass was successful or not...

    Is this really the desired behavior?

    If so, what was the motivation for this change?

    Your feedback is highly appreciated.

    Regards,
    Matthias

     
  • Paul

    Paul - 2018-12-13

    To fix this issue.
    https://sourceforge.net/p/keepass/bugs/1685/

    cheers, Paul

     
  • wellread1

    wellread1 - 2018-12-13

    With v2.40, after starting up KeePass, I see "nothing" for those 5sec until the main window comes up and I always wonder whether my double-click action to start up KeePass was successful or not...

    I think I see what you are describing.

    In KeePass 2.40 synchronization progress is superimposed on the KeePass task bar icon. However, if "Start minimized and locked" is unchecked in Tools>Options>Advanced(tab)>Start and Exit(section) the task bar icon is not updated until the KeePass window opens. If possible the KeePass task bar icon should be dispkayed and updated regardless of the "Start minimized and lock" setting.

     

    Last edit: wellread1 2018-12-13
  • Matthias

    Matthias - 2018-12-14

    Thank you very much for your responses.

    I can confirm that "Start minimized and locked" has been unchecked, so that the tray icon did not show any synchronization progress.

    I have decided to set <showimportstatusdialog>True</showimportstatusdialog> in the UI section of KeePass.config, which restores the progress dialog successfully.

    Your support is highly appreciated.

     
  • Dominik Reichl

    Dominik Reichl - 2018-12-24

    At this point of time the main window isn't constructed completely yet and thus there isn't a task bar item for it. I could imagine creating a fake task bar item, but this might result in other problems.

    Instead, I've now added code such that the status dialog is always displayed in this situation. So, when starting KeePass, the status can be seen in the dialog, and later it can be seen in the main window and the task bar item (i.e. no regression with respect to bug 1685).

    It's normal that the status bar displays 'Ready.' when the main window is displayed for the first time (there may be other operations that finished; showing 'Ready.' is a reasonable behavior). If you see the status dialog and no error, you can assume that no error occured.

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

    Thanks and best regards,
    Dominik

     

Log in to post a comment.

MongoDB Logo MongoDB