flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Justin Mclean (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FLEX-34017) DataGroup#drawBackground called before valid content size available
Date Fri, 27 Dec 2013 22:09:50 GMT

     [ https://issues.apache.org/jira/browse/FLEX-34017?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Justin Mclean updated FLEX-34017:
---------------------------------

    Labels: DataGroup contentSize easytest enableMouseWhereTransparent scrolling  (was: DataGroup
contentSize enableMouseWhereTransparent scrolling)

> DataGroup#drawBackground called before valid content size available
> -------------------------------------------------------------------
>
>                 Key: FLEX-34017
>                 URL: https://issues.apache.org/jira/browse/FLEX-34017
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Spark: DataGroup
>    Affects Versions: Apache Flex 4.11.0
>            Reporter: Maxim Jurat
>              Labels: DataGroup, contentSize, easytest, enableMouseWhereTransparent, scrolling
>
> DataGroup call drawBackground before layout setup valid content size. This cause wrong
mouseEnabledWhereTransparent behaviour when scrolling.
> Compile this:
> <?xml version="1.0"?>
> <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:local="*">
>     <s:DataGroup x="5" y="5" width="100" height="100" mouseEnabledWhereTransparent="true"
>         mouseWheel="trace(event)" id="dataGroup"
>         itemRenderer="spark.skins.spark.DefaultItemRenderer">
>         <s:layout>
>             <s:VerticalLayout clipAndEnableScrolling="true"/>
>         </s:layout>
>         <s:dataProvider>
>             <s:ArrayList>
>                 <fx:String>1</fx:String>
>                 <fx:String>2</fx:String>
>                 <fx:String>3</fx:String>
>                 <fx:String>4</fx:String>
>                 <fx:String>5</fx:String>
>                 <fx:String>6</fx:String>
>                 <fx:String>7</fx:String>
>                 <fx:String>8</fx:String>
>                 <fx:String>9</fx:String>
>                 <fx:String>0</fx:String>
>                 <fx:String>10</fx:String>
>                 <fx:String>11</fx:String>
>                 <fx:String>12</fx:String>
>                 <fx:String>13</fx:String>
>                 <fx:String>14</fx:String>
>                 <fx:String>15</fx:String>
>                 <fx:String>16</fx:String>
>                 <fx:String>17</fx:String>
>                 <fx:String>18</fx:String>
>                 <fx:String>19</fx:String>
>                 <fx:String>20</fx:String>
>                 <fx:String>21</fx:String>
>                 <fx:String>22</fx:String>
>                 <fx:String>23</fx:String>
>                 <fx:String>24</fx:String>
>             </s:ArrayList>
>         </s:dataProvider>
>     </s:DataGroup>
>     <s:VScrollBar viewport="{dataGroup}" x="105" y="5" height="100"/>
> </s:Application>
> Move mouse on dataGroup (on empty space) and scroll with mouse wheel. Traces appear.
Then scroll dataGroup to bottom and repeat scrolling with mouse wheel. There are no new traces,
but they should be.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message