Is this a bug,the history menu shows a lot of items

Discussion related to "Everything" 1.5 Alpha.
Post Reply
vsub
Posts: 455
Joined: Sat Nov 12, 2011 11:51 am

Is this a bug,the history menu shows a lot of items

Post by vsub »

28 right now making the menu very long and it also shows a lot of duplicates including (Empty)
Version 1.5.0.1282a (x64)
Attachments
2021-11-07_125906.jpg
2021-11-07_125906.jpg (77.88 KiB) Viewed 2738 times
void
Developer
Posts: 16428
Joined: Fri Oct 16, 2009 11:31 pm

Re: Is this a bug,the history menu shows a lot of items

Post by void »

This is the expected behavior.

Each search where an action is performed is added to the 'navigation history'.
There can be duplicates (not consecutive duplicates)
(empty) is an empty search.

For example, searching for a,b,c,a,b,c will show the history:
c
b
a
b
c
a



Is a visible limit needed here? (there is an internal visible limit of 1000)

I know the stock menus don't handle really long lists very well.
Implementing my own mousewheel-scrollable menus is on my TODO list.
Post Reply