PR# 12623 Moving tool to another zone and then selecting it from Show List popup causes crash
Problem Report Summary
Submitter: prestoat2000
Category: EiffelStudio
Priority: Medium
Date: 2007/05/07
Class: Bug
Severity: Serious
Number: 12623
Release: 6.0.68140
Confidential: No
Status: Closed
Responsible: larryl
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: Moving tool to another zone and then selecting it from Show List popup causes crash
Description
Clicking on Show List button, moving a tool listed in the resulting popup window to another zone and then selecting that tool from the popup causes estudio to crash.
To Reproduce
Compile sample graphical application. Click on Show List button in zone containing Class, etc tools. Move mouse to avoid resulting popup so it doesn't disappear and move the Class tool to the zone with Clusters tool. Click on Class in Show List popup, which is still there. Estudio crashes with attached trace.
Problem Report Interactions
It should be fixed in rev#69427.
We finally manage to see what is wrong. Everyone here is using the more traditional focusing behavior, that is to say a window has focus if and only if you click on it. To reproduce your problem, you need to have the window manager behavior which set the focus on the window below you. Once you have this, the issue is very easy to reproduce. The problem is that the show list dialog will never receive the focus out action because it never gets the focus at the first place.
Same behavior on rev 69201 on solaris-sparc-64 under CDE on Solaris 9. Popup window does not disappear when I click on Class tab and start to move it. I'm using GTK+2.6.10.
I just tried under Solaris 9 and CDE and it disappeared. I've used the 64-bit version though. Could you try with the 64-bit version to see if it behaves correctly? Note that on Solaris Sparc we use GTK 2.6.9 for our 64-bit version. For the 32-bit version we use 2.4.4.
> The popup will disappear as soon as you click somewhere else, so in theory as > soon as you start moving the class tool, the popup will disappear. On Solaris 9 on SPARC under CDE when I click on the Class tab and start moving it, the popup does not disappear. I think (not sure) that it does disappear on Solaris 10 on x86 under JDS. This problem might be specific to either CDE or SPARC (more likely the former).
Can you still reproduce the problem? We haven't been able to reproduce the problem, but possibly because the following is not clear: << Move mouse to avoid resulting popup so it doesn't disappear and move the Class tool to the zone with Clusters tool. >> The popup will disappear as soon as you click somewhere else, so in theory as soon as you start moving the class tool, the popup will disappear.