Skip to content
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

FileChooser: paste file name to text field with non-empty selection #262

Closed
code-disaster opened this issue Jul 27, 2017 · 1 comment
Closed
Labels

Comments

@code-disaster
Copy link
Contributor

tested with VisUI 1.2.5

  • open FileChooser in save mode
  • select an existing item (per UI, or as we do, with setSelectedFiles())
  • use CTRL+V to paste a new file name into text field
  • hit ENTER or click OK
  • observe file overwrite warning

I believe this happens because selectedFileTextField doesn't listen for ChangeEvents, so on c&p it doesn't clear the existing selection.

@kotcrab
Copy link
Owner

kotcrab commented Aug 24, 2017

Thanks for the report! Sorry it took so long but I must've missed GitHub notification.

This also affected open mode in similar way (not updated file list was passed to listeners).

Also fixed update issue with file name suggestion menu in ec72b41

@kotcrab kotcrab added the ui label Aug 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants