Maybe a bit power tricky?

Things you’d like to miss in the future...
Forum rules
:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:

:info: 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%).

:info: 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.

:info: When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".

:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:
Post Reply
RalphM
Posts: 2092
Joined: 27 Jan 2005 23:38
Location: Cairns, Australia

Maybe a bit power tricky?

Post by RalphM »

Hi Don

Welcome back after your vacation, hope you had a relaxing time.

Code: Select all

v6.10.0069 - 29.07.07 18:01 
    + Find Files: now, you can click the label "Mode:" to cycle the name 
      pattern prefixes: [none], :, >. Just a little, more or less hidden, 
      power user trick for mousies.
Nice power trick, but it gets a bit tricky if you don't cycle through all the modes, 'cos the dropdown disappears for all but standard modes.
Intentional?
Ralph :)
(OS: W11 25H2 Home x64 - XY: Current x64 beta - Office 2024 64-bit - Display: 1920x1080 @ 125%)

admin
Site Admin
Posts: 66431
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Maybe a bit power tricky?

Post by admin »

RalphM wrote:Intentional?
Yes! The dropdown disappears because with the prefix set, the dropdown is powerless, since the prefix by definition overwrites the dropdown.

jacky
XYwiki Master
Posts: 3106
Joined: 23 Aug 2005 22:25
Location: France
Contact:

Post by jacky »

No but there's a problem here, maybe two.

- You assume that the dropdown is on Standard. Have it on say RegExp and then click to cycle: you'll get boolean (prefix), regexp (prefix) and regexp again (dropdown)

- Also, when I do that with "RegExp" on dropdown, whenever I click to cycle from regexp (dropdown) to boolean, the name field is being changed to the first item on MRU, according that there's one that matches

eg. I have "*.php" on Name, chose RegExp on dropdown. Then I click to go on Boolean, and the Name field is set to my first corresponding MRU item, which is ":*.php or *.htm"
Proud XYplorer Fanatic

admin
Site Admin
Posts: 66431
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post by admin »

jacky wrote:No but there's a problem here, maybe two.

- You assume that the dropdown is on Standard. Have it on say RegExp and then click to cycle: you'll get boolean (prefix), regexp (prefix) and regexp again (dropdown)

- Also, when I do that with "RegExp" on dropdown, whenever I click to cycle from regexp (dropdown) to boolean, the name field is being changed to the first item on MRU, according that there's one that matches

eg. I have "*.php" on Name, chose RegExp on dropdown. Then I click to go on Boolean, and the Name field is set to my first corresponding MRU item, which is ":*.php or *.htm"
The click trick is meant to quickly change the prefix *after* you have typed/selected the pattern.

jacky
XYwiki Master
Posts: 3106
Joined: 23 Aug 2005 22:25
Location: France
Contact:

Post by jacky »

admin wrote:The click trick is meant to quickly change the prefix *after* you have typed/selected the pattern.
hmm ok, but it's still described as "cycle through modes" so I would assume it would put the dropdown back on Standard...

And the second thing is a bug IMO: I type "*.php" as pattern as then, after, use the click to activate boolean --> It becomes ":*.php or *.htm" !! Why did my pattern got changed?? I did not want that. So what that my dropdown wasn't on "Standard"?
Proud XYplorer Fanatic

admin
Site Admin
Posts: 66431
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post by admin »

jacky wrote:
admin wrote:The click trick is meant to quickly change the prefix *after* you have typed/selected the pattern.
hmm ok, but it's still described as "cycle through modes" so I would assume it would put the dropdown back on Standard...
No, it is described as "cycle the name pattern prefixes" :P
jacky wrote:And the second thing is a bug IMO: I type "*.php" as pattern as then, after, use the click to activate boolean --> It becomes ":*.php or *.htm" !! Why did my pattern got changed?? I did not want that. So what that my dropdown wasn't on "Standard"?
:evil: Indeed. Hey, it's not my fault ( :roll: ) -- it's the stupid behavior of VB's dropdown control (aka ComboBox). One day a write my own... The grotesque truth is: when the ComboBox font is changed (which happens when switching to/from RegExp mode) then it automatically sets the text to a matching item from the MRU list, HUH?!? Yes it does... Anyway, I found a way to work around this by setting the item twice! MS sometimes forces you to do strange things...

Post Reply