-
-
Notifications
You must be signed in to change notification settings - Fork 473
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fileselector widget: click on folder doesn't update the file list #1186
Comments
There is sadly no way to make this happen otherwise we would have done it when designing the widget. We do not have access to double click events. |
Ah, that's true, a single click on the folder will populate the directory string. Anyhow, it seems like you could just put a watcher on the directory string to trigger an update of the file list. Are you avoiding that because if you typed in the directory string it would trigger with every letter typed? |
I don't doubt you've thought this through already, I'm just curious :) |
No I'm avoiding this because it would mean you couldn't select folders (I realize the widget is called FileSelector but it also works for directories). It'd also be super easy to do accidentally which would be annoying. |
Got it. Thanks! |
Could the down arrow key be next to the >> buttons. With heavily nested directories, it feels a bit tedious to drag the mouse to the top right of the widget then back to the center left of the widget to select directory |
@philippjfr How about allowing the enter/return key instead of click to navigate to the folder ? Is that possible ? |
ALL software version info
panel 0.9.3
Description of expected behavior and the observed behavior
When navigating the folders in the left hand side of the FileSelector widget, I can double click on a folder. This triggers the displayed directory string to be updated to the folder I just clicked on. However, the file list does not update. To update the file list, I have to click the "down" arrow.
Reading through the docs, it seems this is expected behavior, but it doesn't feel natural to the user. So maybe this is a feature request instead of a bug report? It seems like this is just missing a param.depends that will trigger a file list update when the directory is changed.
Complete, minimal, self-contained example code that reproduces the issue
The text was updated successfully, but these errors were encountered: