file-commander
file-commander copied to clipboard
Typing folder name while navigating files does not work as intended?
Normally when you type a file/folder name while navigating, it selects a closest matching file. However directories are taken into square brackets, therefore for a directory name like [Pictures]
typing pic
does not work, but typing [pic
does. This is probably not what the user wants, I expected square brackets to be merely decorations that denote a directory.
That's definitely a bug, but more importantly, this quick filtering / quick search feature doesn't work at all, I'll look into this. Some Qt event handling hackery is probably required. Or, a different implementation altogether.
I see that I have misunderstood the question originally, you weren't talking about the Ctrl+F feature. Quick navigation by typing is also broken in more ways than one - it doesn't scroll to the selected out if it is off-screen. I don't know if it's a QTreeView
issue or if my code broke it, but I suspect the former. And yes, since the QTreeView only sees the bracketed name, that's what it relies on for navigation. I don't know if there's a way to make this standard Qt feature work, or if I would have to re-implement it manually.