! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Alt+F2 history should wipe duplicates
Status:
RESOLVED: DUPLICATE
Product:
Xfce4-appfinder
Component:
General

Comments

Description olaf 2019-11-21 11:22:40 CET
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.
Comment 1 Andre Miranda editbugs 2020-04-11 21:54:21 CEST

*** This bug has been marked as a duplicate of bug 15767 ***

Bug #16210

Reported by:
olaf
Reported on: 2019-11-21
Last modified on: 2020-04-11

People

Assignee:
Xfce Bug Triage
CC List:
1 user

Version

Version:
4.14.0

Attachments

Additional information