Avoid changing file picker selection when typing#330
Conversation
DHowett
left a comment
There was a problem hiding this comment.
I liked how it updated the picker but it makes sense that it shouldn't in this case
|
I think we ideally need a more robust/elegant filepicker overall. Not sure how that would look though. |
|
OK, I don't understand this change, to be honest; but now I see this has introduced a regression (#347), I will ask my question. @lhecker, in the issue #329 I pointed out the line that adds the When I was writing the issue, I tried removing it - the rest of the file picker functionality (i.e. auto-selecting a matching file) seemed to be unaffected. I just didn't feel confident suggesting removing the functionality, in case you wanted to keep it for directories whose names don't conflict. |
That line doesn't append a
The Windows file picker has exactly this behavior: When you click (or otherwise focus) a file in the file list, it'll update the "File name" field accordingly. So, the bug you found doesn't occur due to that line, but rather due to incorrect state tracking inside the list view UI component. |
Closes #329