keepassxreboot / keepassxc

KeePassXC is a cross-platform community-driven port of the Windows application “Keepass Password Safe”.
https://keepassxc.org/
Other
20.01k stars 1.42k forks source link

Clicking "abort" on the "Unsaved changes" Dialog causes dataloss #11000

Open thomasfrobieter opened 4 days ago

thomasfrobieter commented 4 days ago

Overview

When KeepassXC is open with unsaved changes and the OS (Fedora) the screen is locked (or anything else triggers a Database close), a warning dialog appears (translated from German): "You are editing an entry, do you really want to discard changes and lock?" a) "Close without saving" b) "cancel"

Clicking "cancel" immediatly locks the database. Affter unlocking, the changes are gone forever.

Steps to Reproduce

  1. Open a database entry, change the password without saving
  2. Lock the OS
  3. Unlock the OS
  4. See the warning message on Keepass
  5. Click cancel
  6. => Changes gone, old Password

Expected Behavior

Actual Behavior

Context

KeePassXC - Version 2.7.8 Revision: f6757d3

Qt 5.15.13 Diagnosemodus ist deaktiviert.

Betriebssystem: Fedora Linux 39 (Workstation Edition) CPU-Architektur: x86_64 Kernel: linux 6.8.8-1.surface.fc39.x86_64

Aktivierte Erweiterungen:

Kryptographische Bibliotheken:

Operating System: Linux Desktop Env: Gnome Windowing System: Wayland

droidmonkey commented 4 days ago

I cannot replicate this

https://github.com/keepassxreboot/keepassxc/assets/2809491/bea08a22-8dc2-4837-af11-a7afe2850369

thomasfrobieter commented 3 days ago

Tried it multiple times with the same result. I will try to capture a video later!

Jonathan White @.***> schrieb am Sa., 29. Juni 2024, 00:34:

I cannot replicate this

https://github.com/keepassxreboot/keepassxc/assets/2809491/bea08a22-8dc2-4837-af11-a7afe2850369

— Reply to this email directly, view it on GitHub https://github.com/keepassxreboot/keepassxc/issues/11000#issuecomment-2197736302, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA67JGL5IPQVVJC3PQZDBZ3ZJXQGZAVCNFSM6AAAAABKCMAKU6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJXG4ZTMMZQGI . You are receiving this because you authored the thread.Message ID: @.***>