Add folder > Browse for folder dialog vs. keyboard

General discussion related to "Everything".
Post Reply
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Add folder > Browse for folder dialog vs. keyboard

Post by NotNull »

Mostly a FYI, but a bit of a suggestion:

The "Browse For Folder dialog" that comes up after Menu:Tools > Options > Folders > [Add] button is not controllable with the keyboard.
(although the Folder: suggests otherwise)
therube
Posts: 4977
Joined: Thu Sep 03, 2009 6:48 pm

Re: Add folder > Browse for folder dialog vs. keyboard

Post by therube »

(Not quite sure what you're meaning? Anyhow...

XP (so what you see may be different).

Isn't that just a standard Windows dialog?

Tree, can use the keyboard, but it first needs a little nudge to place focus.
After that, +, to expand, & then alpha keys to move along.

Folder: Will "fill out" as you type, or you can paste a path in there.)
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: Add folder > Browse for folder dialog vs. keyboard

Post by NotNull »

@void took great effort in making all parts of Everything controllable by keyboard. This dialog - and other "Browse for Folder" dialogs - stand out.
It is a standard Windows dialog, so not much you can do about it (other than using a different dailog type that will probably cause issues on your WinXP system).

It took me 3 years to stumble upon this, so not a major issue, I would say ...


BTW: Instead of "+" you can also use cursor left/right to collapse/expand a tree node
Stamimail
Posts: 1122
Joined: Sat Aug 31, 2013 9:05 pm

Re: Add folder > Browse for folder dialog vs. keyboard

Post by Stamimail »

Yes, you are right.
A workaround for this, is double Alt+Tab, and then this dialog-box has the focus.
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: Add folder > Browse for folder dialog vs. keyboard

Post by NotNull »

Stamimail wrote: Fri Jun 19, 2020 2:25 pm A workaround for this, is double Alt+Tab, and then this dialog-box has the focus.
That works. Thanks!
void
Developer
Posts: 16745
Joined: Fri Oct 16, 2009 11:31 pm

Re: Add folder > Browse for folder dialog vs. keyboard

Post by void »

It's an issue with Windows.
The OK button has focus when the browse for folder dialog is initially shown.
The OK button is then disabled as there is no valid selection and focus is lost. Ideally you would want the focus to move to the next control..

I'll look into focusing the tree view on initialization.

Thanks for the bug report.
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: Add folder > Browse for folder dialog vs. keyboard

Post by NotNull »

Thanks for your research / explanation!
Post Reply