https://bugzilla.xfce.org/show_bug.cgi?id=16210

            Bug ID: 16210
           Summary: Alt+F2 history should wipe duplicates
    Classification: Xfce Core
           Product: Xfce4-appfinder
           Version: 4.14.0
          Hardware: PC (x86_64)
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Medium
         Component: General
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: Xfce 4.14

My ~/.cache/xfce4/xfce4-appfinder/history cumulates duplicates over time. For
example, one entry is like "bash ~/path/to/helper.sh", which appears several
times in the cache file. As a result it is also shown as match several times
during "Alt+F2" usage.

I think the concept of bash "export HISTCONTROL=ignoreboth:erasedups" should be
implemented, just keep the last entry and wipe duplicate strings. Maybe leading
and trailing spaces should be trimmed as well before deciding on duplicates and
saving them to the 'history' file.

I'm running git.xfce.org#master since spring this year, I think this was always
the case.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Xfce-bugs mailing list
[email protected]
https://mail.xfce.org/mailman/listinfo/xfce-bugs

Reply via email to