bufanliu / flexlib

Automatically exported from code.google.com/p/flexlib
0 stars 0 forks source link

SuperTabNavigator not receiving MOUSE_UP event on inactive tab clicks (drag mode stays on) #353

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a SuperTabNavigator with several tabs and Drag & Drop Enabled
2. Click an inactive tab once (Down and Up)
3. Move the mouse

What is the expected output? What do you see instead?

I expect that since I only clicked the inactive tab it will become the active 
tab but drag mode to be disabled (because of the MOUSE_UP). What happens is the 
inactive tab becomes the active tab, but the Tab is in Drag mode (99% of the 
time). Users who swap tabs frequently will find this a nuisance.

What version of the product are you using? On what operating system?

I'm using Mac OS X 10.6.7, Firefox v4.0 with Adobe Flash 10.2.153.1
The application is built with Flex 3.5 using Flash Builder 4.

Please provide any additional information below.

The problem seems to only exist on Firefox, and only certain applications built 
using Flex 3.5.

For instance, a sample application available on Doug McCune's site 
(http://dougmccune.com/blog/2007/02/07/quest-for-the-perfect-tabnavigator-part-3
-with-source/) works perfectly with Firefox, but when the source is downloaded 
and compiled using Flex 3.5 on Flash Builder 4 the problem is present. 

Using Safari this is not an issue both for my own Application (flexlib 2.5) and 
for the application built from Doug McCune's example source.

The same is true for my any app using the Flexlib library - the demo/example 
available here on GoogleCode does not suffer from the problem, but the most 
basic of examples (attached) does as soon as it's compiled.

Original issue reported on code.google.com by danny.fa...@gmail.com on 4 Apr 2011 at 12:16

Attachments: