PR# 12484 Cannot refocus Clusters tool via shortcut

Problem Report Summary
Submitter: peter_gummer
Category: EiffelStudio
Priority: Medium
Date: 2007/04/16
Class: Bug
Severity: Non-critical
Number: 12484
Release: 6.0.6.7849
Confidential: No
Status: Closed
Responsible:
Environment: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3
Synopsis: Cannot refocus Clusters tool via shortcut

Description
If I open a class by hitting Enter on the class's name in the Clusters tool, the class opens in the Editor. Focus shifts from the Clusters tool to the Editor.

If I then type the keyboard shortcut for the Clusters tool, nothing happens. The Editor remains focussed.

The same problem occurs if I try the View| Tools | Clusters menu.

I can work around this bug by hitting Esc, followed by the Clusters shortcut.
To Reproduce

										
Problem Report Interactions
From:ted_eiffel    Date:2007/04/17    Download   
I fixed a metric tool focus problem. Hope that was the one you described. Thanks.

From:peter_gummer    Date:2007/04/17    Download   
I had the Metric tool floating on top of the main window. I was working in it, then I left it open like that for hours while I did other things outside EiffelStudio. Then I switched to EiffelStudio in order to close it, and I just happened to notice that the Metrics tool had the same problem.

So I'm not sure of the exact steps, but I'm sure it must be easy to reproduce.

From:ted_eiffel    Date:2007/04/17    Download   
I only fixed the problem in Cluster tool. But the fix might fix some similar problems.
For Metric tool, how did you reproduce this? So that I can check.

From:ted_eiffel    Date:2007/04/17    Status: Closed    Download   
It has been fixed.
Thanks for reporting.

From:peter_gummer    Date:2007/04/17    Download   
The same problem occurs with Metrics (Ctrl+Alt+M). Does it happen with all tools?