[ 
https://issues.apache.org/jira/browse/FLEX-34461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14092564#comment-14092564
 ] 

Justin Mclean edited comment on FLEX-34461 at 8/11/14 8:32 AM:
---------------------------------------------------------------

Check on Apache Flex 4.6 and the issue still exists - so it's unlikely to be a 
regression issue. Looks to be a Safari bug so not sure what we can do about it.

Here's another sample that does't work in Safari but does in other browsers.

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml";
        layout="vertical"
        verticalAlign="middle"
        backgroundColor="white"
        creationComplete="init()">
 
    <mx:Script>
        <![CDATA[
            private function init():void {
                systemManager.addEventListener(MouseEvent.MOUSE_WHEEL, 
doMouseWheel);
            }
 
            private function doMouseWheel(evt:MouseEvent):void {
                num += evt.delta;
            }
        ]]>
    </mx:Script>
 
    <mx:Number id="num">0</mx:Number>
 
    <mx:NumberFormatter id="numberFormatter" />
 
    <mx:ApplicationControlBar dock="true">
        <mx:Label text="Click the stage and scroll mouse wheel to begin." />
    </mx:ApplicationControlBar>
 
    <mx:Label text="{numberFormatter.format(num)}" fontSize="96" />
 
</mx:Application>


was (Author: jmclean):
Check on Apache Flex 4.6 and the issue still exists - so it's unlikely to be a 
regression issue. Looks to be a Safari bug so not sure what we can do about it.

Here's another sample that does't work in Safari but does in other browsers.

<code>
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml";
        layout="vertical"
        verticalAlign="middle"
        backgroundColor="white"
        creationComplete="init()">
 
    <mx:Script>
        <![CDATA[
            private function init():void {
                systemManager.addEventListener(MouseEvent.MOUSE_WHEEL, 
doMouseWheel);
            }
 
            private function doMouseWheel(evt:MouseEvent):void {
                num += evt.delta;
            }
        ]]>
    </mx:Script>
 
    <mx:Number id="num">0</mx:Number>
 
    <mx:NumberFormatter id="numberFormatter" />
 
    <mx:ApplicationControlBar dock="true">
        <mx:Label text="Click the stage and scroll mouse wheel to begin." />
    </mx:ApplicationControlBar>
 
    <mx:Label text="{numberFormatter.format(num)}" fontSize="96" />
 
</mx:Application>
</code>

> 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: Adobe Flex SDK 4.6 (Release), 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. How 
> do 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)

Reply via email to