Closed qpwo closed 4 months ago
I have cleaned up the operations in the file chooser dialog box to allow keyboard only operation. See short clip.
https://github.com/StefanSchippers/xschem/assets/69359491/733e32b5-f85a-4856-b1da-934a465382d8
Beautiful!
I swear it was working for me like your video a second ago, but now the file box is separate from the search box?? File box is focused -- maybe search box is supposed to be? I must have messed something up...
I separated the search pattern box from the file name box. So you can keep a search pattern and click files. Having these two things in one box was confusing. The search box does not get focus with the TAB key, but you can click in it and set a pattern to restrict displayed files.
Personally I use the search box way more often. But I'm sure you have your reasons!
(Maybe you could drop the radio in the bottom left btw?)
I can add the focus to the search when iterating with the TAb key. I thought it was disturbing. I am quite neutral about that :-)
@qpwo I have done the change: When opening the file load/insert dialog box the search entry is focused and text is selected. Will also take focus when iterating with the TAB key. Thank you.
Would be nice if the "File/Search" field was always focused (unless you are typing new dir I suppose)
(This would mirror behavior in some file explorers.)
Bonus request 1: If you're inserting symbol (rather than opening a file), then filtering to .sym should be the default.
Bonus request 2: The first result in the top-right could always be highlighted, so if you press enter then it's inserted (or the directory is opened)