PR# 13134 Violation of precondition `visible' of {SD_CONTENT}.set_focus

Problem Report Summary
Submitter: prestoat2000
Category: EiffelStudio
Priority: Medium
Date: 2007/06/13
Class: Bug
Severity: Serious
Number: 13134
Release: 6.0.69054
Confidential: No
Status: Analyzed
Responsible: alexk_es
Environment: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.8.0.7) Gecko/20060915 Firefox/1.5.0.7 Solaris 9 on SPARC
Synopsis: Violation of precondition `visible' of {SD_CONTENT}.set_focus

Description
Typing ctrl+Tab, closing a tool displayed in the resulting popup window and
then selecting the tool that was just closed from the ctrl+Tab popup
causes a crash with violation of precondition `visible' of {SD_CONTENT}.set_focus.
To Reproduce
Delete ~/.es_wkbench directory.
Start workbench estudio and open existing project.
Move mouse over Clusters window.
Type ctrl+Tab.  Popup window showing available tools comes up and stays
   displayed.
Click on "X" in Clusters window to close it.
Move mouse into Ctrl+Tab popup window and click on Clusters icon.
Estudio crashes with attached trace.
Problem Report Interactions
From:prestoat2000    Date:2011/06/20    Download   
Still reproducible with 7.0.86747, but only on CDE.  Cannot reproduce it
under JDS.

From:prestoat2000    Date:2007/11/13    Status: Analyzed    Download   
This problem is not fixed in rev 71123 on Solaris 9 on SPARC.
Reopening report.

Another way to reproduce this same crash is to type Ctrl+Tab
and then click on a the name of a tool in the resulting
popup window which is in Auto Hide mode and which
is not currently visible (e.g., the Metrics tool in the
default configuration).  I just did this on rev 77123 and
got the same or a very similar exception trace.


From:larryl    Date:2007/07/13    Status: Closed    Download   
Hi, David,

This bug is fixed in revision#69408.

Thanks for your report.

Larry

From:prestoat2000    Date:2007/06/15    Download   
You said:

   But on your desktop system, I guess the focus out actions have not 
   been called on the ctrl + tab dialog.

That is correct.  On my Solaris 9 SPARC host under CDE, when I type ctrl+Tab
the dialog appears.  If the mouse pointer is not inside the ctrl+Tab dialog
when it appears, then when I release the Ctrl key the dialog does not disappear.
In contrast, on my Solaris 10 x86 host under JDS, once I release the Ctrl key
Ctrl+Tab dialog disappears whether the mouse is inside that dialog or not.

From:larryl    Date:2007/06/14    Download   
I can't reproduce this problem on my Solaris 10 CDE or JDE. The reproduce AVI video is attached.

The key of this problem is:

After displayed ctrl + tab dialog, if the dialog lost focus (this is the time when I press the close button in Cluster/Features tool), the ctrl + tab dialog will disappear before my pointer button release. But on your desktop system, I guess the focus out actions have not been called on the ctrl + tab dialog.

Maybe this is a problem of Solaris window manager. I'll go on investigation.

Attachment: bug#13134.7z     Size:637832
From:prestoat2000    Date:2007/06/13    Download   
Attachments for problem report #13134

Attachment: stack72.txt     Size:5084