Skip to content

Attributes not searched by default? #4696

Closed
Closed
@TRSx80

Description

@TRSx80

First off I must thank you for all your work (and for sharing it, like civilized people!). I use keepassxc daily, it is probably one of my most used programs on GNU/Linux; I don't know what I would do without it. I really do feel obligated to throw you guys few dollars, and I will be doing so (probably recurring) once I am back to work. You certainly deserve it. For right now though, the very least I can do is let you know that the care you have taken, features implemented, etc. are greatly appreciated! 🍻

Overview

I would expect search to include searching attributes by default, however apparently it does not.

Today I could not find some data that was listed in an attribute, until I searched attribute field specifically (with attr:xxx). Which is an OK workaround (for now) but I don't think this should be the default search behavior.

If I had not spent some time digging into this today (only today in fact I learned about the expanded search options (like attr:, which are very nice btw! 🍻 )), I very likely would have missed the information I was looking for in my database completely (and perhaps then duplicated it somewhere else).

Therefore what I propose (and what this issue is about) is a change in the default behavior.

Steps to Reproduce

  1. Put cursor / focus in search field / bar (or press Ctrl-F).
  2. Type part of the attribute value I am looking for.
  3. Results get filtered down to an empty list (no result).

Note that my search options "Case sensitive" and "Limit search to selected group" are both un-checked. I also made sure I was in the root folder (even though that shouldn't matter, especially with these settings).

Expected Behavior

Find the information I am looking for.

Actual Behavior

No matching result comes up.

Unless I do attr:xxx in which case I get what I am looking for. But I do not feel this should be the default behaviour.

Context

I did a search for what I thought were relevant terms but did not find anything (apologies if I missed it).

I also read through some related issues as well as the related PR (among others) but I don't think these directly address this particular aspect.

KeePassXC - Version 2.4.3
Revision: 5d6ef0c

Qt 5.12.5
Debugging mode is disabled.

Operating system: Debian GNU/Linux bullseye/sid
CPU architecture: x86_64
Kernel: linux 5.4.0-4-amd64

Enabled extensions:

  • Auto-Type
  • Browser Integration
  • SSH Agent
  • KeeShare (only unsigned sharing)
  • YubiKey

Cryptographic libraries:
libgcrypt 1.8.5

Operating System: GNU/Linux
Desktop Env: XFCE / i3-gaps wm
Windowing System: X11

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions