PR# 12549 Double-clicking on title bar of undocked toolbar activates button below click
Problem Report Summary
Submitter: prestoat2000
Category: EiffelStudio
Priority: Medium
Date: 2007/04/27
Class: Bug
Severity: Serious
Number: 12549
Release: 6.0.67948
Confidential: No
Status: Closed
Responsible: ted_eiffel
Environment: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.8.1.2) Gecko/20070225 Firefox/2.0.0.2
Solaris 10 on x86
Synopsis: Double-clicking on title bar of undocked toolbar activates button below click
Description
Undock the Project toolbar. Double click on the title bar of the undocked Project bar, at a point directly above the Compile button. Estudio responds as though I had clicked the Compile button and does a compilation. I assume this is a bug rather than a feature.
To Reproduce
Problem Report Interactions
This bug is fixed in revision#69432. Thanks for your report.
I investigated this problem. The reason should be slightly different behavior of enable_capture and disable_capture between Windows and Solaris. A pointer release on the title bar also triggers release actions on the tool bar button bellow, when the tool bar still keeps captured status. Commenting out the bodies of SD_TOOL_BAR.enable_capture and SD_TOOL_BAR.disable_capture, the problem is not reproducible any more.