OpenBLCMM icon indicating copy to clipboard operation
OpenBLCMM copied to clipboard

Better UX when processing `getall` in OE -- mouse spinner, etc

Open apocalyptech opened this issue 1 year ago • 0 comments

Running a large getall, particularly when there are a lot of object links to format in the results window, can sort of hang the GUI for awhile while it works, unlike the fultext/refs search. When rewriting the Data Library I'd tried briefly to try and at least get the mouse icon to go into a "spinner" state so there's some visual feedback that something's happening, but it didn't work great, and if anything the user experience was worse.

I think the main issue is that getall probably isn't happening inside a SwingWorker like the more involved checks are, so the solution is probably to just rewrite that to use the same sort of framework as fulltext/refs.

There may be some other query types which could benefit from the same thing -- getall is just the one that I'd noticed while writing it.

apocalyptech avatar Jul 15 '23 05:07 apocalyptech