View Single Post
  #5 (permalink)  
Old October 5th, 2003
jum's Avatar
jum jum is offline
Latest svn User
 
Join Date: April 6th, 2002
Location: Germany
Posts: 174
jum is flying high
Default

Quote:
Originally posted by stief
Clicking the close box of an inactive search tab sometimes closes the active search tab. Just tried several times, and have seen this before.

OS 10.2.8; official LW 3.6.1 beta

Anyone else?
Me. I just looked into the code for the reason, and it is a race condition in the logic that determines which panel to delete if you click the box. It just kills the active tab, which may not be switched to yet if you click the close box of an inactive tab. I will work to fix this. For open sourcers, the methods killSearch and killSearchAtIndex should be removed and only a method with a ResultPanel argument should exist to kill a search panel.