Double clicking address bar doesn't completely select active directory in certain conditions

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:
notabot
Posts: 60
Joined: 24 Feb 2021 12:34

Re: Double clicking address bar doesn't completely select active directory in certain conditions

Post by notabot »

Usually a triple-click instead of the double-click should select the entire line too.
(untested)

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

Re: Double clicking address bar doesn't completely select active directory in certain conditions

Post by admin »

Testing would have saved you the post. :)

3QQPcr
Posts: 50
Joined: 01 Feb 2022 04:52

Re: Double clicking address bar doesn't completely select active directory in certain conditions

Post by 3QQPcr »

admin wrote: 01 Feb 2022 21:08 allow user defined boundaries ... okay, I like that... I'll see... :cup:
If the ability to set address bar word boundary recognition to "only recognize \ and : as boundaries", consequently restoring the functionality I'm looking for, then this would be a great addition IMO.

Thank you for taking my request into consideration.

3QQPcr
Posts: 50
Joined: 01 Feb 2022 04:52

Re: Double clicking address bar doesn't completely select active directory in certain conditions

Post by 3QQPcr »

notabot wrote: 01 Feb 2022 21:36 Usually a triple-click instead of the double-click should select the entire line too.
Right, but unfortunately as you mentioned this selects the entire folder path and not JUST the current active directory that's in focus, which is what I was requesting be reinstituted.
See: https://imgur.com/lk3gV4r

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

Re: Double clicking address bar doesn't completely select active directory in certain conditions

Post by admin »

BTW, I forgot to mention one more reason why it is the way it is now: the address bar in XY contains not only paths but also scripts, and here you clearly need word boundaries, not component boundaries.

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

Re: Double clicking address bar doesn't completely select active directory in certain conditions

Post by admin »

Rethought it and decided to make it more user-friendly:

Code: Select all

    + Address Bar: Added toggle "Selection by Path Components" to the icon's right-click 
      menu. Tick it to recognize only path component separators (\/?|) as word boundaries 
      when double-clicking the Address Bar contents, when moving the cursor by 
      Ctrl+Arrows, or when deleting words by Ctrl+Backspace.
      The new factory default is ON (since File Explorer does it, too).

3QQPcr
Posts: 50
Joined: 01 Feb 2022 04:52

Re: Double clicking address bar doesn't completely select active directory in certain conditions

Post by 3QQPcr »

admin wrote: 02 Feb 2022 10:06 Rethought it and decided to make it more user-friendly:
Excellent work, thanks again for your time and effort regarding this.

3QQPcr
Posts: 50
Joined: 01 Feb 2022 04:52

Re: Double clicking address bar doesn't completely select active directory in certain conditions

Post by 3QQPcr »

admin wrote: 02 Feb 2022 10:06 Rethought it and decided to make it more user-friendly:
Thanks again for implementing this. Now XYplorer seems to allow me to select Address Bar contents in the manner I was previously able to.

Although, I was experimenting with toggling the setting on and off but I was unable to notice any change in behavior regardless of the setting being enabled or not.
If the setting is disabled, shouldn't the Address Bar behave in the post-v22.40.0001 manner that suited you?
I was under the impression that implementing the "Selection by Path Components" option would allow both pre and post-v22.40.0001 behavior when double clicking within the Address Bar and selecting contents. Or am I mistaken?

I just wanted to bring this to your attention in case it's a bug and if not, I'd like to request a brief demo/explanation for how the Address Bar should behave when this setting is enabled and disabled.

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

Re: Double clicking address bar doesn't completely select active directory in certain conditions

Post by admin »

It works well here exactly as you described. Do you have an example that does not work as expected?

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

Re: Double clicking address bar doesn't completely select active directory in certain conditions

Post by admin »

Works well here. Do you have an example that does not work as described?

3QQPcr
Posts: 50
Joined: 01 Feb 2022 04:52

Re: Double clicking address bar doesn't completely select active directory in certain conditions

Post by 3QQPcr »

admin wrote: 10 Feb 2022 16:11 Works well here. Do you have an example that does not work as described?
I tested a few more directory naming conventions and from what I can tell you are correct, I now see that there is different behavior for some directory names depending on whether or not the setting is enabled or disabled.

Although, one naming convention example I thought previously behaved differently (before v22.80.0010, but post-v22.40.0001) on Address Bar double click is: Test_Directory_Here-Word_Words-1234.

I only mention this because directories named as such were not being selected in full before the latest update (if I'm not mistaken), but now this directory naming convention seems to be highlighted in full on Address Bar double click regardless of whether "Selection by Path Components" is enabled or not.
I'm certainly not complaining since this was the behavior I was requesting be re-implemented, but I also thought it was worth bringing to your attention if in fact the expected behavior should be different, with only partial directory names becoming selected on double click for similar folder names if the setting is disabled.

If I am wrong in remembering how the previous versions behaved then disregard, but I am almost certain directories named "Test_Directory_Here-Word_Words-1234" were previously only being partially selected on Address Bar double click, which was what prompted my initial creation of this thread.
Let me know if this is not a clear explanation or if I've recalled past behavior inaccurately.

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

Re: Double clicking address bar doesn't completely select active directory in certain conditions

Post by admin »

You are right, I silently reduced the set of word breakers, and only you noted it. But now as you mentioned it I compared the word breaking to some other apps and decided to go back to the old larger set of word breakers. Thanks for the hint!

notabot
Posts: 60
Joined: 24 Feb 2021 12:34

Re: Double clicking address bar doesn't completely select active directory in certain conditions

Post by notabot »

admin wrote: 01 Feb 2022 22:06 Testing would have saved you the post. :)
Good point! :)
In the meantime I downloaded and installed XYplorer - that's why I didn't test - and it turns out I even misunderstood the question itself!
Sorry for wasting everyone's time ...

Post Reply