In JMeter GUI, when searching in the tree using Ctrl+F and the SearchTreeDialog, the dialog disappears behind JMeter JFrame if focus is tranfered to the JFrame for some reason (by clicking in the tree for example). This is because the SearchTreeDialog has no parent.
Created attachment 36454 [details] Add parent to SearchTreeDialog Suggested patch for fixing. Tested on Linux with Java 1.8.0_121. Set a parent on SearchTreeDialog from SearchTreeCommand whose code had to be enhanced to retrieve the master JFrame that is not directly exposed.
Thanks for the great description and patch. The fix will be included in the next version of JMeter. One minor thing, instanceof is true only if the object is not null. Date: Fri Feb 22 19:49:30 2019 New Revision: 1854171 URL: http://svn.apache.org/viewvc?rev=1854171&view=rev Log: SearchTreeDialog disappears behind master JFrame Contributed by Benoit Vatan (benoit.vatan at gmail.com) Bugzilla Id: 63201 Modified: jmeter/trunk/src/core/org/apache/jmeter/gui/action/SearchTreeCommand.java jmeter/trunk/src/core/org/apache/jmeter/gui/action/SearchTreeDialog.java jmeter/trunk/xdocs/changes.xml
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/5019