Filter bug
Forum rules
READ THIS AND DO IT!!!
Please include the following information:
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
READ THIS AND DO IT!!!
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).
-
Gandolf
Filter bug
Show all files. Pick a file and "Filter by Selected Extension(s)". It shows only files with that extension. Now click on "Filter by Selected Extension(s)" and it shows all files. I think it should not change the display.
-
admin
- Site Admin
- Posts: 66431
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Filter bug
This is a feature. If the same filter is set again it works like a toggle on/off.Gandolf wrote:Show all files. Pick a file and "Filter by Selected Extension(s)". It shows only files with that extension. Now click on "Filter by Selected Extension(s)" and it shows all files. I think it should not change the display.
-
Gandolf
O.K. I can accept that it is a toggle and don't mind it working that way, although I'm not convinced it is logical.
However, in that case (at the risk of starting another discussion) is there some way to change the description of what it does to make it more obvious?
"Toggle Filter by Selected Extension(s)" perhaps?
It would also appear that it is not a common known feature since I can't see it mentioned in the help file or the Wiki.
However, in that case (at the risk of starting another discussion) is there some way to change the description of what it does to make it more obvious?
"Toggle Filter by Selected Extension(s)" perhaps?
It would also appear that it is not a common known feature since I can't see it mentioned in the help file or the Wiki.
-
admin
- Site Admin
- Posts: 66431
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
The toggle is just a little (but very useful!) service in case you do something otherwise completely useless: set a filter that is already set. In all other cases there is no toggle hence the caption should not be changed.Gandolf wrote:O.K. I can accept that it is a toggle and don't mind it working that way, although I'm not convinced it is logical.
However, in that case (at the risk of starting another discussion) is there some way to change the description of what it does to make it more obvious?
"Toggle Filter by Selected Extension(s)" perhaps?
Without this toggle-service: Why would you repeat the same filter again, anyway? Or: What did you expect to happen?
-
Gandolf
Now that I've started to examine further I'm not convinced it is useful, and I can see a problem with the toggle action that I don't like.admin wrote:The toggle is just a little (but very useful!) service in case you do something otherwise completely useless: set a filter that is already set...
A large number of files are displayed.
They are filtered to show only JPG's but because a lot of tabs are open I can see that a filter is set, but not what it is.
I select "Filter by Selected Extension(s)". Nothing changes in the visible list of files, because of the sort order the names of the non-JPG files are off the screen. I know the indication in the tab header changes and the status bar information changes, but the list appears to be the same. I have Filtered by Selected Extension so I don't really expect the filter to have been cleared.
If I now select all the files and delete them everything would be deleted, not just the JPG's.
This is similar to what prompted me to report it as a bug except that originally because of the file names I did see a change in the list of files.
I would expect nothing to happen, the same as if I apply a filter that is already applied.admin wrote:...What did you expect to happen?
-
jacky
- XYwiki Master
- Posts: 3106
- Joined: 23 Aug 2005 22:25
- Location: France
- Contact:
I'd agree with Gandolf here, this doesn't seem logical to me that setting a VF for currently selected extension would actually remove the current VF! Doesn't matter if it was the same one.Gandolf wrote:I would expect nothing to happen, the same as if I apply a filter that is already applied.admin wrote:...What did you expect to happen?
As he said, at times one might wanna apply a VF even though that VF is actually already applied, just because it can't be seen on Tabs and you wanna make sure the right VF is set (or you didn't even checked and forgot a VF was already set, you just wanted to set it up)
Besides, this is actually already how it works everywhere else when setting a VF, it sets it, or does nothing if it's already there: "Set a VF", Go to, AB, Catalog....
So having this only feature works differently really sounds unexpected to me, too.
Proud XYplorer Fanatic
-
j_c_hallgren
- XY Blog Master
- Posts: 5826
- Joined: 02 Jan 2006 19:34
- Location: So. Chatham MA/Clearwater FL
- Contact:
But if we wanted to toggle the VF, wouldn't we be using THAT command instead? The blue down arrow icon on toolbar or Cntl+Shft+J keys, right?
I'm with jacky and Gandolf on this...if I do the same filter cmd again, I'd expect no changes to occur...
I'm with jacky and Gandolf on this...if I do the same filter cmd again, I'd expect no changes to occur...
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.
-
admin
- Site Admin
- Posts: 66431
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Okay, I'm convinced. I should/could have known better before because I've always been against smartness in software:
Code: Select all
v5.40.0029 - 23.11.06 12:49
+ Added a smart (sorry!) toggle to "Filter by Selected Extension(s)"
[Ctrl+Alt+J]: if the current VF is exactly the same as the new one
would be, VF is turned off. So using [Ctrl+Alt+J] two times
brings you back to unfiltered view.
XYplorer Beta Club