Number of items in [Visual Filters] menu
Number of items in [Visual Filters] menu
Is it possible to change the number of menu items shown in a given drop down? The number of Visual Filters menu appears to be limited to 16 custom entries, I have a very high resolution display and thus I have room for more vertical items.
If it is not possible to display more than 16, how do you access them from the menu? The edit window allows more entries, but I can't figure out how to access them.
Example below, I have several items after "Yellow" (Ants, Bees, Crickets) but they cannot be accessed from the menu:
If it is not possible to display more than 16, how do you access them from the menu? The edit window allows more entries, but I can't figure out how to access them.
Example below, I have several items after "Yellow" (Ants, Bees, Crickets) but they cannot be accessed from the menu:
- Attachments
-
- VisualFilters.png (35.72 KiB) Viewed 3228 times
Re: Number of items in [Visual Filters] menu
Anyone have any ideas? @Don, seems almost like a bug or oversight that the menu editor allows more than 16 entries but the menu doesn't offer a way to get to any after the 16th? Maybe I am missing something obvious?
Re: Number of items in [Visual Filters] menu
Was hoping the "Minor bug fixes and enhancements." release note for 18.10.0003 was going to address this, but the issue persists. I think this is actually a bug, since the editor allows adding more than 16 items, but you cannot access them in any way from the menu, the items beyond 16 are useless. Instant filter is great, but in a list of 5000 items, that doesn't really help to make the view manageable, this is where visual filters shines. Don, please consider providing a way to allow the context menu to show more than 16 entries --- or provide an elipses ("...") menu item to pop a submenu, etc. so you can get to these inaccessible entries. thanks.
-
- Posts: 2341
- Joined: 04 Jan 2010 14:27
- Location: Pasárgada (eu vou!)
Re: Number of items in [Visual Filters] menu
A quick look into the issue and script tech tells me this could be circumvented, more or less reproducing the same menu at least when it comes to the described issue.
Interested?
Interested?
New User's Ref. Guide and Quick Setup Guide can help a bit! Check XYplorer Resources Index for many useful links!
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...
Re: Number of items in [Visual Filters] menu
I am, thank you. I'd definitely like Don's take on it, as it seems if there's a hard limit to the number of entries AND that you can't access items in excess of that limit, that the entry form for adding items should not allow exceeding the limit. I'd also suspect that if we look around, there may be other custom entry forms with similar behavior.
That said, if you have a workaround until/unless Don has input (pun intended) then yes, I'd like to test that.
That said, if you have a workaround until/unless Don has input (pun intended) then yes, I'd like to test that.
Re: Number of items in [Visual Filters] menu
Too lazy to recreate the full menu. But this would show you all
visual filters above 16 in a popup menu...
visual filters above 16 in a popup menu...
Code: Select all
$tmpSettings = "%TEMP%\~xysettings.ini";
savesettings 1, $tmpSettings;
$count = getkey("Count", "mruVisualFilter", $tmpSettings);
if ($count > 16) {
$filters = getsectionlist("mruVisualFilter", $tmpSettings);
// Remove Count + the first 16 entries
$filters = regexreplace($filters, "^([0-9]|1[0-6]|Count)=.*\r?\n");
// Remove the prefix
$filters = regexreplace($filters, "^\d+=");
// Unquote the items
$filters = regexreplace($filters, "^[""]|[""]$");
}
$filter = popupmenu($filters, , , , , , <crlf>, "<::>");
if ($filter) { filter $filter, 1; }
One of my scripts helped you out? Please donate via Paypal
Re: Number of items in [Visual Filters] menu
Thanks @highend, this works well to popup a context menu with the "missing" extra entries...
Do you think it's possible to somehow merge this into the existing context menu? Ideally, to add this dynamic popup as the "17th" entry under the fixed list? I think, this would be the most optimal implementation second only to having the number of items itself configurable.
Do you think it's possible to somehow merge this into the existing context menu? Ideally, to add this dynamic popup as the "17th" entry under the fixed list? I think, this would be the most optimal implementation second only to having the number of items itself configurable.
Re: Number of items in [Visual Filters] menu
You can't modify XY's internal context menus, so no, not possible
Ofc you could recreate the full menu with all filters above 16 as a plus,
as a user script but I'm confident that Don will lift the current limitation
so it would be a lot of effort that would (probably) only last for a very
limited time...
Ofc you could recreate the full menu with all filters above 16 as a plus,
as a user script but I'm confident that Don will lift the current limitation
so it would be a lot of effort that would (probably) only last for a very
limited time...
One of my scripts helped you out? Please donate via Paypal
Re: Number of items in [Visual Filters] menu
Greetings,
Suggestion:
If there are more than 16 items in a menu drop-down list; when you reach the bottom of the list the entire list could scroll until the end of the list is reached. doc
Suggestion:
If there are more than 16 items in a menu drop-down list; when you reach the bottom of the list the entire list could scroll until the end of the list is reached. doc
Retired Hollywood Video Engr
[WinX Home amd64] [XYplorer 20.80.0000]
[WinX Home amd64] [XYplorer 20.80.0000]
-
- Site Admin
- Posts: 60598
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Number of items in [Visual Filters] menu
I'll make it adaptive to screen resolution.
FAQ | XY News RSS | XY Twitter
Re: Number of items in [Visual Filters] menu
thanksadmin wrote:I'll make it adaptive to screen resolution.
Re: Number of items in [Visual Filters] menu
Just noticed I am now seeing more than 16 entries, not sure when you found time to fit this in, but thanks Don!
-
- Site Admin
- Posts: 60598
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Number of items in [Visual Filters] menu
I did it on 20170729, but forgot to add to the change log.
FAQ | XY News RSS | XY Twitter