Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-102755

KeePassXC does not read password from clipboard after locked out of inactivity

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P3: Somewhat important
    • None
    • 5.15.2
    • QPA: Wayland
    • None
    • Operating system: Fedora Linux 35 (KDE Plasma)
      CPU architecture: x86_64
      Kernel: linux 5.16.20-200.fc35.x86_64
      Windowing System: Wayland
    • Linux/Wayland

    Description

      As reported in the KeePassXC repository , KeePassXC doesn't work correctly due to a Qt bug when on Wayland.

      1. Overview

      KeePassXC fails to read anything from clipboard after it locks out of inactivity. Closing the application and reopening fixes it temporarily. The issue reappears after timeout. Manually typing the password in the input box works.

      1. Steps to Reproduce

      1. Open KeePassXC and select database to open.
      2. Enter database password and open it.
      3. Wait for the application to be locked out after designated timeout.
      4. Copy the database password from text file/password manager and paste in the input box.
      5. KeePassXC will not take any input and all options from the right-click context menu are greyed out. As it seems KeePassXC does not think anything is in the clipboard.
      6. Close the application and reopen it.
      7. Follow step 4, this time it will work.
      8. Wait for timeout again and repeat step 4, it will fail again.

      1. Expected Behavior

      KeePassXC should take password from clipboard even after it is locked.

      1. Actual Behavior

      KeePassXC does not take password if locked out after inactivity.

      1. Context

      KeePassXC is installed from the official Fedora repository. This issue is also reproducible in the AppImage. Initially I've thought the KDE clipboard manager klipper is doing this, but disabling klipper has no effect. The copied password can be pasted anywhere except KeePassXC, so I do not think it's a system issue.

      KeePassXC - Version 2.7.1
      Revision: 5916a8f

      Qt 5.15.2
      Debugging mode is disabled.

      Operating system: Fedora Linux 35 (KDE Plasma)
      CPU architecture: x86_64
      Kernel: linux 5.16.20-200.fc35.x86_64
      Windowing System: Wayland

      Enabled extensions:

      • Auto-Type
      • Browser Integration
      • SSH Agent
      • KeeShare
      • YubiKey
      • Secret Service Integration

      Cryptographic libraries:

      • Botan 2.18.2

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.graphics.and.multimedia Qt Graphics Team
            jirauser64085 user-7452a (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes