gkk created FLEX-34461:
--------------------------
Summary: Scrollbar mouse wheel don't work in Safari 7 and Mac OSX
10.9
Key: FLEX-34461
URL: https://issues.apache.org/jira/browse/FLEX-34461
Project: Apache Flex
Issue Type: Bug
Components: Spark: ScrollBar
Affects Versions: Apache Flex 4.12.0
Environment: Safari 7.0.5, OSX 10.9.4, SDK 4.12
Reporter: gkk
I recently upgraded to Max OSX 10.9 (Mavericks) that includes Safari 7 and
observed scrollbar mouse wheel movements don't have any effect on the
scrollbar. Previously I used Mac OSX 10.6 (Snow Leopard) and Safari 5 and
things worked fine.
To test, simply use Safari 7 with any Flex application that includes a spark
scrollbar. Try moving the scroller using the mouse wheel. Nothing happens. Now
test the same application in Chrome or Firefox, and things work as expected.
I'll include a sample application below that includes a spark scrollbar, but
any application with a scrollbar should work similarly.
Here's an example Flex app you can access online:
http://www.adobe.com/devnet-apps/flex/samples/flex4_sparkinc/spark_inc.html
I found this bug case:
https://bugbase.adobe.com/index.cfm?event=bug&id=3302758
posted years ago. I thought someone would have found a workaround by now, but I
posted on a question of the Flex User Forum and didn't receive any feedback,
which makes me wonder how developers address Safari in their applications. Do
they just tell their customers the app doesn't work with Safari 6 and above?
Or, is there a workaround? Is there any update in the status of this bug in the
last couple years? If anyone has experience with this, please enter a comment.
I tested Flash Player 12 debug and the latest Flash Player 14 non-debug and
both behave similarly.
I haven't tested MX scrollbar, but suspect it may also have this bug.
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
minWidth="600" minHeight="600">
<fx:Declarations>
<fx:String id="sampleText">Lorem Ipsum is the standard dummy
text of the typesetting industry.</fx:String>
</fx:Declarations>
<s:VGroup horizontalAlign="left" paddingLeft="30" paddingTop="30">
<s:Label text="1. Run in Safari browser version 7 on Mac OSX
10.9 (for example)."/>
<s:Label text="2. Move mouse scroll wheel and observe scrollbar
is not effected."/>
<s:Label text="3. Repeat in Firefox or Chrome and observe
scrollbar moves as expected."/>
<s:DataGrid id="dg1">
<s:columns>
<s:ArrayList>
<s:GridColumn dataField="value"
headerText="Column 1" width="200"/>
<s:GridColumn dataField="value"
headerText="Column 2" width="200"/>
</s:ArrayList>
</s:columns>
<s:ArrayCollection>
<s:DataItem value="{sampleText}"/>
<s:DataItem value="{sampleText}"/>
<s:DataItem value="{sampleText}"/>
<s:DataItem value="{sampleText}"/>
<s:DataItem value="{sampleText}"/>
<s:DataItem value="{sampleText}"/>
<s:DataItem value="{sampleText}"/>
<s:DataItem value="{sampleText}"/>
<s:DataItem value="{sampleText}"/>
<s:DataItem value="{sampleText}"/>
<s:DataItem value="{sampleText}"/>
<s:DataItem value="{sampleText}"/>
<s:DataItem value="{sampleText}"/>
</s:ArrayCollection>
</s:DataGrid>
</s:VGroup>
</s:Application>
--
This message was sent by Atlassian JIRA
(v6.2#6252)