Menu

#2210 Archive mode to disable Auto-Type

KeePass_1.x
closed
nobody
5
2021-06-09
2016-12-09
lwc
No

If you have multiple users for the same time, you might need to keep multiple entries. In order to avoid clashes, how about a way to select multiple entries and choose "archive", in order to disable their Auto-Type functionality?

The current alternative is to one by one and add some dummy word to their title.

Discussion

  • Paul

    Paul - 2016-12-09

    If you expire the entries they won't Auto-Type.
    Select several entries, right click, Modify All Selected.

    cheers, Paul

     
    • lwc

      lwc - 2016-12-09

      Interesting! Is it documented?
      But anyway, it will pose a problem with the "Immediately after opening a database"=>"Show expired entries (if any)" option.

       

      Last edit: lwc 2016-12-09
      • lwc

        lwc - 2017-01-24

        Are there any thoughts about this? As mentioned, Paul's idea clashes with another option.

        All it takes out of the devs is to add an extra checkbox - "archive" - then just don't use Auto-Type entries that have it checked. Alternatively, have a special group called "Archive" - then don't use Auto-Type for anything (including subgroups) under it.

         
  • Paul

    Paul - 2016-12-09

    I've not seen it in the documentation.

    cheers, Paul

     
  • Dominik Reichl

    Dominik Reichl - 2021-06-01
    • status: open --> closed
     
  • Dominik Reichl

    Dominik Reichl - 2021-06-01

    In KeePass 2.x, you can select multiple entries, open the entry dialog ('Edit Entry' command) and turn off the option 'Enable auto-type for this entry' (KeePass then turns off this option for all selected entries).

    I'm not planning to add such a function in KeePass 1.x.

    Thanks and best regards,
    Dominik

     
    • lwc

      lwc - 2021-06-01

      Nice! Can you clearly signal such entries for later knowledge? e.g. a disable icon, etc.

       
  • Dominik Reichl

    Dominik Reichl - 2021-06-01

    There currently is no way to see this directly in the main window, but you can search such entries: press Ctrl+F and search for the XPath expression //Entry/AutoType[Enabled = 'False']/.. (make sure that the option to search in 'History' is turned off); you can also save this as a search profile, if you wish.

    Best regards,
    Dominik

     
    • lwc

      lwc - 2021-06-01

      Understood. Are there any plans to add such an indication?
      What about signaling a Group (not actual entries) as in "everything in this group is not part of Enable auto-type for this entry"? Then it all takes is to put something in this group and once it moves to another Group it'll be auto typed again.

       
  • wellread1

    wellread1 - 2021-06-01

    You can disable Auto-Type for all entries in a group by editing the group's properties. In KeePass 2.48 right click on the group and select Edit group...>Auto-Type(tab) from the context menu. Change Auto-type for entries in this group: to Disabled. In earlier versions of KeePass this setting is in the Behavior tab of the Edit Group dialog.

     
    👍
    1

    Last edit: wellread1 2021-06-01
  • Dominik Reichl

    Dominik Reichl - 2021-06-03

    I've now added an optional 'Auto-Type - Enabled' main entry list column. It is turned off by default; it can be turned on in 'View' → 'Configure Columns'.

    A cell in this column can show one of the following values:

    • Yes
      Indicates that auto-type is enabled for this entry.
      Double-clicking the cell opens the entry dialog and switches to the 'Auto-Type' tab.
    • No (entry)
      Indicates that the entry's option 'Enable auto-type for this entry' is turned off.
      Double-clicking the cell opens the entry dialog and switches to the 'Auto-Type' tab.
    • No (group 'NAME')
      Indicates that a parent group (with name 'NAME') of the entry disables auto-type.
      Double-clicking the cell selects the parent group in question, opens the group dialog and switches to the 'Auto-Type' tab.

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

    Thanks and best regards,
    Dominik

     
    • lwc

      lwc - 2021-06-03

      Works great!!! I still think it should be a color though (maybe grayed out).
      If not, then at least make it there by default.

       

      Last edit: lwc 2021-06-03
  • T. Bug Reporter

    T. Bug Reporter - 2021-06-04

    Not the column I was hoping for. Any chance of getting a column where the actual Auto-Type strings can be seen and compared? (I realize that seeing all the Auto-Type sequences for an entry when multiple sequences are defined would be too much to expect, but since I don't use the multiple sequence feature, I'd be very happy to see just the one.)

     
  • Dominik Reichl

    Dominik Reichl - 2021-06-07

    Entries with auto-type disabled will not get a special color, for two reasons:

    • The user can specify arbitrary foreground and background colors for each entry (on the 'Properties' tab in the entry dialog). This conflicts with automatic coloring based on certain conditions. Users who are specifying colors wouldn't know whether an entry is colored due to an own definition or automatically due to some condition.
    • It isn't obvious what a color means. A gray color could mean that the entry has a weak password, that it's expired, that TCATO is turned off, that it's in the recycle bin, etc.

    Furthermore, I prefer the 'Auto-Type - Enabled' column to be hidden by default, because I think that the space for the default columns (title, user name, password, URL and notes) should be maximized by default; these are the most useful columns for most users.

    I've now added an optional 'Auto-Type - Sequences' column (turned off by default, can be turned on in 'View' → 'Configure Columns').

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

    Thanks and best regards,
    Dominik

     
    • lwc

      lwc - 2021-06-07

      In that case, what about a certain symbol/icon in addition to the standard icon?

       
    • T. Bug Reporter

      T. Bug Reporter - 2021-06-09

      Wonderful! I've already found and corrected several errors in my databases with this. (I apologize for not thanking you sooner, but I was away for several days.)

       
  • wellread1

    wellread1 - 2021-06-07

    Some comments on the new 'Auto-Type - Sequences' column:

    • Default/First potential sequence - When none of the 'An entry matches...' options are checked the default sequence is uninteresting. In this case, the first custom auto-type sequence is the first potential match.

    • The number of active unique keystroke sequences (or just unique sequences) is preferable to the quantity 'more'. The value of 'more' is difficult to understand. It appears to refer to the number of unique custom keystroke sequences that are also not the default keystroke sequence. I have attached a screenshot and sample entry that demonstrates the complexity of interpreting the 'more' value.

    • The total number of active sequences is more useful than the number of associations (custom sequences). In any case, the term 'custom' is preferable to 'association' because custom is already used.

    Taking into account the 'An entry matches...' options one might display the following

    1. The Default/First potential sequence
    2. The total number of sequences (total)
    3. The total number of active sequences (active)
    4. The number of active unique keystroke sequences (unique)

    Ignoring the 'An entry matches...' options one might display the following

    1. The Default sequence
    2. The total number of auto-type sequences (total) or
      total number of custom auto-type sequences (custom)
    3. The number of unique keystroke sequences (unique)
     
  • Dominik Reichl

    Dominik Reichl - 2021-06-07

    An icon cannot communicate information like No (group 'NAME'). If space is a problem, you could make the column smaller, such that only the first part ('Yes'/'No') is visible (the width of an icon is sufficient for that), and if you want to see the details, just hover over the value (such that a tooltip shows the whole value).

    A value in the 'Auto-Type - Sequence' column has the form 'DefaultSequence and M more (A association(s))'. The last part is present only if an association (target window and sequence) exists, and the middle part is present only if M ≥ 1.

    Showing only the default sequence could confuse some users when auto-type sends a different sequence due to an association. Therefore, the middle part is displayed (and given that the column name is 'Auto-Type - Sequences', I think it's clear that 'more' is short for 'more sequences').

    The last part is in parentheses, because it doesn't directly have something to do with the sequences. However, I think it helps to avoid confusing the number of (unique) sequences with the number of associations.

    I don't see what the matching options have to do with this. With the 'Perform Auto-Type' menu command, the currently selected entry is auto-typed into the previously focused window, for which no association needs to exist, i.e. the default sequence is always relevant.

    Thanks and best regards,
    Dominik

     
    • lwc

      lwc - 2021-06-08

      By icon I meant instead of the hidden column, like this:

       
  • wellread1

    wellread1 - 2021-06-07

    I don't see what the matching options have to do with this. With the 'Perform Auto-Type' menu command, the currently selected entry is auto-typed... the default sequence is always relevant.

    I see your point. I neglected to consider Perform Auto-Type because I never use it. If I haven't defined a matching custom auto-type sequence, I use KPEnchancedEntryView to auto-type field values.

    ...I think it helps to avoid confusing the number of (unique) sequences with the number of associations.

    I see the distinction you are making. However, the term 'association' will be somewhat unfamiliar to users. Though it is used in the documentation, I don't believe it is used anywhere in the KeePass program. More importantly, this usage is imprecise because there are more associations possible (via non-default options) than just the default entry title association and those defined in custom auto-type sequences. The term 'custom' or 'custom sequence(s)' is a good alternative because users will understand its meaning in the context of auto-type. 'Custom' or 'custom sequence(s)' can be omitted if there are no custom auto-type sequences defined.

    'More' is ambiguous unless the user understands that it means 'more unique' sequences. If the user understands the term 'more' then 'unique' should be equally understood. Unique is the more important aspect of this value (otherwise it is confusing). Also the unique value is easier to understand because the user does not have to add 1. Unique can be omitted unless U>1.

     

    Last edit: wellread1 2021-06-07
  • Dominik Reichl

    Dominik Reichl - 2021-06-09

    I'm not planning to add such an icon (because I don't see an advantage over the existing column).

    'Custom' could be confusing, because the default sequence can be customized, too.

    Adding 'unique' would indeed clarify the meaning of 'more', but I'd like to keep this short (because space already is somewhat limited due to a possibly long default sequence). Replacing 'more' by 'unique' is not an option, because it'd then be unclear whether the default sequence is counted.

    Thanks and best regards,
    Dominik

     
  • wellread1

    wellread1 - 2021-06-09

    I was about to suggest that double clicking on on 'Auto-Type Enabled' field open the Edit dialog to the Auto-Type tab when I discovered you had already implemented that! Cool!

     

Log in to post a comment.