Project

General

Profile

Bug #1482

ReviseQuery cause morpho menu and button dupliate

Added by Jing Tao over 18 years ago. Updated over 18 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
morpho - query
Target version:
Start date:
04/13/2004
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
1482

Description

Here is the steps to repoduce the bug:
1) do a search.
2) In search result frame, click ReviseSearch button or menu.
3) In the new query dialog, change the query title to different name.
4) Click search butoon in query dialog.
5) After search is done, the search frame will have duplicate buttons and
menus.

History

#1 Updated by Jing Tao over 18 years ago

The bug is fixed. When morpho do revise search, if you changed the query title,
it will update frame title too.
In updateWindow method in UIController, it call another method registerWindow.
registerWindow not only puts the updated window into window list, but also will
copy a gui action to the frame too. This will cause the menu item and button
duplicated. I created a private method and it will hanlde put windows into
window list and it will be called by updateWindow(it not call registerWindow
again) and registerWindow. GUI action would be duplicated.

Jing

#2 Updated by Redmine Admin over 9 years ago

Original Bugzilla ID was 1482

Also available in: Atom PDF