Table closure may remove a different table from display

Bug #127974 reported by Michael Banks
2
Affects Status Importance Assigned to Milestone
PyBridge
Fix Committed
Low
Michael Banks

Bug Description

Assume an open table named X. A table named Y can be opened, where X is a substring of Y. If Y is closed before X, then entry X in the table display will be removed, yet Y will remain. Although X still exists, it will not be visible to users, unless they log out and log back in.

Example: open table "abc", then open table "abcdef", then close table "abcdef". Note that "abc" disappears in main window table display.

This is due to substring matching in pybridge/ui/window_main.py: "if model.get_value(iter, 0) in user_data:". A similar bug may occur with user names and logouts.

This bug appears to be present in all PyBridge releases, and may be fixed by changing the 'in' keyword to '=='.

Revision history for this message
Michael Banks (michaelbanks) wrote :

This bug is now fixed in SVN trunk, revision 494.

Changed in pybridge:
assignee: nobody → michaelbanks
importance: Undecided → Low
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.