Bug #4946
open
Look-ahead search freezes
Added by ben leinfelder over 14 years ago.
Updated almost 11 years ago.
Description
In the ontology browser, quick typing will render the popup useless.
My hunch is that it will go away when we stop searching the class descriptions.
This still isn't the speediest feature. The implementation is naive in that it reconstructs the entire tree from the ontology model after each letter is typed (or if a letter is deleted).
A better approach might be to keep a Map<node, path> where the nodes are the classnames and those are searched each time - if the node has a match, it is included (perhaps added in the case that we end up deleting a few letters and therefore loosening the search criteria).
We'd still be creating the tree each time, but not searching the ontology for sub/superclasses.
with the new[er] ontology palette, the look ahead searching might become less important. It's nearly impossible to get the cursor to stay in the field that "launches" the palette because it is brought to the front and receives focus. The search field that the palette provides does not do look-ahead searching and instead waits for you to hit enter/search button.
Original Bugzilla ID was 4946
- Target version changed from Unspecified to morpho-plugin-0.9.0
Also available in: Atom
PDF