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:
3QQPcr
Posts: 50
Joined: 01 Feb 2022 04:52

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

Post by 3QQPcr »

Version: XYplorer Pro 22.70.0101
OS: Win 10 x64

Bug Description: On double click within the address bar, the active directory in focus does not become selected unless there's an absence of punctuation.
For example, if C:\Test\Downloads was in focus, double clicking within the address bar fully highlights "Downloads" as expected.
See following example images for further illustration.

Current Version, Bugged Behavior Example: https://i.imgur.com/zzaxH0p.png
Additional Bugged Behavior Example: C:\Test\XXX_XXXXXXXXXXX-XXXXX_XX_XX_XXXXXXXXX_(XXX_XXXXXXXX_XXX_XXXXXXXXXX)-XXX-XXXX-XXX [nothing before "-XXX-XXXX-XXX" highlights after double click]
Past Version, Working Behavior Example: https://i.imgur.com/lk3gV4r.png

I've looked through the settings and changelogs but cannot find anything relevant to this "feature" and I'm unsure exactly when this stopped completely working. Maybe early v22.xx builds.
I'm unsure what the exact conditions are for the address bar to completely select the active directory name in full, but only partial highlighting works as any "complex" directory naming is introduced.
I feel like the expected behavior should be to always highlight the entire active directory name that's in focus, but if it's not please let me know.
Let me know if further explanation and demonstration is required.
Thank you in advance.

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's probably this change you are talking about:

Code: Select all

v22.40.0001 - 2021-10-27 19:00
    % Word Break Style: Improved the automatic word boundary recognition (on 
      double-click, Ctrl+Arrow, Ctrl+BackSpace) in various text boxes including 
      Address Bar and script boxes.
Sure, word boundaries are not folder name boundaries, of course. But to me this is an improvement. If I need the current folder name in the clipboard, there are other ways in XY.

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 08:26 If I need the current folder name in the clipboard, there are other ways in XY.
What are the best (read: quickest) ways to copy current dir to clipboard?

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 »

File | To Clipboard | Item Name(s) (Ctrl+Shift+P)

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 16:26 File | To Clipboard | Item Name(s) (Ctrl+Shift+P)
Unfortunately, this means more work to copy the desired directory name with minimal effort as possible.
For your advice to work, I would need to constantly move up one directory level then manually highlight the folder name I want copied rather than being able to simply double click address bar + CTRL+C to copy the folder name of the current active working directory.

Do you have any other suggestions for how to copy the active directory name that's in focus?
Sure, you can manually select the entire name in address bar, but for users who require full location addresses enabled, this isn't ideal for situations where the ability to copy (then paste) the active directory name is going to be a repeated action.
Having to ensure the cursor's precise selection of the folder name is definitely a bottleneck when it means having to slow down in order to avoid over-selecting characters.

Would it be possible to implement the "old style" usability pre-22.40.0001 if CTRL key is held? As someone who misses the old functionality, it seems like a good compromise since it would satisfy any users who miss the previous ability to highlight the entire directory-in-focus-name on address bar double click but without losing the "improved automatic word boundary recognition" that's been added.
Last edited by 3QQPcr on 01 Feb 2022 19:34, edited 1 time in total.

jupe
Posts: 3462
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

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

Post by jupe »

Right click the folder in the breadcrumb bar, select Copy Name.

highend
Posts: 14993
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

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

Post by highend »

Use a script for a user defined command (and assign a keyboard shortcut to it), a button, a catalog entry...

copytext <curpath>;

Then it shouldn't matter what you've focused or if you have a file selected or not...
One of my scripts helped you out? Please donate via Paypal

jupe
Posts: 3462
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

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

Post by jupe »

I think for what the OP is trying to do, it would rather be copytext <curfolder>;

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 »

jupe wrote: 01 Feb 2022 19:24 Right click the folder in the breadcrumb bar, select Copy Name.
highend wrote: 01 Feb 2022 19:26 Use a script for a user defined command (and assign a keyboard shortcut to it), a button, a catalog entry...
Very good solutions that I had not considered.
XYplorer's rich feature set still continues to impress me even after years of use.

These shortcuts will definitely be utilized if my aforementioned "CTRL + double-click in address bar to select active working directory name" request goes ignored.
Personally, the ability to double click the address bar then use the "copy" keyboard shortcut always felt quicker and more natural than having to solely rely on mouse actions to copy folder names but I suppose I may need to just get used to these alternate methods, which hopefully will become just as natural.

Thank you both.
Last edited by 3QQPcr on 01 Feb 2022 19:56, edited 2 times in total.

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 »

jupe wrote: 01 Feb 2022 19:33 I think for what the OP is trying to do, it would rather be copytext <curfolder>;
Correct, thanks for the clarification.

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 »

3QQPcr wrote: 01 Feb 2022 19:21 Would it be possible to implement the "old style" usability pre-22.40.0001 if CTRL key is held? As someone who misses the old functionality, it seems like a good compromise since it would satisfy any users who miss the previous ability to highlight the entire directory-in-focus-name on address bar double click but without losing the "improved automatic word boundary recognition" that's been added.
I like this typical "XY-thinking" but in this case it's unlikely to happen for technical reasons.

However, a) since Explorer does it your way and b) if more users want it, I would just change address bar word boundary recognition to only recognize \ and : as boundaries.

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 19:48 I would just change address bar word boundary recognition to only recognize \ and : as boundaries.
For me, this would be great. I appreciate the consideration.
Would it be possible to implement this as an optional setting? You could even take it a step further and allow user defined boundaries ...
Or does it need to be either-or for technical reasons?

Out of curiosity, can you cite a current scenario where the "improved word boundary recognition" is better now than it was pre-22.40.0001?
As someone who hasn't noticed any advantage to the update, I'm just wondering what situations have benefited from it.

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 »

Well, it wasn't discussed here in the forum, so what happened is that I just went to abuse my infinite power did it for myself: I'm personally more interested in words than in folder names, so the new way suits me.

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 19:58 I'm personally more interested in words than in folder names, so the new way suits me.
Not a problem, I was genuinely curious about why the change occurred and if it might also benefit me in some situations that I haven't considered since I don't think I've ever encountered an instance of this.
3QQPcr wrote: 01 Feb 2022 19:54 Would it be possible to implement this as an optional setting? You could even take it a step further and allow user defined boundaries ...
Or does it need to be either-or for technical reasons?
Quoted for visibility.

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 »

allow user defined boundaries ... okay, I like that... I'll see... :cup:

Post Reply