Project

General

Profile

Actions

Bug #572

closed

butterfly still flaps after cancelling a revise search request

Added by Matt Jones over 22 years ago. Updated about 22 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
morpho - general
Target version:
Start date:
08/22/2002
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
572

Description

If you search for something, then click "Revise Search" to reopen the search
dialog, the butterfly starts flapping in the search results window. If you then
hit "Cancel" in the dialog, you are returned to the search window, but the
butterfly keeps on flapping forever. Need to turn it off.

Actions #1

Updated by Jing Tao about 22 years ago

In ReviseSearchCommand class, only after search started, the MorphoFrame will
be set busy. When it finished, it set busy false. So now, if you click revise
search button in a search reslut MorphoFrame, a query dialog will show. But
the butterfly in the search result MophoFrame wouldn't flap. So if you click
cancel button in query dialog, the butterfly wouldn't flap either. But if you
click search button, the butterfly will flap and it will stop when searh is
done.

By the way, in ReviseSearchCommand class, SwingWorker class was added. Now
search itself will be executed in another thread. It will improve Morpho's
responsibility.

Actions #2

Updated by Redmine Admin over 11 years ago

Original Bugzilla ID was 572

Actions

Also available in: Atom PDF